:root {
  --navy: #0a1d37;
  --navy-deep: #061427;
  --blue: #0d5cad;
  --blue-bright: #1a7ad9;
  --cyan: #00a8cc;
  --cyan-soft: #33c1ff;
  --silver: #e8eef4;
  --mist: #f4f7fb;
  --white: #ffffff;
  --text: #1a2b3c;
  --muted: #5a6f84;
  --line: rgba(10, 29, 55, 0.1);
  --shadow: 0 24px 60px rgba(10, 29, 55, 0.12);
  --radius: 4px;
  --header-h: 76px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--mist);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(0, 168, 204, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(13, 92, 173, 0.12), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f8 45%, #f5f8fb 100%);
}

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
  /* Sobre el hero: barra oscura legible */
  background: linear-gradient(
    to bottom,
    rgba(6, 20, 39, 0.92) 0%,
    rgba(10, 29, 55, 0.78) 70%,
    rgba(10, 29, 55, 0.35) 100%
  );
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: color 0.3s;
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--cyan-soft);
  font-weight: 500;
  margin-top: 0.25rem;
  transition: color 0.3s;
}

.site-header.is-scrolled .brand-name,
.site-header.is-solid .brand-name {
  color: var(--navy);
  text-shadow: none;
}

.site-header.is-scrolled .brand-tag,
.site-header.is-solid .brand-tag {
  color: var(--cyan);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
  color: var(--cyan-soft);
}

.site-nav a.is-active:not(.nav-cta) {
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.site-header.is-scrolled .site-nav a,
.site-header.is-solid .site-nav a {
  color: var(--navy);
  opacity: 0.78;
  text-shadow: none;
  font-weight: 500;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active,
.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a.is-active {
  opacity: 1;
  color: var(--blue);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  background: var(--cyan);
  color: var(--navy) !important;
  opacity: 1 !important;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.25s, color 0.25s !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}

.nav-cta:hover,
.nav-cta.is-active {
  background: var(--white) !important;
  color: var(--navy) !important;
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-cta,
.site-header.is-solid .nav-cta {
  background: var(--navy);
  color: var(--white) !important;
}

.site-header.is-scrolled .nav-cta:hover,
.site-header.is-scrolled .nav-cta.is-active,
.site-header.is-solid .nav-cta:hover,
.site-header.is-solid .nav-cta.is-active {
  background: var(--blue) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s, background 0.3s;
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-solid .nav-toggle span {
  background: var(--navy);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6, 20, 39, 0.72) 0%, rgba(6, 20, 39, 0.2) 18%, transparent 32%),
    linear-gradient(105deg, rgba(6, 20, 39, 0.88) 0%, rgba(10, 29, 55, 0.72) 45%, rgba(10, 29, 55, 0.45) 100%),
    linear-gradient(to top, rgba(6, 20, 39, 0.75) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 5.5rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - 1160px) / 2));
  margin-right: auto;
  width: min(720px, calc(100% - 2.5rem));
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.hero-company {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.hero-company span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.55em;
  letter-spacing: 0.35em;
  color: var(--cyan-soft);
  font-weight: 500;
}

.hero-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-services {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--cyan-soft);
}

.hero-services + .hero-services-extra {
  margin-top: -0.75rem;
  margin-bottom: 1.15rem;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
}

.hero-scroll span {
  display: block;
  width: 3px;
  height: 8px;
  margin: 8px auto 0;
  background: var(--cyan-soft);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(0, 168, 204, 0.3);
}

.btn-primary:hover {
  background: var(--cyan-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.text-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
}

/* ——— Sections common ——— */
.section-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 2.2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ——— Inner page hero ——— */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.75rem;
  background:
    linear-gradient(135deg, rgba(10, 29, 55, 0.04), transparent 50%),
    linear-gradient(180deg, rgba(0, 168, 204, 0.08), transparent);
  border-bottom: 1px solid var(--line);
}

.page-hero-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.page-hero-lead {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.page-section {
  padding: 4rem 0 5rem;
}

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

/* ——— Home quick links ——— */
.home-links {
  padding: 1rem 0 4.5rem;
}

.home-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-link {
  display: block;
  padding: 1.6rem 1.4rem;
  border-top: 2px solid var(--navy);
  background: var(--white);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.home-link:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}

.home-link-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.home-link h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.home-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Values & brands ——— */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.value {
  padding-top: 1.1rem;
  border-top: 2px solid var(--navy);
}

.value h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.nosotros-extra {
  grid-template-columns: repeat(3, 1fr);
}

.nosotros-extra .value p {
  margin-bottom: 0.85rem;
}

.nosotros-extra .text-link {
  font-size: 0.9rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.brands-grid span,
.brand-tile {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 1rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-align: center;
}

.brand-tile img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* ——— Partners ——— */
.partners {
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.partners .section-title {
  margin-bottom: 2rem;
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  width: max-content;
  animation: marquee 42s linear infinite;
  padding: 1.25rem 0 0.5rem;
}

.marquee-secondary {
  margin-top: 0.35rem;
}

.marquee-track-reverse {
  animation-name: marquee-reverse;
  animation-duration: 38s;
  padding-top: 0.65rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(0.15);
  opacity: 0.92;
  transition: opacity 0.25s, filter 0.25s, transform 0.25s;
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ——— About ——— */
.about {
  padding: 3rem 0 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: var(--text);
}

.about-text.muted {
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.about-visual {
  position: relative;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  opacity: 0.25;
  z-index: -1;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ——— Highlights ——— */
.highlights {
  padding: 2rem 0 5rem;
}

.highlights-grid {
  display: grid;
  gap: 4rem;
}

.highlight {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.highlight.reverse {
  direction: rtl;
}

.highlight.reverse > * {
  direction: ltr;
}

.highlight-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.highlight-body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--navy);
  line-height: 1.2;
}

.highlight-body p {
  margin: 0;
  color: var(--muted);
}

.offer-block {
  margin-top: 1.15rem;
}

.offer-label {
  margin: 0 0 0.45rem !important;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy) !important;
}

.offer-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.offer-tags li {
  margin: 0;
  padding: 0.35rem 0.7rem;
  background: rgba(10, 29, 55, 0.05);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
}

/* ——— Services ——— */
.services {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, rgba(10, 29, 55, 0.03), transparent 30%),
    var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.5rem;
}

.service {
  padding: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
}

.service-media {
  margin: 0 0 1.15rem;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.service:hover .service-media img {
  transform: scale(1.04);
}

.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.85rem;
  border-top: 2px solid var(--navy);
  padding-top: 0.9rem;
}

.service h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.25;
}

.service p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text);
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1.5px;
  background: var(--cyan);
}

/* ——— Products ——— */
.products {
  padding: 5rem 0;
}

.product-search {
  margin-bottom: 1.15rem;
}

.product-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.product-search-field {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 42rem;
}

.product-search-icon {
  position: absolute;
  left: 0.95rem;
  color: var(--muted);
  pointer-events: none;
}

.product-search-input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0.85rem 2.6rem 0.85rem 2.75rem;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-search-input::placeholder {
  color: rgba(10, 29, 55, 0.45);
}

.product-search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.18);
}

.product-search-clear {
  position: absolute;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.product-search-clear:hover {
  color: var(--navy);
  background: rgba(10, 29, 55, 0.06);
}

.products-empty {
  margin: 0.5rem 0 0;
  padding: 2rem 1.25rem;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
}

.comp-product-name {
  margin: 0.15rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.comp-product-price {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.01em;
}

.comp-product-price span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.15rem;
}

.comp-filters {
  margin-bottom: 1rem;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.products-count {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.products-layout:has(#omronCats[hidden]):has(#omronSegCats[hidden]):has(#deltaCats[hidden]):has(#trafagCats[hidden]):has(#mapleCats[hidden]):has(#tosiboxCats[hidden]):has(#timeswitchCats[hidden]):has(#optoswitchCats[hidden]):has(#atcCats[hidden]):has(#shinkoCats[hidden]) {
  grid-template-columns: 1fr;
}

.omron-cats {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1rem 0 1rem 0.25rem;
  border-right: 2px solid var(--navy);
}

.omron-cats-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
}

.omron-cats-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.omron-cat-btn,
.omron-seg-cat-btn,
.delta-cat-btn,
.trafag-cat-btn,
.maple-cat-btn,
.tosibox-cat-btn,
.timeswitch-cat-btn,
.optoswitch-cat-btn,
.atc-cat-btn,
.shinko-cat-btn {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.45rem 0.4rem 0.45rem 1.35rem;
  cursor: pointer;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.omron-cat-btn::before,
.omron-seg-cat-btn::before,
.delta-cat-btn::before,
.trafag-cat-btn::before,
.maple-cat-btn::before,
.tosibox-cat-btn::before,
.timeswitch-cat-btn::before,
.optoswitch-cat-btn::before,
.atc-cat-btn::before,
.shinko-cat-btn::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--white);
}

.omron-cat-btn.is-active,
.omron-seg-cat-btn.is-active,
.delta-cat-btn.is-active,
.trafag-cat-btn.is-active,
.maple-cat-btn.is-active,
.tosibox-cat-btn.is-active,
.timeswitch-cat-btn.is-active,
.optoswitch-cat-btn.is-active,
.atc-cat-btn.is-active,
.shinko-cat-btn.is-active {
  color: var(--blue);
  font-weight: 600;
}

.omron-cat-btn.is-active::before,
.omron-seg-cat-btn.is-active::before,
.delta-cat-btn.is-active::before,
.trafag-cat-btn.is-active::before,
.maple-cat-btn.is-active::before,
.tosibox-cat-btn.is-active::before,
.timeswitch-cat-btn.is-active::before,
.optoswitch-cat-btn.is-active::before,
.atc-cat-btn.is-active::before,
.shinko-cat-btn.is-active::before {
  background: var(--cyan);
  border-color: var(--cyan);
}

.omron-cat-btn:hover,
.omron-seg-cat-btn:hover,
.delta-cat-btn:hover,
.trafag-cat-btn:hover,
.maple-cat-btn:hover,
.tosibox-cat-btn:hover,
.timeswitch-cat-btn:hover,
.optoswitch-cat-btn:hover,
.atc-cat-btn:hover,
.shinko-cat-btn:hover {
  color: var(--blue);
}

.products-grouped {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.products-cat-block {
  margin-bottom: 2rem;
}

.products-cat-block:last-child {
  margin-bottom: 0;
}

.products-cat-heading {
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.products-cat-heading::before {
  content: "//";
  color: var(--cyan);
  margin-right: 0.35rem;
  font-weight: 600;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  animation: cardIn 0.45s var(--ease) both;
  display: flex;
  flex-direction: column;
}

.product-card.is-clickable {
  cursor: pointer;
}

.product-card.is-clickable:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 29, 55, 0.62);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

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

.product-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 29, 55, 0.35);
  padding: 1.35rem 1.35rem 1.5rem;
}

.product-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: rgba(10, 29, 55, 0.06);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  color: var(--navy);
  font-size: 1rem;
  z-index: 2;
}

.product-modal-close:hover {
  background: rgba(10, 29, 55, 0.12);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.product-modal-media {
  background: var(--mist);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  aspect-ratio: 1;
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-info h2 {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--navy);
}

.product-modal-price {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.15rem;
}

.product-modal-desc,
.product-modal-apps {
  margin: 0.85rem 0 0;
  color: var(--text);
  line-height: 1.55;
  font-size: 0.98rem;
}

.product-modal-apps {
  color: var(--muted);
}

.product-modal-specs-title {
  margin: 1.25rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
}

.product-specs {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.spec-row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.spec-row dd {
  margin: 0;
  color: var(--navy);
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.product-modal-actions .btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
}

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

  .product-modal-media {
    aspect-ratio: 16 / 11;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.product-card:hover {
  border-color: rgba(0, 168, 204, 0.55);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 168, 204, 0.08), transparent 55%),
    var(--mist);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

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

.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 0.9rem;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-quote:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.product-type {
  display: inline-block;
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
  border-bottom: 1px solid rgba(13, 92, 173, 0.25);
  padding-bottom: 1px;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-brand {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.product-meta-label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.product-series {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

.product-model {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--text);
}

.product-model strong {
  color: var(--blue);
  font-weight: 700;
}

.product-category {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ——— CTA ——— */
.cta-band {
  padding: 0 0 5rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 2.75rem;
  background:
    linear-gradient(120deg, var(--navy-deep), var(--blue) 55%, var(--cyan));
  color: var(--white);
}

.cta-inner h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.cta-inner p {
  margin: 0;
  opacity: 0.88;
}

/* ——— Contact ——— */
.contact {
  padding: 2rem 0 5.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-offers {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.contact-offers .contact-label {
  margin-bottom: 0.65rem;
}

.contact-offers-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  display: grid;
  gap: 0.4rem;
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.contact-list a {
  color: var(--blue);
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.15);
  background: var(--white);
}

.full-btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.25rem;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.92rem;
  color: var(--blue);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: min(100%, 22rem);
  flex: 1 1 16rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-social {
  margin: 0.15rem 0 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: var(--cyan);
}

.footer-social-link svg {
  flex-shrink: 0;
}

.footer-services {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  line-height: 1.35;
}

.footer-services span:not(:last-child)::after {
  content: "·";
  margin-left: 0.55rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--cyan-soft);
}

/* ——— Floating social ——— */
.whatsapp-float,
.instagram-float {
  position: fixed;
  right: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease);
}

.whatsapp-float {
  bottom: 1.25rem;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.instagram-float {
  bottom: 5.35rem;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  box-shadow: 0 12px 28px rgba(221, 42, 123, 0.4);
}

.whatsapp-float:hover,
.instagram-float:hover {
  transform: scale(1.08);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .about-grid,
  .highlight,
  .contact-grid,
  .home-links-grid,
  .products-layout {
    grid-template-columns: 1fr;
  }

  .omron-cats {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }

  .omron-cats-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .omron-cat-btn,
  .omron-seg-cat-btn,
  .delta-cat-btn,
  .trafag-cat-btn,
  .maple-cat-btn,
  .tosibox-cat-btn,
  .timeswitch-cat-btn,
  .optoswitch-cat-btn,
  .atc-cat-btn,
  .shinko-cat-btn {
    padding: 0.4rem 0.7rem 0.4rem 1.4rem;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .highlight.reverse {
    direction: ltr;
  }

  .services-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-visual img {
    aspect-ratio: 16 / 10;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border: 0;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
  }

  .site-header .brand-name {
    color: var(--navy);
    text-shadow: none;
  }

  .site-header .brand-tag {
    color: var(--cyan);
  }

  .site-header .site-nav a {
    color: var(--navy);
    opacity: 0.85;
    text-shadow: none;
    font-weight: 500;
  }

  .site-header .site-nav a:hover,
  .site-header .site-nav a.is-active {
    color: var(--blue);
    opacity: 1;
  }

  .site-header .nav-cta {
    background: var(--navy);
    color: var(--white) !important;
  }

  .site-header .nav-toggle span {
    background: var(--navy);
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1160px, calc(100% - 1.5rem));
  }

  .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

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

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

  .hero-logo {
    width: 58px;
    height: 58px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-img,
  .marquee-track,
  .hero-scroll span,
  .product-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ——— SEO catalog & services ——— */
.seo-catalog {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.seo-lead {
  max-width: 52rem;
  color: var(--muted);
  margin: 0.5rem 0 1.75rem;
  line-height: 1.55;
}

.partners .seo-lead,
.partners-lead {
  margin: 0.35rem auto 1.25rem;
  text-align: center;
  max-width: 46rem;
  font-size: 0.98rem;
}

.seo-brand-block {
  margin-bottom: 1.75rem;
}

.seo-brand-block h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.seo-brand-block > p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-model-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.35rem 1rem;
}

.seo-model-list a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.seo-model-list a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.seo-model-list li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.seo-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.seo-services-grid article h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}

.seo-services-grid article p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.seo-services-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}
