/* ==========================================================
   INGE DEPOT — LANDING PARA INSTALADORES
   Personaliza la marca desde las variables de :root.
   ========================================================== */

:root {
  --color-bg: #071426;
  --color-bg-2: #0c1f36;
  --color-surface: #ffffff;
  --color-soft: #f3f7fb;
  --color-text: #142033;
  --color-muted: #66758a;
  --color-primary: #1769ff;
  --color-primary-dark: #0c52d8;
  --color-accent: #18c786;
  --color-border: #dfe7f1;
  --color-white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(7, 20, 38, .08);
  --shadow-lg: 0 24px 60px rgba(7, 20, 38, .18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1220px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.7rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--color-muted);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  background: var(--color-white);
  color: var(--color-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Topbar */
.topbar {
  background: linear-gradient(120deg, rgba(23, 105, 255, .94), rgba(6, 37, 86, .96)),
    var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  font-size: .78rem;
}

.topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: .65rem;
}

.topbar p {
  margin: 0;
  color: inherit;
}

.topbar a {
  margin-left: auto;
  color: var(--color-white);
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 241, 0.8);

  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);

  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.header-main {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--color-white);
  background: linear-gradient(145deg, var(--color-primary), #54a8ff);
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(23, 105, 255, .25);
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.08rem;
}

.brand__text small {
  margin-top: .25rem;
  color: var(--color-muted);
  font-size: .7rem;
}

.product-search {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 52px;
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.product-search:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, .1);
}

.product-search input {
  min-width: 0;
  padding: 0 1.25rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
}

.product-search button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--color-primary);
}

.product-search svg,
.slider-arrow svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-action {
  font-size: .88rem;
  font-weight: 700;
}

.header-action--cart {
  padding: .65rem .95rem;
  color: var(--color-white);
  background: var(--color-bg);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: 12px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--color-text);
  transition: transform .25s, opacity .25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  border-top: 1px solid var(--color-border);
}

.main-nav__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: .88rem;
  font-weight: 700;
  color: #344054;
  transition: color .2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-primary);
}

.main-nav .nav-cta {
  margin-left: auto;
  color: var(--color-primary);
}

/* Buttons */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 14px 30px rgba(23, 105, 255, .28);
}

.button--primary:hover {
  background: var(--color-primary-dark);
}

.button--secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.button--outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: transparent;
}

.button--light {
  color: var(--color-bg);
  background: var(--color-white);
}

.button--whatsapp {
  color: var(--color-white);
  background: #18b96f;
}

.button--full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  background: var(--color-bg);
}

.hero-slider {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide__media,
.hero-slide__media img {
  width: 100%;
  height: 100%;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
}

.hero-slide__media img {
  object-fit: cover;
  object-position: center;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 31, .96) 0%, rgba(4, 16, 31, .82) 38%, rgba(4, 16, 31, .32) 70%, rgba(4, 16, 31, .15) 100%),
    linear-gradient(180deg, rgba(4, 16, 31, .02), rgba(4, 16, 31, .28));
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding-block: 70px 90px;
}

.hero-copy {
  width: min(680px, 58%);
  color: var(--color-white);
}

.hero-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-copy h1,
.hero-copy h2 {
  color: var(--color-white);
}

.hero-copy h2 {
  font-size: clamp(2.35rem, 5.4vw, 4.7rem);
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin-bottom: .85rem;
  color: #8fc4ff !important;
  font-size: .78rem !important;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--color-primary) !important;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.7rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(5, 31, 4, 0.4);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background .2s, transform .2s;
}

.slider-arrow:hover {
  background: rgba(23, 105, 255, .92);
  transform: translateY(-50%) scale(1.04);
}

.slider-arrow--prev {
  left: max(18px, calc((100vw - var(--container))/2 - 68px));
}

.slider-arrow--next {
  right: max(18px, calc((100vw - var(--container))/2 - 68px));
}

.slider-dots {
  position: absolute;
  z-index: 8;
  bottom: 30px;
  left: 50%;
  display: flex;
  gap: .55rem;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .48);
  border-radius: 999px;
  transition: width .25s, background .25s;
}

.slider-dots button.is-active {
  width: 34px;
  background: var(--color-white);
}

/* Trust bar */
.trust-strip {
  position: relative;
  z-index: 10;
  margin-top: -1px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.2rem;
  border-right: 1px solid var(--color-border);
}

.trust-grid article:first-child {
  border-left: 1px solid var(--color-border);
}

.trust-grid strong,
.trust-grid small {
  display: block;
}

.trust-grid strong {
  font-size: .93rem;
}

.trust-grid small {
  margin-top: .2rem;
  color: var(--color-muted);
  font-size: .76rem;
}

.icon-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  color: var(--color-primary);
  background: rgba(23, 105, 255, .09);
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 900;
}

/* General sections */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section--dark {
  color: var(--color-white);
  background:
    radial-gradient(circle at 85% 10%, rgba(23, 105, 255, .22), transparent 30%),
    var(--color-bg);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, .7);
}

.section--soft {
  background: var(--color-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading>p {
  margin: 0;
}

.section-heading--center {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-heading--center p {
  margin-inline: auto;
}

.text-link {
  justify-self: end;
  color: var(--color-primary);
  font-weight: 800;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.category-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transform: translateZ(0);
}

.category-card--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 596px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.category-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(4, 16, 31, .88) 100%);
}

.category-card__content {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: .35rem;
  padding: 1.35rem;
  color: var(--color-white);
}

.category-card__content small {
  color: rgba(255, 255, 255, .7);
}

.category-card__content strong {
  font-size: 1.2rem;
}

.category-card__content span {
  color: #a9d1ff;
  font-size: .84rem;
  font-weight: 800;
}

.category-card:hover img {
  transform: scale(1.045);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem 1.4rem;
  padding: 0;
  margin: 1.7rem 0 2rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(255, 255, 255, .82);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 900;
}

.about-panel {
  display: grid;
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-panel__stat {
  display: grid;
  gap: .2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
}

.about-panel__stat strong {
  color: var(--color-white);
  font-size: 2rem;
}

.about-panel__stat span {
  color: rgba(255, 255, 255, .68);
}

.about-panel>p {
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: .8rem;
}

/* Solutions */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.solution-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.solution-card>div {
  padding: 1.35rem;
}

.solution-card small,
.article-card small,
.product-card small {
  color: var(--color-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .68rem;
}

.solution-card h3 {
  margin: .45rem 0 .65rem;
}

.solution-card p {
  font-size: .92rem;
}

.solution-card span {
  color: var(--color-primary);
  font-weight: 800;
  font-size: .87rem;
}

/* Brands */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .8rem;
}

.brand-grid a {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #344054;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 900;
  letter-spacing: .04em;
  transition: color .2s, border-color .2s, transform .2s;
}

.brand-grid a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.product-card>a {
  display: block;
  padding: 1.1rem;
  background: var(--color-soft);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-card__body {
  padding: 1.25rem;
}

.product-card h3 {
  margin: .45rem 0 .6rem;
  min-height: 2.6em;
}

.product-card p {
  min-height: 3em;
  font-size: .88rem;
}

.product-card__meta {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin: 1rem 0;
  padding-top: .9rem;
  border-top: 1px solid var(--color-border);
}

.product-card__meta strong {
  color: var(--color-text);
  font-size: .9rem;
}

.product-card__meta span {
  color: #087c51;
  font-size: .74rem;
  font-weight: 800;
}

/* Project guide */
.project-guide {
  color: var(--color-white);
  background:
    radial-gradient(circle at 10% 20%, rgba(24, 199, 134, .15), transparent 27%),
    radial-gradient(circle at 86% 80%, rgba(23, 105, 255, .25), transparent 30%),
    var(--color-bg);
}

.project-guide__intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.project-guide h2,
.project-guide h3 {
  color: var(--color-white);
}

.project-guide p {
  color: rgba(255, 255, 255, .7);
}

.project-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
}

.project-guide__grid article {
  padding: 1.6rem;
  background: rgba(255, 255, 255, .05);
}

.project-guide__grid article>span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1.25rem;
  color: #8fc4ff;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 900;
}

.project-guide__grid a {
  color: #8fc4ff;
  font-size: .86rem;
  font-weight: 800;
}

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.article-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card>div {
  padding: 1.35rem;
}

.article-card h3 {
  margin: .5rem 0 .75rem;
}

.article-card p {
  font-size: .9rem;
}

.article-card div>a {
  color: var(--color-primary);
  font-weight: 800;
  font-size: .86rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 30px;
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  text-align: left;
  color: var(--color-text);
  border: 0;
  background: transparent;
  font-weight: 800;
}

.faq-item button span:last-child {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.faq-answer {
  padding: 0 2.5rem 1.2rem 0;
}

.faq-answer p {
  margin: 0;
}

/* CTA */
.cta-section {
  padding: 0 0 clamp(72px, 9vw, 120px);
  background: var(--color-soft);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--color-white);
  background:
    linear-gradient(120deg, rgba(23, 105, 255, .94), rgba(6, 37, 86, .96)),
    var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-card h2 {
  max-width: 760px;
  color: var(--color-white);
}

.cta-card p {
  max-width: 700px;
  color: rgba(255, 255, 255, .78);
}

.cta-actions {
  flex-direction: column;
  min-width: 235px;
  margin: 0;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, .72);
  background: #04101f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 3rem;
  padding-block: 70px;
}

.footer-grid h2 {
  margin-bottom: 1rem;
  color: var(--color-white);
  font-size: .95rem;
}

.footer-grid>div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-grid a {
  font-size: .85rem;
}

.footer-grid a:hover {
  color: var(--color-white);
}

.brand--footer .brand__text strong {
  color: var(--color-white);
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, .5);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 1.2rem;
  font-size: .88rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .48);
  font-size: .74rem;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(23, 105, 255, .42);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1050px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .brand__text small,
  .header-action {
    display: none;
  }

  .main-nav__inner {
    gap: 1.2rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-card--large {
    grid-column: span 2;
  }

  .solution-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid,
  .project-guide__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-guide__grid {
    gap: 1px;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: row;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-grid>div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .topbar__inner p:nth-of-type(n+2),
  .topbar__inner span {
    display: none;
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .product-search {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 12px;
  }

  .header-main {
    padding-top: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;

    /* El menú comienza debajo del header sticky */
    top: 100%;
    right: 0;
    bottom: auto;
    left: auto;

    width: min(86vw, 360px);

    /* Altura disponible de la pantalla */
    height: calc(100dvh - var(--mobile-menu-top, 150px));

    max-height: calc(100dvh - var(--mobile-menu-top, 150px));

    border: 0;
    background: rgba(255, 255, 255, 0.97);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    box-shadow:
      -24px 20px 60px rgba(7, 20, 38, 0.22);

    overflow-y: auto;
    overscroll-behavior: contain;

    z-index: 1100;

    transform: translateX(105%);
    transition: transform 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav__inner {
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 28px 40px;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav .nav-cta {
    margin-left: 0;
  }

  .hero-slider,
  .hero-slide__content {
    min-height: 650px;
  }

  .hero-copy {
    width: 78%;
  }

  .slider-arrow {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid article:nth-child(3) {
    border-left: 1px solid var(--color-border);
  }

  .section-heading,
  .about-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }

  .faq-intro {
    position: static;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card--large {
    min-height: 450px;
  }

  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand,
  .footer-grid>div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar a {
    font-size: .72rem;
  }

  .brand__text strong {
    font-size: .95rem;
  }

  .header-action--cart {
    padding: .55rem .75rem;
    font-size: .78rem;
  }

  .hero-slider,
  .hero-slide__content {
    min-height: 690px;
  }

  .hero-slide__media img {
    object-position: center top;
  }

  .hero-slide__overlay {
    background:
      linear-gradient(180deg, rgba(4, 16, 31, .18) 0%, rgba(4, 16, 31, .5) 34%, rgba(4, 16, 31, .96) 70%, rgba(4, 16, 31, .98) 100%);
  }

  .hero-slide__content {
    align-items: flex-end;
    padding-block: 60px 80px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article,
  .trust-grid article:first-child,
  .trust-grid article:nth-child(3) {
    border-left: 1px solid var(--color-border);
  }

  .category-grid,
  .solution-grid,
  .brand-grid,
  .product-grid,
  .article-grid,
  .project-guide__grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card--large {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-grid a {
    min-height: 78px;
    font-size: .78rem;
  }

  .product-card h3,
  .product-card p {
    min-height: 0;
  }

  .cta-card {
    border-radius: var(--radius-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand,
  .footer-grid>div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}