:root {
  --sm-blue: #071b86;
  --sm-blue-2: #0b2ea8;
  --sm-cyan: #14b5ea;
  --sm-cyan-soft: #ddf7ff;
  --sm-dark: #0b1220;
  --sm-gray: #5b6472;
  --sm-light: #f5f8fb;
  --sm-white: #ffffff;
  --sm-steel: #d8e0ea;
  --sm-border: rgba(7, 27, 134, 0.14);
  --sm-brass: #b8872f;
  --shadow-sm: 0 10px 30px rgba(11, 18, 32, 0.08);
  --shadow-md: 0 18px 55px rgba(11, 18, 32, 0.13);
  --radius: 8px;
  --radius-sm: 6px;
  --container: min(1180px, calc(100% - 40px));
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--sm-dark);
  background: var(--sm-white);
  font-family:
    Inter,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(20, 181, 234, 0.55);
  outline-offset: 3px;
}

.sprite {
  display: none;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.whatsapp-icon {
  width: 1.22em;
  height: 1.22em;
  flex: 0 0 auto;
  object-fit: contain;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-130%);
  background: var(--sm-dark);
  color: var(--sm-white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 234, 0.72);
  backdrop-filter: blur(16px);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 35px rgba(11, 18, 32, 0.1);
  border-color: transparent;
}

.header-grid {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--sm-blue);
}

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

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 9px;
  color: #263246;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--sm-blue);
  background: var(--sm-cyan-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.btn-primary {
  background: var(--sm-blue);
  color: var(--sm-white);
  box-shadow: 0 12px 28px rgba(7, 27, 134, 0.23);
}

.btn-primary:hover {
  background: var(--sm-cyan);
  color: #06203a;
  box-shadow: 0 14px 30px rgba(20, 181, 234, 0.26);
}

.btn-light {
  background: var(--sm-white);
  color: var(--sm-blue);
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-light:hover {
  background: var(--sm-cyan-soft);
  border-color: var(--sm-cyan);
}

.btn-ghost-on-dark {
  color: var(--sm-white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.62);
}

.btn-compact {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius-sm);
  color: var(--sm-blue);
  background: var(--sm-white);
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--sm-white);
  isolation: isolate;
}

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

.hero-media {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 13, 37, 0.88) 0%, rgba(7, 27, 134, 0.72) 42%, rgba(5, 13, 37, 0.25) 100%),
    linear-gradient(0deg, rgba(5, 13, 37, 0.7), rgba(5, 13, 37, 0.04) 46%);
}

.hero-content {
  padding: 60px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sm-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.on-dark {
  color: #70dcff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: #eefaff;
  font-weight: 800;
}

.hero h1,
.section h2,
.site-footer h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  font-weight: 900;
}

.hero-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.38rem);
  font-weight: 500;
}

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

.hero-indicators {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-indicators li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(3, 8, 24, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.hero-indicators .icon {
  color: var(--sm-cyan);
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -42px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-card {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-sm);
}

.trust-card .icon {
  width: 26px;
  height: 26px;
  color: var(--sm-cyan);
}

.trust-card h2 {
  margin: 14px 0 8px;
  color: var(--sm-blue);
  font-size: 1.05rem;
  line-height: 1.2;
}

.trust-card p {
  margin: 0;
  color: var(--sm-gray);
  font-size: 0.94rem;
}

.section {
  padding: 96px 0;
}

.compact-section {
  padding: 76px 0;
}

.section-white {
  background: var(--sm-white);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(245, 248, 251, 0.96), rgba(245, 248, 251, 1)),
    var(--sm-light);
}

.section-dark {
  background: #071127;
  color: var(--sm-white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.statement h2,
.problems-grid h2,
.process-layout h2,
.contact-copy h2,
.catalog-copy h2,
.final-cta h2 {
  color: var(--sm-dark);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 900;
}

.section-dark h2,
.section-dark .catalog-copy h2,
.section-dark .final-cta h2 {
  color: var(--sm-white);
}

.section-lead,
.section-heading p,
.statement p,
.problems-grid > div > p,
.contact-copy > p,
.catalog-copy p,
.final-cta p {
  color: var(--sm-gray);
  font-size: 1.06rem;
}

.section-dark .catalog-copy p,
.section-dark .final-cta p,
.section-dark .band-content p {
  color: rgba(255, 255, 255, 0.8);
}

.section-lead {
  margin: 24px 0 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.check-list p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius-sm);
  background: var(--sm-light);
  color: #344052;
  font-weight: 700;
}

.check-list .icon {
  margin-top: 3px;
  color: var(--sm-cyan);
}

.image-frame,
.wide-image,
.catalog-visual,
.product-intro figure,
.final-cta figure {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--sm-border);
  box-shadow: var(--shadow-md);
  background: var(--sm-steel);
}

.image-frame img,
.wide-image img,
.catalog-visual img,
.product-intro figure img,
.final-cta figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame {
  aspect-ratio: 0.82;
}

.image-frame.tall {
  min-height: 580px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.statement {
  padding: 30px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-sm);
}

.statement p:last-child {
  margin-bottom: 0;
}

.wide-image {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6.2;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.values-grid span {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius-sm);
  background: var(--sm-white);
  color: var(--sm-blue);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 22px rgba(11, 18, 32, 0.04);
}

.image-band {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.image-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 13, 37, 0.9), rgba(7, 27, 134, 0.72) 48%, rgba(5, 13, 37, 0.2)),
    rgba(5, 13, 37, 0.35);
}

.band-content {
  max-width: 760px;
}

.band-content h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  font-weight: 900;
}

.band-content p {
  max-width: 680px;
  font-size: 1.12rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.wide-heading {
  max-width: 920px;
}

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

.solution-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 492px;
  overflow: hidden;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-sm);
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card > div {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--sm-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.solution-card h3,
.product-card h3,
.pain-grid h3 {
  margin: 0;
  color: var(--sm-dark);
  line-height: 1.2;
  letter-spacing: 0;
}

.solution-card h3 {
  font-size: 1.22rem;
}

.solution-card p:not(.kicker) {
  margin: 12px 0 18px;
  color: var(--sm-gray);
}

.card-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.card-actions a,
.product-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 900;
}

.card-actions a:first-child,
.product-actions a:first-child {
  background: var(--sm-cyan-soft);
  color: var(--sm-blue);
}

.card-actions a:last-child,
.product-actions a:last-child {
  background: var(--sm-blue);
  color: var(--sm-white);
}

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 34px;
}

.product-intro h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 900;
}

.product-intro p {
  max-width: 780px;
  color: var(--sm-gray);
  font-size: 1.06rem;
}

.product-intro figure {
  aspect-ratio: 4 / 3;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 22px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(221, 247, 255, 0.55), rgba(255, 255, 255, 0) 34%),
    var(--sm-white);
  box-shadow: 0 10px 26px rgba(11, 18, 32, 0.06);
}

.product-card h3 {
  font-size: 1.08rem;
}

.product-card p {
  margin: 12px 0;
  color: var(--sm-gray);
}

.product-card span {
  display: block;
  margin-bottom: 18px;
  color: #33445d;
  font-size: 0.92rem;
  font-weight: 800;
}

.catalog-section {
  overflow: hidden;
}

.catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
  gap: 42px;
  align-items: center;
}

.catalog-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.catalog-visual {
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.16);
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 32px;
  align-items: start;
}

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

.industry-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius-sm);
  background: var(--sm-light);
  color: #253247;
  font-weight: 900;
}

.industry-grid .icon {
  color: var(--sm-cyan);
  width: 24px;
  height: 24px;
}

.industry-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 118px;
  gap: 10px;
}

.industry-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sm-border);
}

.industry-gallery img:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
}

.industry-gallery img:nth-child(2) {
  grid-column: span 2;
  grid-row: span 2;
}

.industry-gallery img:nth-child(3),
.industry-gallery img:nth-child(4),
.industry-gallery img:nth-child(5) {
  grid-column: span 2;
}

.problems-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pain-grid article {
  padding: 22px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
}

.pain-grid h3 {
  font-size: 1.04rem;
}

.pain-grid p {
  margin: 10px 0 0;
  color: var(--sm-gray);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 50px;
  align-items: center;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius-sm);
  background: var(--sm-light);
}

.process-list span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sm-blue);
  color: var(--sm-white);
  font-weight: 900;
}

.process-list strong {
  color: var(--sm-dark);
  font-size: 1.02rem;
}

.process-list p {
  grid-column: 2;
  margin: -8px 0 0;
  color: var(--sm-gray);
}

.process-image {
  aspect-ratio: 1;
  min-height: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-sm);
}

.contact-card a,
.contact-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #253247;
  font-weight: 800;
  word-break: break-word;
}

.contact-card .icon {
  color: var(--sm-cyan);
}

.quote-form {
  padding: 28px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #29364b;
  font-size: 0.94rem;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(91, 100, 114, 0.24);
  border-radius: var(--radius-sm);
  background: #fbfdff;
  color: var(--sm-dark);
  padding: 11px 12px;
}

.quote-form textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--sm-gray);
  font-size: 0.92rem;
}

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

.faq-list details {
  border: 1px solid var(--sm-border);
  border-radius: var(--radius-sm);
  background: var(--sm-white);
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.04);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 18px 52px 18px 18px;
  color: var(--sm-dark);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sm-cyan-soft);
  color: var(--sm-blue);
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--sm-gray);
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
}

.final-cta figure {
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
  background: #071127;
  color: rgba(255, 255, 255, 0.78);
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 30px;
}

.footer-brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: var(--sm-white);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--sm-white);
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
}

.site-footer a:hover {
  color: var(--sm-cyan);
}

.legal {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: 999px;
  background: #0f9f4b;
  color: var(--sm-white);
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(15, 159, 75, 0.28);
}

.floating-whatsapp:hover {
  background: #0b803c;
}

@media (max-width: 1120px) {
  .header-grid {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-actions .btn-compact {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-panel {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 2px;
    max-height: calc(100svh - var(--header-height));
    overflow: auto;
    padding: 14px 20px 22px;
    border-top: 1px solid var(--sm-border);
    background: var(--sm-white);
    box-shadow: 0 18px 45px rgba(11, 18, 32, 0.13);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .mobile-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel a:not(.btn) {
    min-height: 46px;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    color: var(--sm-dark);
    font-weight: 900;
  }

  .mobile-panel a:not(.btn):hover {
    background: var(--sm-cyan-soft);
    color: var(--sm-blue);
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 28px, 720px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 82px 0 58px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 13, 37, 0.9), rgba(7, 27, 134, 0.72) 64%, rgba(5, 13, 37, 0.74)),
      rgba(5, 13, 37, 0.36);
  }

  .hero-indicators,
  .trust-grid,
  .mission-grid,
  .product-intro,
  .catalog-grid,
  .industry-layout,
  .problems-grid,
  .process-layout,
  .contact-grid,
  .final-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-reverse-mobile .image-frame {
    order: -1;
  }

  .trust-strip {
    margin-top: 0;
    padding: 18px 0 0;
    background: var(--sm-light);
  }

  .section {
    padding: 72px 0;
  }

  .image-frame.tall,
  .image-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .wide-image {
    aspect-ratio: 4 / 3;
  }

  .values-grid,
  .industry-grid,
  .pain-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-intro figure,
  .catalog-visual,
  .final-cta figure {
    max-height: 420px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
    --container: min(100% - 24px, 560px);
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-content {
    padding: 42px 0 36px;
  }

  .hero-badge {
    margin-bottom: 12px;
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-actions .btn {
    min-height: 42px;
    padding: 10px 14px;
  }

  .hero-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-indicators li {
    flex: 1 1 calc(50% - 8px);
    min-height: 40px;
    padding: 8px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .hero-actions,
  .card-actions,
  .product-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .card-actions a,
  .product-actions a {
    width: 100%;
  }

  .hero-indicators,
  .trust-grid,
  .solution-grid,
  .product-grid,
  .values-grid,
  .industry-grid,
  .pain-grid,
  .faq-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .section-heading h2,
  .statement h2,
  .problems-grid h2,
  .process-layout h2,
  .contact-copy h2,
  .catalog-copy h2,
  .final-cta h2,
  .product-intro h2 {
    font-size: 2rem;
  }

  .solution-card {
    grid-template-rows: 196px 1fr;
    min-height: auto;
  }

  .product-card {
    min-height: auto;
  }

  .industry-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .industry-gallery img,
  .industry-gallery img:nth-child(1),
  .industry-gallery img:nth-child(2),
  .industry-gallery img:nth-child(3),
  .industry-gallery img:nth-child(4),
  .industry-gallery img:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    padding: 15px;
  }

  .process-list span {
    width: 38px;
    height: 38px;
  }

  .quote-form {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 12px 14px;
  }
}

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


/* Catálogo de Productos */
.catalog-products-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.catalog-products-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 28px;
}

.catalog-products-header h2 {
  margin: 8px 0 14px;
  color: var(--sm-blue);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.catalog-products-header p {
  margin: 0;
  color: var(--sm-gray);
  font-size: 1.03rem;
}

.catalog-important-note {
  padding: 22px;
  border: 1px solid rgba(20, 181, 234, 0.26);
  border-radius: var(--radius);
  background: #eefbff;
  box-shadow: var(--shadow-sm);
}

.catalog-important-note strong {
  display: block;
  color: var(--sm-blue);
  margin-bottom: 8px;
  font-size: 1rem;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.catalog-search {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-sm);
  color: var(--sm-blue);
}

.catalog-search input {
  width: 100%;
  min-height: 54px;
  border: 0;
  outline: 0;
  color: var(--sm-dark);
  background: transparent;
  font-weight: 700;
}

.request-toggle span,
.category-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

.catalog-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.catalog-quick-actions button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(7, 27, 134, 0.16);
  border-radius: 999px;
  background: var(--sm-white);
  color: var(--sm-blue);
  font-weight: 900;
}

.catalog-quick-actions button:hover,
.category-chip:hover {
  border-color: rgba(20, 181, 234, 0.5);
  background: var(--sm-cyan-soft);
}

.category-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 14px;
  margin-bottom: 10px;
  scrollbar-width: thin;
}

.category-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  background: var(--sm-white);
  color: #263246;
  font-weight: 900;
  white-space: nowrap;
}

.category-chip span {
  background: var(--sm-light);
  color: var(--sm-blue);
}

.category-chip.is-active {
  background: var(--sm-blue);
  color: var(--sm-white);
  border-color: var(--sm-blue);
}

.category-chip.is-active span {
  background: rgba(255, 255, 255, 0.18);
  color: var(--sm-white);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
  gap: 24px;
  align-items: start;
}

.catalog-results-info {
  margin: 0 0 14px;
  color: var(--sm-gray);
  font-weight: 800;
}

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

.catalog-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 134, 0.11);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-sm);
}

.catalog-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--sm-light);
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.catalog-card:hover img {
  transform: scale(1.04);
}

.catalog-card-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 18px;
}

.catalog-category {
  align-self: flex-start;
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--sm-cyan-soft);
  color: var(--sm-blue);
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.1;
}

.catalog-card h3 {
  margin: 12px 0 8px;
  color: var(--sm-blue);
  font-size: 1.15rem;
  line-height: 1.2;
}

.catalog-card p {
  margin: 0 0 13px;
  color: var(--sm-gray);
  font-size: 0.95rem;
}

.catalog-card strong {
  margin-top: auto;
  color: var(--sm-dark);
  font-size: 1rem;
}

.catalog-card small {
  display: block;
  margin-top: 2px;
  color: var(--sm-gray);
  font-weight: 800;
}

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

.btn-outline {
  background: var(--sm-white);
  color: var(--sm-blue);
  border-color: rgba(7, 27, 134, 0.18);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--sm-cyan-soft);
  border-color: rgba(20, 181, 234, 0.45);
}

.btn-full {
  width: 100%;
}

.catalog-empty {
  padding: 20px;
  border: 1px dashed var(--sm-border);
  border-radius: var(--radius);
  color: var(--sm-gray);
  background: var(--sm-white);
  text-align: center;
}

.request-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  max-height: calc(100vh - var(--header-height) - 36px);
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(7, 27, 134, 0.13);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-md);
}

.request-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.request-panel-header h3 {
  margin: 2px 0 0;
  color: var(--sm-blue);
  font-size: 1.35rem;
}

.request-close,
.product-modal-close,
.request-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  background: var(--sm-white);
  color: var(--sm-blue);
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-empty {
  margin: 8px 0 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--sm-light);
  color: var(--sm-gray);
  font-weight: 700;
}

.request-item {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(7, 27, 134, 0.1);
  border-radius: var(--radius-sm);
  background: #fbfdff;
}

.request-item img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.request-item h4 {
  margin: 0 0 2px;
  color: var(--sm-dark);
  font-size: 0.94rem;
  line-height: 1.2;
}

.request-item p {
  margin: 0 0 8px;
  color: var(--sm-gray);
  font-size: 0.78rem;
  font-weight: 800;
}

.request-remove {
  width: 30px;
  height: 30px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 32px 54px 32px;
  overflow: hidden;
  border: 1px solid var(--sm-border);
  border-radius: 999px;
  background: var(--sm-white);
}

.quantity-control button,
.quantity-control input {
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--sm-blue);
  text-align: center;
  font-weight: 900;
}

.quantity-control input {
  border-inline: 1px solid var(--sm-border);
  color: var(--sm-dark);
}

.request-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--sm-border);
}

.request-form h4 {
  margin: 18px 0 10px;
  color: var(--sm-blue);
  font-size: 1rem;
}

.compact-form-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.request-form label {
  color: var(--sm-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.request-form input,
.request-form select,
.request-form textarea {
  min-height: 44px;
  margin-top: 6px;
  border: 1px solid rgba(7, 27, 134, 0.14);
  background: #fbfdff;
}

.request-form textarea {
  min-height: 96px;
}

.full-field {
  display: block;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 22px;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 37, 0.72);
  backdrop-filter: blur(6px);
}

.product-modal-card {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.product-modal-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
}

.modal-gallery {
  padding: 20px;
  background: var(--sm-light);
}

.modal-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.modal-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.modal-product-copy {
  padding: 28px;
}

.modal-product-copy h3 {
  margin: 12px 0 12px;
  color: var(--sm-blue);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.modal-product-copy p {
  color: var(--sm-gray);
}

.product-meta-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.product-meta-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--sm-border);
}

.product-meta-list dt {
  color: var(--sm-blue);
  font-weight: 950;
}

.product-meta-list dd {
  margin: 0;
  color: var(--sm-dark);
  font-weight: 800;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.seo-tags span {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--sm-light);
  color: var(--sm-gray);
  font-size: 0.78rem;
  font-weight: 850;
}

.commercial-note {
  padding: 14px;
  border-left: 4px solid var(--sm-cyan);
  border-radius: var(--radius-sm);
  background: #eefbff;
  color: var(--sm-dark) !important;
  font-weight: 800;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.modal-open,
body.request-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .request-panel {
    position: fixed;
    inset: auto 18px 18px 18px;
    z-index: 950;
    max-height: min(82vh, 760px);
    transform: translateY(calc(100% + 28px));
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .request-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .catalog-products-header,
  .catalog-toolbar,
  .product-modal-content {
    grid-template-columns: 1fr;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .catalog-toolbar,
  .catalog-card-actions,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .catalog-products-header h2 {
    font-size: 2rem;
  }

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

  .catalog-card {
    grid-template-rows: 190px 1fr;
  }

  .catalog-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-quick-actions button {
    width: 100%;
  }

  .request-panel {
    inset: auto 10px 10px 10px;
    padding: 16px;
  }

  .product-modal {
    padding: 10px;
  }

  .modal-gallery,
  .modal-product-copy {
    padding: 16px;
  }

  .product-meta-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}


/* Navegación desplegable del Catálogo de Productos */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.74rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 130;
  min-width: 310px;
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #263246;
  font-size: 0.88rem;
  font-weight: 800;
}

.mobile-catalog-menu {
  border: 1px solid var(--sm-border);
  border-radius: var(--radius-sm);
  background: var(--sm-light);
}

.mobile-catalog-menu summary {
  padding: 13px 14px;
  color: var(--sm-blue);
  font-weight: 900;
  cursor: pointer;
}

.mobile-catalog-menu a {
  margin: 0 10px 8px;
  background: var(--sm-white);
}

.category-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.category-preview-card {
  min-height: 122px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--sm-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(221, 247, 255, 0.84), rgba(255, 255, 255, 0.95)),
    var(--sm-white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-preview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 181, 234, 0.6);
  box-shadow: var(--shadow-md);
}

.category-preview-card h3 {
  margin: 0;
  color: var(--sm-blue);
  font-size: 1.05rem;
  line-height: 1.18;
}

.category-preview-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.catalog-page-hero {
  padding: 72px 0 54px;
  background:
    radial-gradient(circle at top left, rgba(20, 181, 234, 0.18), transparent 34%),
    linear-gradient(135deg, #071127 0%, #071b86 58%, #0b1220 100%);
  color: var(--sm-white);
}

.catalog-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.catalog-page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.25rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.catalog-page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.catalog-page-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.catalog-page-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.catalog-card figure {
  background: #f5f8fb;
}

.catalog-card figure img,
.request-item img,
.modal-gallery img {
  background: #f5f8fb;
}

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

@media (max-width: 980px) {
  .category-preview-grid,
  .catalog-page-hero-grid {
    grid-template-columns: 1fr;
  }

  .catalog-page-visual img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .category-preview-grid {
    grid-template-columns: 1fr;
  }

  .catalog-page-hero {
    padding: 48px 0 38px;
  }
}


/* Ajuste final: las fotos reales del catálogo deben verse completas, sin recorte. */
.catalog-card figure,
.request-item img,
.modal-gallery,
.modal-gallery img {
  background: #f5f8fb;
}

.catalog-card figure img,
.request-item img,
.modal-main-image,
.modal-thumbs img {
  object-fit: contain;
}

.catalog-card figure img {
  padding: 12px;
}

.modal-main-image {
  background: #ffffff;
  border: 1px solid rgba(7, 27, 134, 0.10);
}


/* =========================================================
   Ajustes v3 Catálogo SM: menú lateral, 3 columnas, fotos cuadradas completas y envío por correo
   ========================================================= */
.catalog-workspace {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.catalog-sidebar-card {
  padding: 16px;
  border: 1px solid rgba(7, 27, 134, 0.12);
  border-radius: var(--radius);
  background: var(--sm-white);
  box-shadow: var(--shadow-sm);
}

.catalog-sidebar-card h3 {
  margin: 4px 0 14px;
  color: var(--sm-blue);
  font-size: 1.18rem;
}

.category-filters,
.category-filters-vertical {
  display: grid;
  gap: 9px;
  overflow: visible;
  padding: 0;
  margin: 0;
}

.category-chip {
  width: 100%;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: normal;
  text-align: left;
  line-height: 1.15;
}

.catalog-content {
  min-width: 0;
}

.catalog-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
}

.catalog-search {
  border-radius: 18px;
  background: #ffffff;
}

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

.catalog-card {
  grid-template-rows: auto 1fr;
  border-radius: 16px;
}

.catalog-card figure {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid rgba(7, 27, 134, 0.08);
  background: #ffffff !important;
}

.catalog-card figure img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: contain;
  background: #ffffff !important;
  transform: none !important;
}

.catalog-card:hover img {
  transform: none !important;
}

.catalog-card-body {
  padding: 16px;
}

.catalog-card h3 {
  font-size: 1.04rem;
}

.catalog-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.request-panel {
  position: fixed;
  top: calc(var(--header-height) + 14px);
  right: 16px;
  bottom: 16px;
  z-index: 950;
  width: min(640px, calc(100vw - 32px));
  max-height: none;
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(7, 27, 134, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(5, 13, 37, 0.26);
  transform: translateX(calc(100% + 34px));
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.request-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

body.request-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(5, 13, 37, 0.48);
  backdrop-filter: blur(4px);
}

.request-panel-header {
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sm-border);
}

.request-panel-header p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--sm-gray);
  font-size: 0.92rem;
  font-weight: 700;
}

.request-list {
  margin-top: 16px;
}

.request-item img {
  object-fit: contain;
  background: #ffffff;
}

.request-form {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(7, 27, 134, 0.10);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%);
}

.request-fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.request-fieldset legend {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(7, 27, 134, 0.10);
  color: var(--sm-blue);
  font-size: 1rem;
  font-weight: 950;
}

.compact-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.request-form label {
  display: grid;
  gap: 6px;
  color: #243044;
  font-size: 0.84rem;
  font-weight: 900;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  margin: 0;
  border-radius: 12px;
  background: #ffffff;
}

.full-field {
  margin-bottom: 12px;
}

.request-submit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.modal-main-image,
.modal-thumbs img {
  object-fit: contain;
  background: #ffffff !important;
}

@media (max-width: 1220px) {
  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .catalog-workspace {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .category-filters,
  .category-filters-vertical {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .category-chip {
    flex: 0 0 auto;
    width: auto;
    max-width: 260px;
    white-space: nowrap;
  }

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

  .request-toggle {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card-actions,
  .request-submit-grid,
  .compact-form-grid {
    grid-template-columns: 1fr;
  }

  .request-panel {
    inset: auto 10px 10px 10px;
    width: auto;
    max-height: min(86vh, 760px);
    padding: 16px;
    transform: translateY(calc(100% + 28px));
  }

  .request-panel.is-open {
    transform: translateY(0);
  }
}

/* =========================================================
   Ajustes v4: WhatsApp solo ícono, catálogo móvil estable y URLs limpias
   ========================================================= */
.floating-whatsapp {
  width: 62px;
  height: 62px;
  min-height: 62px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: #19c463;
  color: #ffffff;
  box-shadow:
    0 0 0 0 rgba(25, 196, 99, 0.52),
    0 16px 34px rgba(25, 196, 99, 0.34);
  animation: whatsappPulse 1.9s ease-out infinite;
}

.floating-whatsapp span {
  display: none !important;
}

.floating-whatsapp .whatsapp-icon {
  width: 38px;
  height: 38px;
  margin: auto;
}

.floating-whatsapp:hover {
  background: #14b456;
  box-shadow:
    0 0 0 10px rgba(25, 196, 99, 0.13),
    0 18px 42px rgba(25, 196, 99, 0.42);
  transform: translateY(-2px) scale(1.04);
}

@keyframes whatsappPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(25, 196, 99, 0.52),
      0 16px 34px rgba(25, 196, 99, 0.34);
  }
  70% {
    box-shadow:
      0 0 0 16px rgba(25, 196, 99, 0),
      0 16px 34px rgba(25, 196, 99, 0.34);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(25, 196, 99, 0),
      0 16px 34px rgba(25, 196, 99, 0.34);
  }
}

/* El área del catálogo queda más compacta y ordenada en pantallas medianas. */
.catalog-products-section .container {
  width: min(1320px, calc(100% - 40px));
}

.catalog-toolbar {
  align-items: stretch;
}

.request-toggle {
  white-space: nowrap;
}

.catalog-sidebar-card {
  max-height: calc(100svh - var(--header-height) - 34px);
  overflow: auto;
}

.category-chip {
  min-width: 0;
}

.catalog-card {
  min-width: 0;
}

.catalog-card figure {
  background: #ffffff !important;
}

.catalog-card figure img,
.modal-main-image,
.modal-thumbs img,
.request-item img {
  background: #ffffff !important;
  object-fit: contain !important;
}

/* Tablet: categorías verticales, no carrusel horizontal. */
@media (max-width: 920px) {
  .catalog-products-section .container {
    width: min(100% - 26px, 760px);
  }

  .catalog-products-header {
    gap: 16px;
    margin-bottom: 18px;
  }

  .catalog-toolbar {
    position: sticky;
    top: var(--header-height);
    z-index: 70;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(7, 27, 134, 0.08);
    backdrop-filter: blur(12px);
  }

  .catalog-search {
    min-height: 48px;
    border-radius: 14px;
  }

  .catalog-search input {
    min-height: 46px;
    font-size: 0.92rem;
  }

  .request-toggle {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .catalog-sidebar-card {
    max-height: none;
    padding: 14px;
  }

  .category-filters,
  .category-filters-vertical {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .category-chip {
    width: 100% !important;
    max-width: none !important;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    white-space: normal !important;
    font-size: 0.78rem;
    line-height: 1.18;
  }

  .category-chip span {
    min-width: 22px;
    min-height: 22px;
    font-size: 0.72rem;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .catalog-card-body {
    padding: 13px;
  }
}

/* Teléfono: productos más pequeños en 2 columnas, categorías ordenadas y solicitud usable. */
@media (max-width: 680px) {
  .catalog-products-section .container {
    width: min(100% - 20px, 560px);
  }

  .catalog-page-hero {
    padding: 36px 0 30px;
  }

  .catalog-page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .catalog-page-hero p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .catalog-products-header h2 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .catalog-important-note {
    padding: 14px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    top: var(--header-height);
    padding: 8px 0;
  }

  .request-toggle {
    width: 100%;
  }

  .catalog-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-quick-actions button {
    min-height: 38px;
    padding: 8px;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .catalog-sidebar-card h3 {
    margin-bottom: 10px;
    font-size: 1.02rem;
  }

  .category-filters,
  .category-filters-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .category-chip {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.7rem;
  }

  .category-chip span {
    min-width: 20px;
    min-height: 20px;
    padding: 1px 5px;
    font-size: 0.66rem;
  }

  .catalog-results-info {
    font-size: 0.82rem;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .catalog-card {
    border-radius: 12px;
  }

  .catalog-card-body {
    padding: 9px;
  }

  .catalog-category {
    padding: 5px 7px;
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .catalog-card h3 {
    margin: 7px 0 5px;
    font-size: 0.82rem;
    line-height: 1.16;
  }

  .catalog-card p {
    display: none;
  }

  .catalog-card strong {
    font-size: 0.8rem;
  }

  .catalog-card small {
    font-size: 0.66rem;
    line-height: 1.22;
  }

  .catalog-card-actions {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
  }

  .catalog-card-actions .btn {
    min-height: 34px;
    padding: 7px 6px;
    font-size: 0.68rem;
    border-radius: 9px;
  }

  .request-panel {
    inset: auto 8px 8px 8px;
    width: auto;
    max-height: min(88svh, 760px);
    padding: 14px;
    border-radius: 18px;
  }

  .request-panel-header h3 {
    font-size: 1.1rem;
  }

  .request-item {
    grid-template-columns: 54px 1fr auto;
    gap: 8px;
    padding: 9px;
  }

  .request-item img {
    width: 54px;
    height: 54px;
  }

  .quantity-control {
    grid-template-columns: 30px 46px 30px;
  }

  .request-form {
    padding: 14px;
    border-radius: 14px;
  }

  .compact-form-grid,
  .request-submit-grid {
    grid-template-columns: 1fr !important;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    min-height: 58px;
  }

  .floating-whatsapp .whatsapp-icon {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 390px) {
  .category-filters,
  .category-filters-vertical {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp {
    animation: none !important;
  }
}
