/*
Theme Name: Premium Co. WordPress Theme
Description: Tema premium para WordPress basado en diseño sofisticado con acentos azules y amarillos
Version: 1.0
Author: Premium Co.
*/

/* Premium Design System - Sophisticated blue and yellow accents */
:root {
  /* Premium Base Colors */
  --background: #12171b;
  --foreground: #e9eef0;

  /* Card & Popover */
  --card: #171e22;
  --card-foreground: #e9eef0;

  /* Primary - Deep Charcoal */
  --primary: #12171b;
  --primary-foreground: #f2f5f6;

  /* Secondary - Warm Gray */
  --secondary: #20282d;
  --secondary-foreground: #e9eef0;

  /* Muted Tones */
  --muted: #20282d;
  --muted-foreground: #b5c0c5;

  /* Blue Accent - Strategic use */
  --accent-blue: #4f97ff;
  --accent-blue-light: rgba(79, 151, 255, 0.14);
  --accent-blue-foreground: #f2f5f6;

  /* Yellow Accent - Strategic use */
  --accent-yellow: #f5c518;
  --accent-yellow-light: rgba(245, 197, 24, 0.13);
  --accent-yellow-foreground: #12171b;

  /* Elegant Grays */
  --gray-light: #171e22;
  --gray-medium: #27343a;
  --gray-dark: #9aa8ae;

  /* System Colors */
  --border: rgba(79, 151, 255, 0.28);
  --input: #171e22;

  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, #12171b 0%, #20282d 100%);
  --gradient-blue: linear-gradient(135deg, #1f5fc4 0%, #1f5fc4 100%);
  --gradient-yellow: linear-gradient(135deg, #f5c518 0%, #fceb01 100%);
  --gradient-elegant: linear-gradient(180deg, #12171b 0%, #12171b 100%);

  /* Premium Shadows */
  --shadow-elegant: 0 4px 24px -6px rgba(0, 0, 0, 0.22);
  --shadow-blue: 0 8px 32px -8px rgba(31, 95, 196, 0.15);
  --shadow-yellow: 0 8px 32px -8px rgba(245, 197, 24, 0.18);

  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  --radius: 0.75rem;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/* Container */
.container-premium {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-premium {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-premium {
    padding: 0 2rem;
  }
}

/* Premium Button Variants */
.btn-hero {
  background: var(--gradient-blue);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow-blue);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.btn-hero:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-blue);
}

.btn-accent {
  background: var(--accent-yellow);
  color: var(--accent-yellow-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow-yellow);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-accent:hover {
  background: #fceb01e2;
  box-shadow: 0 8px 32px -8px rgba(252, 235, 1, 0.25);
  transform: translateY(-2px);
}

.btn-outline-premium {
  border: 2px solid #1f5fc4;
  color: #1f5fc4;
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.btn-outline-premium:hover {
  background: #1f5fc4;
  color: white;
}

/* Premium Cards */
.card-premium {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2rem;
  box-shadow: var(--shadow-elegant);
  transition: var(--transition-smooth);
}

.card-premium:hover {
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.card-service {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.5rem;
  box-shadow: var(--shadow-elegant);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.card-service:hover {
  box-shadow: var(--shadow-blue);
  transform: translateY(-8px);
}

/* Premium Text Styles */
.text-gradient-blue {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-yellow {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Sections */
.section-premium {
  padding: 5rem 1rem;
}

@media (min-width: 1024px) {
  .section-premium {
    padding: 5rem 2rem;
  }
}

.section-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--background) 0%, var(--gray-light) 50%, var(--accent-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  #hero.section-hero {
    padding-top: 7.5rem;
  }
}

.hero-overlay {
  background: linear-gradient(90deg,
      hsla(0, 0%, 99%, 0.82) 0%,
      hsla(0, 0%, 99%, 0.74) 48%,
      hsla(0, 0%, 99%, 0.56) 100%);
}

#hero .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  min-height: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#hero .hero-content {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-sizing: border-box;
}

#hero .hero-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.25rem);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  max-width: 100%;
  box-sizing: border-box;
}

#hero .hero-description {
  margin: 1.15rem auto 0;
  color: var(--muted-foreground);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  max-width: 62ch;
  overflow-wrap: break-word;
  word-break: break-word;
}

#hero .hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

#hero .hero-stats {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  #hero.section-hero {
    min-height: 100vh;
    padding-top: 6.75rem;
    padding-bottom: 2.75rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

  #hero .hero-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
    align-items: center;
    min-height: auto;
    width: 100%;
    padding-top: 1.5rem;
  }

  #hero .hero-content {
    max-width: none;
    margin: 0;
    text-align: left;
    gap: 1.35rem;
  }

  #hero .hero-title {
    font-size: clamp(2.05rem, 2.5vw, 2.75rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-align: left;
    margin-left: 0;
    max-width: 32ch;
    text-wrap: pretty;
    hyphens: none;
    -webkit-hyphens: none;
  }

  #hero .hero-description {
    text-align: left;
    margin-left: 0;
    margin-top: 0.65rem;
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 50ch;
  }

  #hero .hero-actions-row {
    justify-content: flex-start;
    gap: 1rem;
  }

  #hero .hero-stats {
    margin: 0.25rem 0 0 0;
    padding-top: 1.15rem;
    gap: 1.5rem;
  }
}

@media (min-width: 1280px) {
  #hero.section-hero {
    padding-top: 7.25rem;
  }

  #hero .hero-layout {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3.5rem;
    padding-top: 1.75rem;
  }

  #hero .hero-title {
    font-size: clamp(2.2rem, 2.65vw, 2.95rem);
  }
}

/*Espacio antes de imagenes*/
.div-en-blanco {
  width: 100px;
  /* Ancho deseado */
  height: 50px;
  /* Alto deseado */
}

.section-elegant {
  background: var(--gradient-elegant);
  padding: 7rem 0;
}

.orders-intro {
  margin-bottom: 4rem;
}

.slide-img {
  cursor: zoom-in;
}

.service-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.service-gallery .slide-img {
  display: block;
  box-sizing: border-box;
  flex: 1 1 260px;
  width: 100%;
  max-width: 350px;
  min-width: 0;
  height: auto;
  padding: 80px 5px 2px;
}

.service-gallery .slide-img:nth-child(-n+2) {
  max-width: 300px;
}

@media (hover: hover) and (min-width: 768px) {
  .slide-img:hover {
    transform: scale(1.05) translateX(8px);
    transition-duration: 2s;
  }
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(18, 23, 27, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-elegant);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Poppins', system-ui, sans-serif;
}

.nav-menu {
  display: none;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 2rem;
  }
}

.nav-menu a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent-yellow, #f5c518);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent-yellow, #fceb01);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}




/* Mobile Menu */
.mobile-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(79, 151, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  color: var(--foreground);
  transition: var(--transition-fast);
}

.mobile-menu-button:hover,
.mobile-menu-button:focus-visible {
  border-color: var(--accent-blue);
  background: rgba(79, 151, 255, 0.1);
  outline: none;
}

.mobile-quick-call {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 151, 255, 0.12);
  border: 1px solid rgba(79, 151, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  color: var(--accent-blue);
  margin-right: 0.5rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.mobile-quick-call:hover,
.mobile-quick-call:focus-visible {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  color: #0d1216;
  outline: none;
}

@media (min-width: 992px) {
  .mobile-menu-button,
  .mobile-quick-call {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(23, 30, 34, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

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

.mobile-menu li {
  margin: 0;
  border-bottom: 1px solid rgba(79, 151, 255, 0.12);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0.5rem;
  min-height: 44px;
  box-sizing: border-box;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--accent-yellow, #fceb01);
  padding-left: 0.75rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Center the two service cards on desktop */
@media (min-width: 1024px) {
  #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Utilities */
.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.space-y-8>*+* {
  margin-top: 2rem;
}

/* Premium Forms */
.form-premium {
  padding: 2rem;
  background: var(--card);
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--border);
}

.input-premium {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input);
  color: var(--foreground);
  transition: var(--transition-smooth);
}

textarea.input-premium {
  resize: vertical;
}

.input-premium:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent-blue);
}

.input-premium::placeholder {
  color: var(--muted-foreground);
}

/* Footer Styles */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.footer-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: linear-gradient(135deg, rgba(79, 151, 255, 0.2) 0%, rgba(245, 197, 24, 0.2) 100%);
}

/* Animations & Staggered Reveal System */
.reveal-on-scroll,
.reveal-stagger-group > *,
.hero-stagger-item {
  opacity: 1;
  transform: none;
}

.js-motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-motion-ready .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.js-motion-ready .reveal-stagger-group > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger-index, 0) * 80ms);
  will-change: opacity, transform;
}

.js-motion-ready .reveal-stagger-group.is-revealed > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.js-motion-ready .hero-stagger-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--hero-stagger, 0) * 110ms);
  will-change: opacity, transform;
}

.js-motion-ready .hero-stagger-item.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.js-motion-ready .hero-stats .hero-stat-item {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(340ms + (var(--stat-index, 0) * 80ms));
}

.js-motion-ready .hero-stagger-item.is-revealed .hero-stat-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.products-grid > .product-card:nth-child(1) { --stagger-index: 0; }
.products-grid > .product-card:nth-child(2) { --stagger-index: 1; }
.products-grid > .product-card:nth-child(3) { --stagger-index: 2; }
.products-grid > .product-card:nth-child(4) { --stagger-index: 3; }
.products-grid > .product-card:nth-child(5) { --stagger-index: 4; }
.products-grid > .product-card:nth-child(6) { --stagger-index: 5; }

.orders-layout > *:nth-child(1) { --stagger-index: 0; }
.orders-layout > *:nth-child(2) { --stagger-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .js-motion-ready .reveal-on-scroll,
  .js-motion-ready .reveal-stagger-group > *,
  .js-motion-ready .hero-stagger-item,
  .js-motion-ready .hero-stats .hero-stat-item,
  .hero-hud-status-led,
  .hero-scroll-dot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delay {
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

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

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section-premium {
    padding: 3rem 1rem;
  }

  .orders-intro {
    margin-bottom: 2rem;
  }

  .section-premium.single-product-page {
    padding-top: calc(64px + 1rem) !important;
  }

  .section-hero {
    min-height: 80vh;
  }

  #hero .hero-layout {
    padding-top: 9rem;
  }

  #hero .hero-overlay {
    background: rgba(18, 23, 27, 0.76);
  }
}

/* WordPress Specific */
.wp-block-image {
  margin: 2rem 0;
}

.wp-block-quote {
  border-left: 4px solid var(--accent-blue);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
}

.wp-block-separator {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animacion */
@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

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

@keyframes pulse {

  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }

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

/* Industrial identity: header and homepage hero only */
.site-header {
  background-color: rgba(18, 23, 27, 0.97);
}

#hero>div:first-child>img {
  color: transparent;
  font-size: 0;
}

.site-header,
.site-header.scrolled {
  background: rgba(18, 23, 27, 0.97);
  border-bottom: 1px solid rgba(79, 151, 255, 0.28);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .site-logo,
.site-header .site-logo a {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.site-header .site-logo a.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header .site-logo .brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 200ms ease, filter 200ms ease;
}

.site-header .site-logo a.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 6px rgba(252, 235, 1, 0.45));
}

.site-header .site-logo .brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

.site-header .site-logo .brand-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.site-header .site-logo .brand-city {
  color: #4f97ff !important;
  -webkit-text-fill-color: #4f97ff !important;
}

.site-header .site-logo a.text-gradient-blue {
  background: none;
  color: #4f97ff;
  -webkit-text-fill-color: #4f97ff;
}

.site-header .nav-menu a,
.site-header .mobile-menu a {
  color: #e3e9eb;
  font-family: 'IBM Plex Sans', sans-serif;
}

.site-header .nav-menu a::after {
  background: var(--accent-yellow, #f5c518);
}

.site-header .nav-menu a:hover,
.site-header .mobile-menu a:hover {
  color: var(--accent-yellow, #fceb01);
}



.site-header .nav-cta .btn-hero,
.site-header .mobile-menu .btn-hero {
  border: 1px solid #1f5fc4;
  border-radius: 2px;
  box-shadow: none;
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header .nav-cta .btn-hero:hover,
.site-header .mobile-menu .btn-hero:hover {
  box-shadow: none;
  transform: none;
}

.site-header .mobile-menu-button {
  color: #e3e9eb;
}

.site-header .mobile-menu {
  background: #12171b;
  border-top-color: rgba(79, 151, 255, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#hero.section-hero {
  background: #12171b;
  color: #f2f5f6;
}

#hero .hero-overlay {
  background: linear-gradient(90deg,
      rgba(18, 23, 27, 0.58) 0%,
      rgba(18, 23, 27, 0.45) 52%,
      rgba(18, 23, 27, 0.32) 100%);
}

#hero>div:first-child>img {
  opacity: 0.62 !important;
}

#hero.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}

#hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: rgba(23, 30, 34, 0.9);
  border: 1px solid rgba(79, 151, 255, 0.35);
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4f97ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 0.5rem;
}

#hero .hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5c518;
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.65);
  flex-shrink: 0;
}

#hero .hero-title {
  color: #f2f5f6;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-transform: none;
}

#hero .hero-accent-blue {
  color: var(--accent-blue, #4f97ff);
}

#hero .hero-accent-yellow {
  color: var(--accent-yellow, #f5c518);
}

#hero .hero-description {
  color: #b5c0c5;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
}

#hero .hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#hero .hero-actions-row .btn-hero {
  background: linear-gradient(135deg, #1f5fc4 0%, #1f5fc4 100%);
  color: #ffffff;
  padding: 0.85rem 1.65rem;
  border-radius: 4px;
  border: 1px solid rgba(79, 151, 255, 0.45);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(31, 95, 196, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#hero .hero-actions-row .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 95, 196, 0.45);
}

#hero .hero-actions-row .btn-hero .hero-btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

#hero .hero-actions-row .btn-hero:hover .hero-btn-arrow {
  transform: translateX(4px);
}

#hero .hero-actions-row .btn-accent {
  background: var(--accent-yellow, #f5c518);
  color: var(--background, #12171b);
  padding: 0.85rem 1.65rem;
  border-radius: 4px;
  border: 1px solid #e5b800;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

#hero .hero-actions-row .btn-accent:hover {
  background: #fceb01;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 197, 24, 0.4);
}

#hero .hero-stats {
  border-top: 1px solid rgba(79, 151, 255, 0.28) !important;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

#hero .hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  box-sizing: border-box;
}

#hero .hero-stat-number {
  color: var(--accent-blue, #4f97ff);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
}

#hero .hero-stat-label {
  color: #b5c0c5;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Hero HUD Industrial Visual Frame - Shown on Desktop only (>=1024px) */
.hero-visual {
  position: relative;
  width: 100%;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

.hero-hud-frame {
  position: relative;
  background: #141b20;
  border: 1px solid rgba(79, 151, 255, 0.35);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(79, 151, 255, 0.15);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.hero-hud-frame:hover {
  border-color: rgba(79, 151, 255, 0.65);
  box-shadow: 0 24px 56px -10px rgba(0, 0, 0, 0.85), 0 0 28px rgba(79, 151, 255, 0.22);
}

.hero-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #0f1417;
  border-bottom: 1px solid rgba(79, 151, 255, 0.25);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.hero-hud-code {
  color: var(--accent-blue, #4f97ff);
  font-weight: 500;
}

.hero-hud-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-yellow, #f5c518);
  font-weight: 500;
}

.hero-hud-status-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-yellow, #f5c518);
  box-shadow: 0 0 6px var(--accent-yellow, #f5c518);
}

.hero-hud-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0b0f11;
}

.hero-hud-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 6%;
  display: block;
  transition: transform 0.4s ease;
}

.hero-hud-frame:hover .hero-hud-image {
  transform: scale(1.025);
}

.hero-hud-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 23, 27, 0.05) 0%, rgba(18, 23, 27, 0.65) 100%);
  pointer-events: none;
}

.hero-hud-spec-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.65rem;
  background: rgba(14, 19, 23, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(79, 151, 255, 0.45);
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  display: flex;
  gap: 0.45rem;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-hud-spec-label {
  color: #7b8e96;
}

.hero-hud-spec-value {
  color: var(--accent-blue, #4f97ff);
  font-weight: 600;
}

.hero-hud-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0.75rem 1rem;
  background: #0f1417;
  border-top: 1px solid rgba(79, 151, 255, 0.22);
}

.hero-hud-param {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.6rem;
}

.hero-hud-param:first-child {
  padding-left: 0;
}

.hero-hud-param:not(:last-child) {
  border-right: 1px solid rgba(79, 151, 255, 0.16);
}

.hero-hud-param-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: #7b8e96;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-hud-param-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.73rem;
  color: #e9eef0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-hud-status-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5c518;
  box-shadow: 0 0 6px #f5c518;
  animation: hudPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes hudPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px #f5c518;
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 0 2px #f5c518;
  }
}

/* Accessible Focus States */
#hero .btn-hero:focus-visible,
#hero .btn-accent:focus-visible {
  outline: 2px solid #4f97ff !important;
  outline-offset: 3px !important;
}

/* Polished Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.hero-scroll-capsule {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(79, 151, 255, 0.45);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  background: rgba(18, 23, 27, 0.5);
  backdrop-filter: blur(2px);
}

.hero-scroll-dot {
  width: 4px;
  height: 8px;
  background: #4f97ff;
  border-radius: 9999px;
  animation: scrollWheel 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.2;
    transform: translateY(7px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile, Tablet & Adaptive Contexts for #hero */
#hero.section-hero {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}

#hero .container-premium {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  width: 100%;
  max-width: 1280px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Tablet & Mobile Clean Single Screen (<1024px) */
@media (max-width: 1023px) {
  #hero.section-hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 2.75rem;
    overflow-x: hidden;
  }

  .hero-scroll-indicator {
    display: none !important;
  }

  #hero .hero-visual {
    display: none !important;
  }
}

@media (max-height: 750px) {
  .hero-scroll-indicator {
    display: none !important;
  }
}

/* Landscape Mode on Compact Mobile */
@media (max-height: 520px) and (orientation: landscape) {
  #hero.section-hero {
    min-height: auto;
    padding: 4.5rem 0 2rem;
  }

  #hero .hero-layout {
    min-height: auto;
    gap: 1.25rem;
  }

  .hero-scroll-indicator {
    display: none !important;
  }
}

/* Phablets & Mobile Devices (<640px) */
@media (max-width: 640px) {
  #hero.section-hero {
    padding-top: 5.25rem;
    padding-bottom: 2rem;
    min-height: auto;
  }

  #hero .hero-layout {
    gap: 1.35rem;
    min-height: auto;
  }

  #hero .hero-content {
    gap: 1.35rem;
  }

  #hero .hero-eyebrow {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    max-width: 100%;
    text-align: left;
    box-sizing: border-box;
  }

  #hero .hero-title {
    font-size: clamp(1.75rem, 6.2vw, 2.25rem);
    line-height: 1.18;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  #hero .hero-description {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 0.85rem;
    max-width: 100%;
  }

  #hero .hero-stats {
    gap: 0.5rem;
    padding-top: 1.15rem;
    width: 100%;
  }

  #hero .hero-stat-number {
    font-size: 1.3rem;
  }

  #hero .hero-stat-label {
    font-size: 0.7rem;
    line-height: 1.25;
  }
}

/* Narrow Mobile Screens (<540px) - Thumb-friendly CTAs */
@media (max-width: 540px) {
  #hero .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  #hero .hero-actions-row .btn-hero,
  #hero .hero-actions-row .btn-accent {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    padding: 0.9rem 1.25rem;
    box-sizing: border-box;
  }
}

/* Extra Compact Phones (<440px) */
@media (max-width: 440px) {
  #hero .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    padding-top: 1.15rem;
  }

  #hero .hero-stat-number {
    font-size: 1.2rem;
    letter-spacing: 0;
  }

  #hero .hero-stat-label {
    font-size: 0.65rem;
    line-height: 1.25;
  }

  .hero-hud-header {
    font-size: 0.6rem;
    padding: 0.4rem 0.65rem;
  }

  .hero-hud-code {
    font-size: 0.6rem;
  }

  .hero-hud-spec-tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }
}

/* Touch & Coarse Pointer Adaptations */
@media (pointer: coarse) {
  #hero .btn-hero,
  #hero .btn-accent {
    min-height: 48px;
  }
}

@media (hover: none) {
  #hero .btn-hero:hover {
    transform: none;
    box-shadow: 0 4px 18px rgba(31, 95, 196, 0.28);
  }

  #hero .btn-accent:hover {
    transform: none;
    background: #f5c518;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.25);
  }

  #hero .hero-hud-frame:hover {
    border-color: rgba(79, 151, 255, 0.38);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.65);
  }

  #hero .hero-hud-frame:hover .hero-hud-image {
    transform: none;
  }

  #hero .btn-hero:active {
    transform: scale(0.98);
    opacity: 0.94;
  }

  #hero .btn-accent:active {
    transform: scale(0.98);
    background: #e5b800;
  }
}

@media (max-width: 991px) {
  .site-header .site-nav {
    gap: 0.75rem;
  }

  .site-header .site-logo {
    min-width: 0;
    flex: 0 1 auto;
  }

  .site-header .site-logo a {
    font-size: clamp(1.1rem, 5vw, 1.3rem);
    white-space: nowrap;
    gap: 0.5rem;
  }

  .site-header .site-logo .brand-logo-img {
    width: 30px;
    height: 30px;
  }

  .site-header .nav-cta {
    display: none !important;
  }

  #hero.section-hero::before {
    background-size: 34px 34px;
  }

  #hero .hero-title {
    font-size: clamp(2rem, 8vw, 2.55rem);
    line-height: 1.1;
  }

  #hero .hero-description {
    font-size: 1rem;
  }

  #hero .hero-actions-row {
    width: 100%;
  }

  #hero .hero-actions-row>a {
    justify-content: center;
    max-width: 100%;
    padding: 0.85rem 1rem;
  }

  #hero .hero-stats>div>div:first-child {
    font-size: clamp(1.25rem, 6vw, 1.65rem) !important;
  }

  #hero .hero-stats>div>div:last-child {
    font-size: 0.75rem !important;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  #hero .hero-actions-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  #hero .hero-actions-row>a,
  #hero .hero-actions-row .btn-hero,
  #hero .hero-actions-row .btn-outline-premium {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Phase 1 correction: brand CTA, wordmark and hero grid layering */
.site-header .site-logo a.text-gradient-blue {
  background-image: linear-gradient(90deg, #f2f5f6 0%, #f2f5f6 55%, #1f5fc4 55%, #1f5fc4 100%) !important;
  background-color: transparent !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-transform: uppercase;
}

.site-header .nav-menu a[href*="#orders"] {
  color: #e3e9eb !important;
}

.site-header .nav-menu a[href*="#orders"]::after {
  background-color: var(--accent-yellow, #f5c518) !important;
}

.site-header .nav-menu a[href*="#orders"]:hover {
  color: var(--accent-yellow, #fceb01) !important;
}

.site-header .nav-cta .btn-hero,
.site-header .mobile-menu .btn-hero,
#hero .hero-actions-row .btn-hero {
  background: rgba(31, 95, 196, 0.80) !important;
  backdrop-filter: blur(4px);
  border: 1px solid #1f5fc4 !important;
  border-color: #1f5fc4 !important;
  color: #fff !important;
}

.site-header .nav-cta .btn-hero:hover,
.site-header .mobile-menu .btn-hero:hover,
#hero .hero-content .hero-actions-row .btn-hero:hover {
  background-color: rgba(31, 95, 196, 1) !important;
  box-shadow: none;
  transform: none;
}

.site-header .nav-cta .btn-hero:focus-visible,
.site-header .mobile-menu .btn-hero:focus-visible,
#hero .hero-actions-row .btn-hero:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 3px;
}

#hero .hero-title .text-gradient-yellow {
  color: #1f5fc4 !important;
  -webkit-text-fill-color: #1f5fc4 !important;
}

#hero.section-hero::before {
  z-index: 0;
  opacity: 0.24;
}

#hero>div:first-child {
  z-index: 1;
}

/* Subtle rounded borders for Header and Hero CTAs */
.site-header .nav-cta .btn-hero,
.site-header .mobile-menu .btn-hero,
#hero .hero-actions-row>.btn-hero,
#hero .hero-actions-row>.btn-outline-premium {
  border-radius: 6px;
  clip-path: none;
}

.site-header .nav-cta .btn-hero {
  padding: 0.32rem 1.25rem !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  min-height: auto !important;
}

.site-header .mobile-menu .btn-hero {
  padding: 0.55rem 1.7rem;
}

#hero .hero-actions-row>.btn-hero {
  padding: 0.55rem 1.8rem;
}

#hero .hero-actions-row>.btn-outline-premium {
  padding: 0.55rem 1.4rem;
}

@media (max-width: 767px) {

  .site-header .nav-cta .btn-hero,
  .site-header .mobile-menu .btn-hero {
    padding: 0.525rem 0.8rem;
  }

  #hero .hero-actions-row>.btn-hero,
  #hero .hero-actions-row>.btn-outline-premium {
    padding: 0.7rem 1rem;
  }
}

/* Phase 2: industrial technical presentation for Services only */
#services.section-elegant.services-section {
  position: relative;
  padding: clamp(4.5rem, 6.5vw, 6rem) 0 3rem;
  background-color: #12171b;
  background-image: linear-gradient(rgba(79, 151, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 151, 255, 0.055) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 44px 44px;
  background-repeat: repeat;
  color: #f2f5f6;
}

#services .services-container {
  position: relative;
  z-index: 1;
}

#services .services-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

#services .services-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #4f97ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

#services .services-kicker-mark,
.services-kicker-mark {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 2px solid var(--accent-yellow, #f5c518);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(245, 197, 24, 0.35);
}

#services .services-title {
  margin: 0;
  color: #f2f5f6;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

#services .services-title .text-gradient-blue {
  background: none;
  color: #4f97ff;
  -webkit-text-fill-color: #4f97ff;
}

#services .services-title::after {
  display: block;
  width: 19rem;
  max-width: 80%;
  height: 2px;
  margin: 1rem auto 0;
  background: #4f97ff;
  border-radius: 0;
  content: "";
  transform: scaleX(0);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease;
  box-shadow: none;
}

#services .services-title.is-revealed::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {

  #services .services-title:hover::after,
  #services .services-heading:hover .services-title::after {
    transform: scaleX(1.5);
    background-color: #60a5fa;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  #services .services-title::after {
    width: clamp(7rem, 45vw, 11rem);
    max-width: 70%;
  }

  #services .services-title:hover::after,
  #services .services-heading:hover .services-title::after {
    transform: scaleX(1);
  }
}

#services .services-heading .services-description {
  max-width: 600px;
  margin: 1.1rem auto 0;
  color: #c5d0d3;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

#services .services-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

#services .service-pair,
.about-page .service-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  #services .service-pair,
  .about-page .service-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }

  #services .service-pair--inverted .service-photo {
    grid-column: 1;
    grid-row: 1;
  }

  #services .service-pair--inverted .service-spec {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 1024px) {
  #services .service-pair,
  .about-page .service-pair {
    gap: 2rem;
  }
}

#services .service-spec,
.about-page .service-spec {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.75rem, 2.8vw, 2.5rem);
  border: 1px solid rgba(79, 151, 255, 0.3);
  border-radius: 16px;
  background: rgba(23, 30, 34, 0.88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

#services .service-spec::before,
.about-page .service-spec::before {
  display: none;
}

#services .service-spec:hover,
.about-page .service-spec:hover {
  border-color: rgba(79, 151, 255, 0.55);
  background: rgba(23, 30, 34, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 20px rgba(79, 151, 255, 0.15);
  transform: translateY(-2px);
}

#services .service-copy,
.about-page .service-copy {
  width: 100%;
  min-width: 0;
}

#services .service-title,
.about-page .service-title {
  margin: 0 0 0.75rem;
  color: #f2f5f6;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#services .service-copy .service-description,
#services .service-copy .services-description,
.about-page .service-copy .service-description {
  margin: 0;
  color: #c5d0d3;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

#services .service-link,
.about-page .service-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 1.5rem 0 0.25rem;
  color: #4f97ff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, gap 180ms ease;
}

#services .service-link:hover,
.about-page .service-link:hover {
  color: #4f97ff;
  gap: 0.75rem;
}

#services .service-link:focus-visible,
.about-page .service-link:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 3px;
}

/* Service Photo Panels */
#services .service-photo,
.about-page .service-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  min-height: 440px;
  border: 1px solid var(--accent-yellow, #f5c518);
  border-radius: 16px;
  background: rgba(23, 30, 34, 0.88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

#services .service-photo:hover,
.about-page .service-photo:hover {
  border-color: #fceb01;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 20px rgba(79, 151, 255, 0.22);
  transform: translateY(-2px);
}

#services .service-photo__media,
.about-page .service-photo__media {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: rgba(14, 19, 22, 0.86);
  overflow: hidden;
}

#services .service-photo__image,
.about-page .service-photo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 300ms ease;
}

#services .service-pair--row-3 .service-photo__image,
.about-page .service-pair--row-3 .service-photo__image {
  object-position: center 48%;
}

#services .service-photo:hover .service-photo__image,
.about-page .service-photo:hover .service-photo__image {
  transform: scale(1.02);
}

#services .service-points,
.about-page .service-points {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.925rem;
  line-height: 1.5;
  color: #c5d0d3;
}

#services .service-points li,
.about-page .service-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

#services .service-point-check,
.about-page .service-point-check {
  color: var(--accent-blue, #4f97ff);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.4;
}

@media (max-width: 767px) {
  #services .service-photo,
  .about-page .service-photo {
    min-height: 380px;
    height: clamp(380px, 85vw, 440px);
  }
}

body.dracula-style-all.dracula-processed #services .service-photo,
body.dracula-style-all.dracula-processed .about-page .service-photo {
  background: transparent !important;
  background-image: none !important;
}

@media (max-width: 767px) {
  #services.section-elegant.services-section {
    padding: 4rem 0 2rem;
  }

  #services .services-heading {
    margin-bottom: 2rem;
  }

  #services .services-title {
    font-size: clamp(1.8rem, 7.2vw, 2.2rem);
  }

  #services .services-heading .services-description {
    font-size: 1rem;
  }

  #services .services-grid {
    gap: 1rem;
  }
}

/* Phase 3: industrial product showcase only */
#products.products-section {
  background-color: #12171b;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.04) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 44px 44px;
  background-repeat: repeat;
  color: #f2f5f6;
  padding-top: 3.5rem;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #products.products-section {
    padding-top: 2.5rem;
  }
}

/* Continuous graphite technical background on the product archive and single product pages */
body.post-type-archive-products,
body.single-products {
  background-color: #12171b;
}

body.post-type-archive-products .site-header,
body.single-products .site-header {
  background-color: #12171b;
}

body.post-type-archive-products #primary,
body.post-type-archive-products main,
body.single-products #primary,
body.single-products main,
.single-product-page {
  background-color: #12171b;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.04) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 44px 44px;
  background-repeat: repeat;
  min-height: 100vh;
}

body.post-type-archive-products #products.products-section {
  background-color: transparent;
  background-image: none;
  border-top: none;
  border-bottom: none;
}

#products .products-container {
  position: relative;
  padding-bottom: 4rem;
}

.homepage-main-content #products .products-container {
  padding-bottom: clamp(1rem, 1.8vw, 1.5rem);
}

#products .products-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

#products .products-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #4f97ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

#products .products-kicker-mark,
.products-kicker-mark {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 2px solid var(--accent-yellow, #f5c518);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(245, 197, 24, 0.35);
}

#products .products-title {
  margin: 0;
  color: #f2f5f6;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

#products .products-title .text-gradient-yellow {
  background: none;
  color: #4f97ff;
  -webkit-text-fill-color: #4f97ff;
}

#products .products-title::after {
  display: block;
  width: 19rem;
  max-width: 80%;
  height: 2px;
  margin: 1rem auto 0;
  background: #4f97ff;
  border-radius: 0;
  content: "";
  transform: scaleX(0);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease;
  box-shadow: none;
}

#products .products-title.is-revealed::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {

  #products .products-title:hover::after,
  #products .products-heading:hover .products-title::after {
    transform: scaleX(1.50);
    background-color: #60a5fa;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  #products .products-title::after {
    width: clamp(7rem, 45vw, 11rem);
    max-width: 70%;
  }

  #products .products-title:hover::after,
  #products .products-heading:hover .products-title::after {
    transform: scaleX(1);
  }
}

/* Product Catalog archive page (/products/): proportionate bar under single-word title "Productos" */
.post-type-archive-products #products .products-title::after,
.archive.post-type-archive-products #products .products-title::after {
  width: 8rem;
  max-width: 65%;
}

@media (hover: hover) and (pointer: fine) {

  .post-type-archive-products #products .products-title:hover::after,
  .post-type-archive-products #products .products-heading:hover .products-title::after {
    transform: scaleX(1.35);
  }
}

@media (max-width: 767px) {

  .post-type-archive-products #products .products-title::after,
  .archive.post-type-archive-products #products .products-title::after {
    width: 5.5rem;
    max-width: 55%;
  }
}

#products .products-heading .products-description {
  max-width: 600px;
  margin: 1.1rem auto 0;
  color: #c5d0d3;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

#products .products-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.75rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

#products .product-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  border: 1px solid rgba(79, 151, 255, 0.34);
  border-radius: 8px;
  background: rgba(23, 30, 34, 0.88);
  box-shadow: none;
  clip-path: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

/* Disable base card hover - Phase 3.3 pseudo-elements handle hover */
#products .product-card:hover {
  border-color: rgba(79, 151, 255, 0.34);
  background: rgba(23, 30, 34, 0.88);
  box-shadow: none;
  transform: none;
}

#products .product-media {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  isolation: isolate;
  border-bottom: 1px solid rgba(79, 151, 255, 0.2);
  background: #f8fafc;
  box-shadow: none;
}

#products .product-media a {
  display: block;
  width: 100%;
  height: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
}

#products .product-image,
#products .product-media img,
.products-section .product-image,
.products-section .product-media img {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  filter: none;
  transition: transform 240ms ease;
}

#products .product-content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.35rem;
}

#products .product-meta-row {
  display: flex;
  min-height: 1.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

/* Hide price on homepage featured products only */
.products-grid .product-price {
  display: none;
}

#products .product-popular {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(79, 151, 255, 0.42);
  color: #4f97ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

#products .product-price {
  margin-left: auto;
  color: #4f97ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
}

#products .product-title {
  margin: 0 0 0.45rem;
  color: #f2f5f6;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#products .product-title a {
  color: #f2f5f6;
  text-decoration: none;
  transition: color 150ms ease;
}

#products .product-title a:hover {
  color: #4f97ff;
}

#products .product-excerpt {
  margin: 0;
  color: #c5d0d3;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#products .product-features {
  display: grid;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

#products .product-features li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.55rem;
  color: #c5d0d3;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#products .product-feature-mark {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 0.1rem;
  color: #4f97ff;
}

#products .product-link,
#products .products-catalog-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 6px;
  clip-path: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

#products .product-link {
  width: calc(100% - 2.7rem);
  margin: auto 1.35rem 1.35rem;
  padding: 0.55rem 1rem;
}

#products .product-link:hover {
  border-color: #4f97ff;
  background: rgba(31, 95, 196, 0.72);
  color: #fff;
  box-shadow: none;
}

#products .product-link:focus-visible,
#products .products-catalog-link:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 4px;
}

#products .products-catalog-actions {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
}

#products .products-catalog-link {
  padding: 0.6rem 1.4rem;
  border: 1px solid #e5b800;
  color: #12171b;
  font-weight: 700;
  transition: background-color var(--industrial-hover-duration) var(--industrial-hover-easing), border-color var(--industrial-hover-duration) var(--industrial-hover-easing), filter var(--industrial-hover-duration) var(--industrial-hover-easing), transform var(--industrial-hover-duration) var(--industrial-hover-easing);
}

#products .products-catalog-link:hover {
  border-color: #fceb01e2;
  background: #fceb01e2;
  color: #12171b;
}

@media (min-width: 700px) {
  #products .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  #products .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    max-width: 1080px;
  }
}

@media (max-width: 699px) {
  #products .products-heading {
    margin-bottom: 2rem;
  }

  #products .products-title {
    font-size: clamp(1.8rem, 7.2vw, 2.2rem);
  }

  #products .products-heading .products-description {
    font-size: 1rem;
  }

  #products .products-grid {
    gap: 1.75rem;
  }

  #products .product-card {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  #products .product-content {
    padding: 1.2rem;
  }

  #products .product-link {
    width: calc(100% - 2.4rem);
    margin: auto 1.2rem 1.2rem;
  }
}

/* Phase 3.1: restrained interaction system and featured-product price layout */
:root {
  --industrial-hover-scale: 1.025;
  --industrial-hover-duration: 200ms;
  --industrial-hover-easing: cubic-bezier(0.2, 0.7, 0.2, 1);
  --industrial-hover-glow-opacity: 0.1;
}

#products .product-info {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.35rem;
}

#products .product-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.45rem;
}

#products .product-title {
  min-width: 0;
  margin: 0;
}

#products .product-price {
  grid-column: 2;
  justify-self: end;
  max-width: 100%;
  margin: 0;
  white-space: nowrap;
}

#products .product-popular {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  max-width: calc(100% - 2.4rem);
  margin: 1.2rem 1.2rem 0.25rem;
}

.site-header .nav-cta .btn-hero,
.site-header .mobile-menu .btn-hero,
#hero .hero-actions-row>.btn-hero,
#hero .hero-actions-row>.btn-outline-premium,
#products .product-link,
#products .products-catalog-link {
  transition-duration: var(--industrial-hover-duration);
  transition-timing-function: var(--industrial-hover-easing);
}

#services .service-spec {
  transition: transform var(--industrial-hover-duration) var(--industrial-hover-easing), border-color var(--industrial-hover-duration) ease, filter var(--industrial-hover-duration) ease;
}

#services .service-link {
  transition: color var(--industrial-hover-duration) ease, transform var(--industrial-hover-duration) var(--industrial-hover-easing);
}

#products .product-card {
  transition: transform var(--industrial-hover-duration) var(--industrial-hover-easing), border-color var(--industrial-hover-duration) ease, background-color var(--industrial-hover-duration) ease, filter var(--industrial-hover-duration) ease;
}

@media (hover: hover) and (pointer: fine) {

  .site-header .nav-cta .btn-hero:hover,
  .site-header .mobile-menu .btn-hero:hover {
    border-color: #1f5fc4 !important;
    background-color: #1f5fc4 !important;
    filter: drop-shadow(0 0 5px rgba(31, 95, 196, var(--industrial-hover-glow-opacity)));
    transform: scale(1.02) translateY(-1px);
  }

  #hero .hero-content .hero-actions-row>.btn-hero:hover {
    border-color: #1f5fc4 !important;
    background-color: #1f5fc4 !important;
    filter: drop-shadow(0 0 6px rgba(31, 95, 196, var(--industrial-hover-glow-opacity)));
    transform: scale(var(--industrial-hover-scale)) translateY(-1px);
  }

  #hero .hero-actions-row>.btn-outline-premium:hover {
    border-color: #fceb01e2 !important;
    background: #fceb01e2 !important;
    background-color: #fceb01e2 !important;
    color: #12171b !important;
    filter: drop-shadow(0 0 6px rgba(252, 235, 1, var(--industrial-hover-glow-opacity, 0.45)));
    transform: scale(var(--industrial-hover-scale)) translateY(-1px);
  }

  #services .service-spec:hover {
    border-color: rgba(79, 151, 255, 0.7);
    filter: drop-shadow(0 0 5px rgba(79, 151, 255, 0.08));
    transform: translateY(-2px) scale(1.015);
  }

  #services .service-link:hover {
    color: #4f97ff;
    transform: translateX(2px);
  }

  #products .product-card:hover {
    filter: drop-shadow(0 0 8px rgba(252, 235, 1, 0.18));
    transform: translateY(-3px) scale(1.02);
  }

  #products .product-link:hover {
    filter: none;
    transform: scale(var(--industrial-hover-scale)) translateY(-1px);
  }

  #products .products-catalog-link:hover {
    border-color: #fceb01e2 !important;
    background-color: #fceb01e2 !important;
    color: #12171b !important;
    filter: drop-shadow(0 0 6px rgba(252, 235, 1, var(--industrial-hover-glow-opacity)));
    transform: scale(1.02) translateY(-1px);
  }
}

@media (max-width: 699px) {
  #products .product-meta-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  #products .product-price {
    grid-column: 1;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-header .nav-cta .btn-hero,
  .site-header .mobile-menu .btn-hero,
  #hero .hero-actions-row>.btn-hero,
  #hero .hero-actions-row>.btn-outline-premium,
  #services .service-spec,
  #services .service-link,
  #products .product-card,
  #products .product-link,
  #products .products-catalog-link,
  .single-product-back-link,
  #orders .orders-submit,
  #orders .orders-whatsapp .btn-accent {
    transition-duration: 1ms;
  }
}

/* Keep the approved orange visually stable when Dracula Dark Mode remaps hover colors */
@media (hover: hover) and (pointer: fine) {

  body.dracula-style-all .site-header .nav-cta .btn-hero:hover,
  body.dracula-style-all .site-header .mobile-menu .btn-hero:hover,
  body.dracula-style-all #hero .hero-content .hero-actions-row>.btn-hero:hover {
    filter: brightness(1.45) drop-shadow(0 0 5px rgba(31, 95, 196, var(--industrial-hover-glow-opacity)));
  }
}

@media (hover: hover) and (pointer: fine) {
  body.dracula-style-all #hero .hero-actions-row>.btn-outline-premium:hover {
    background: #fceb01e2 !important;
    background-color: #fceb01e2 !important;
    border-color: #fceb01e2 !important;
    color: #12171b !important;
    filter: brightness(1.05) drop-shadow(0 0 6px rgba(252, 235, 1, var(--industrial-hover-glow-opacity, 0.45)));
  }
}

@media (hover: hover) and (pointer: fine) {

  body.dracula-style-all #orders .orders-submit:hover {
    filter: brightness(1.45) drop-shadow(0 0 5px rgba(31, 95, 196, var(--industrial-hover-glow-opacity)));
  }

  body.dracula-style-all #orders .orders-whatsapp .btn-accent:hover,
  body.dracula-style-all #orders .orders-whatsapp .btn-accent:active {
    filter: none !important;
    box-shadow: none !important;
  }
}

#products .product-card {
  z-index: 0;
  overflow: visible;
  border: 1px solid rgba(79, 151, 255, 0.42);
  border-radius: 8px;
  background-color: #171e22 !important;
  clip-path: none;
  transform-origin: center;
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 300ms ease, border-color 300ms ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

#products .product-card::before,
#products .product-card::after {
  display: none !important;
}

/* Most Popular Badge on Helicoidales */
#products .product-card--popular {
  border: 2px solid var(--accent-yellow, #f5c518) !important;
  border-color: var(--accent-yellow, #f5c518) !important;
}

/* Subtle focus highlight when returning from single product view */
.product-card.product-card--return-focus {
  border-color: rgba(79, 151, 255, 0.85) !important;
  box-shadow: 0 0 0 2px rgba(79, 151, 255, 0.35), 0 8px 30px rgba(0, 0, 0, 0.55) !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.product-card--popular.product-card--return-focus {
  border-color: var(--accent-yellow, #f5c518) !important;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.45), 0 8px 30px rgba(0, 0, 0, 0.55) !important;
}

#products .product-popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.25rem;
  background-color: var(--accent-yellow, #f5c518);
  color: #12171b;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  border: 1px solid rgba(245, 197, 24, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  pointer-events: none;
}

#products .product-media {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  isolation: isolate;
  background: #f8fafc;
  box-shadow: none;
  overflow: hidden;
  clip-path: none;
}

#products .product-media a,
#products .product-media img,
#products .product-image {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#products .product-card:hover .product-media img,
.products-section .product-card:hover .product-media img {
  filter: none;
  transform: scale(1.02);
}


/* Transparent button for all product cards (homepage and /products/ catalog) */
#products .product-link {
  border: 1px solid rgba(79, 151, 255, 0.45) !important;
  background: rgba(31, 95, 196, 0.70) !important;
  color: #ffffff !important;
  backdrop-filter: blur(4px);
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

#products .products-catalog-link {
  border: 1px solid #e5b800 !important;
  border-color: #e5b800 !important;
  background: #f5c518 !important;
  background-color: #f5c518 !important;
  backdrop-filter: blur(4px);
  color: #12171b !important;
  font-weight: 700;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: background-color var(--industrial-hover-duration) var(--industrial-hover-easing), border-color var(--industrial-hover-duration) var(--industrial-hover-easing), filter var(--industrial-hover-duration) var(--industrial-hover-easing), transform var(--industrial-hover-duration) var(--industrial-hover-easing);
}

@media (hover: hover) and (pointer: fine) {
  #products .product-card:hover {
    z-index: 2;
    transform: scale(1.02);
    border-color: #4f97ff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(79, 151, 255, 0.15);
  }

  #products .product-card--popular:hover {
    border-color: #fceb01 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(252, 235, 1, 0.2);
  }

  #products .product-link:hover,
  body.dracula-style-all.dracula-processed #products .products-grid .product-link.dracula-ignore:hover {
    border-color: #4f97ff !important;
    background: rgba(31, 95, 196, 1) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
  }

  #products .products-catalog-link:hover {
    border-color: #fceb01e2 !important;
    background: #fceb01e2 !important;
    background-color: #fceb01e2 !important;
    color: #12171b !important;
    box-shadow: none !important;
    filter: drop-shadow(0 0 6px rgba(252, 235, 1, var(--industrial-hover-glow-opacity))) !important;
    transform: scale(1.02) translateY(-1px) !important;
  }

  body.dracula-style-all.dracula-processed #products .products-grid .products-catalog-link.dracula-ignore:hover {
    border-top-color: #fceb01e2 !important;
    border-right-color: #fceb01e2 !important;
    border-bottom-color: #fceb01e2 !important;
    border-left-color: #fceb01e2 !important;
    background-color: #fceb01e2 !important;
    color: #12171b !important;
  }

  body.dracula-style-all.dracula-processed #products .products-grid .product-card,
  body.dracula-style-all.dracula-processed #products .products-grid .product-card:hover {
    background-color: #171e22 !important;
    background-image: none !important;
  }

  body.dracula-style-all.dracula-processed #products .products-grid .products-catalog-link.dracula-ignore:hover {
    filter: brightness(1.15) drop-shadow(0 0 6px rgba(252, 235, 1, var(--industrial-hover-glow-opacity))) !important;
  }

  body.dracula-style-all.dracula-processed #products .products-catalog-actions .products-catalog-link.dracula-ignore:hover {
    filter: brightness(1.15) drop-shadow(0 0 6px rgba(252, 235, 1, var(--industrial-hover-glow-opacity))) !important;
    transform: scale(1.02) translateY(-1px) !important;
  }
}

@media (hover: none),
(pointer: coarse) {
  #products .product-card:hover {
    z-index: 0;
    transform: none;
  }

  #products .product-link:hover {
    border-color: #4f97ff !important;
    background: rgba(31, 95, 196, 0.72) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
  }

  #products .products-catalog-link:hover {
    border-color: var(--accent-yellow) !important;
    background: var(--accent-yellow) !important;
    background-color: var(--accent-yellow) !important;
    color: #12171b !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Catalog Toolbar, Filters and Reactive Search */
#products ::selection {
  background: rgba(79, 151, 255, 0.35);
  color: #ffffff;
}

.catalog-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--muted-foreground, #b5c0c5);
}

.catalog-breadcrumbs a {
  color: var(--muted-foreground, #b5c0c5);
  text-decoration: none;
  transition: color 150ms ease;
}

.catalog-breadcrumbs a:hover {
  color: #4f97ff;
}

.catalog-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

.catalog-breadcrumb-current {
  color: #f2f5f6;
  font-weight: 500;
}

.catalog-toolbar {
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card, #171e22);
  border: 1px solid var(--border, rgba(79, 151, 255, 0.28));
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.catalog-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalog-search-box {
  position: relative;
  flex: 1 1 auto;
  max-width: 520px;
  min-width: 240px;
  height: auto;
  display: flex;
  align-items: center;
}

.catalog-search-icon {
  position: absolute;
  left: 0.9rem;
  color: #8b9ca5;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.catalog-search-input {
  width: 100%;
  height: 44px;
  padding: 0.5rem 2.8rem 0.5rem 2.6rem;
  background: #0f1418;
  border: 1px solid rgba(79, 151, 255, 0.3);
  border-radius: 8px;
  color: #f2f5f6;
  caret-color: #4f97ff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.92rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-search-input::-webkit-search-cancel-button,
.catalog-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.catalog-search-input:focus {
  outline: none;
  border-color: #4f97ff;
  box-shadow: 0 0 0 3px rgba(79, 151, 255, 0.2);
}

.catalog-search-input::placeholder {
  color: #8fa0ab;
}

.catalog-search-kbd {
  position: absolute;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #8b9ca5;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.catalog-search-input:focus ~ .catalog-search-kbd,
.catalog-search-box.has-query .catalog-search-kbd {
  opacity: 0;
}

.catalog-search-clear {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: #8b9ca5;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 150ms ease;
}

.catalog-search-clear:hover {
  color: #f2f5f6;
}

.catalog-search-clear:focus-visible {
  outline: 2px solid #4f97ff;
}

.catalog-count-badge {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.88rem;
  color: #9db2bc;
  font-weight: 500;
}

.catalog-count-num {
  font-weight: 700;
  color: #4f97ff;
  font-family: 'IBM Plex Mono', monospace;
}

/* Category Filter Pills */
.catalog-categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.catalog-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: #b5c0c5;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 180ms ease;
}

.catalog-cat-pill:hover {
  background: rgba(79, 151, 255, 0.1);
  border-color: rgba(79, 151, 255, 0.35);
  color: #e9eef0;
}

.catalog-cat-pill.is-active {
  background: #1f5fc4;
  border-color: #4f97ff;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.catalog-cat-pill:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 2px;
}

.catalog-pill-count {
  font-size: 0.76rem;
  opacity: 0.85;
}

/* Product Tag Chips */
#products .product-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

#products .product-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

#products .product-tag-chip--category {
  background: rgba(79, 151, 255, 0.12);
  border: 1px solid rgba(79, 151, 255, 0.25);
  color: #9ec5fe;
}

#products .product-tag-chip--reference {
  font-family: 'IBM Plex Mono', monospace;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
}

#products .product-tag-chip--sheet {
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: #f5c518;
}

/* Product Card Actions (Dual Buttons) */
#products .product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0 1.35rem 1.35rem;
  margin-top: auto;
}

#products .product-card-actions .product-link {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.55rem 0.6rem !important;
  font-size: 0.85rem !important;
}

#products .product-whatsapp-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(79, 151, 255, 0.4);
  background: rgba(79, 151, 255, 0.12);
  color: #4f97ff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

#products .product-whatsapp-btn:hover {
  background: rgba(79, 151, 255, 0.24);
  border-color: #4f97ff;
  color: #ffffff;
}

#products .product-whatsapp-btn:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 2px;
}

/* Empty State */
.catalog-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  margin: 1.5rem auto 0;
  max-width: 540px;
  background: var(--card, #171e22);
  border: 1px dashed rgba(79, 151, 255, 0.3);
  border-radius: 12px;
}

.catalog-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(79, 151, 255, 0.1);
  color: #4f97ff;
  margin-bottom: 1.25rem;
}

.catalog-empty-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f2f5f6;
  margin: 0 0 0.5rem;
}

.catalog-empty-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.92rem;
  color: #9db2bc;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

#catalog-reset-filters {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  background: #1f5fc4;
  color: #ffffff;
  border: 1px solid #4f97ff;
  transition: background-color 180ms ease;
}

#catalog-reset-filters:hover {
  background: #256be3;
}

#products .product-link:active,
#products .product-whatsapp-btn:active,
.catalog-cat-pill:active,
#catalog-reset-filters:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .catalog-toolbar {
    padding: 0.85rem 0.85rem 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: rgba(23, 30, 34, 0.95);
    border: 1px solid rgba(79, 151, 255, 0.22);
  }

  .catalog-search-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
  }

  .catalog-search-box {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
  }

  .catalog-search-icon {
    left: 0.85rem;
    width: 18px;
    height: 18px;
    color: #8b9ca5;
  }

  .catalog-search-input {
    height: 46px; /* Optimal mobile touch target height */
    padding: 0.65rem 2.75rem 0.65rem 2.5rem;
    font-size: 16px !important; /* CRITICAL: Prevents iOS Safari viewport zoom on focus */
    line-height: 1.3;
    border-radius: 8px;
    background: #0d1215;
    border: 1px solid rgba(79, 151, 255, 0.28);
    color: #f2f5f6;
    text-overflow: ellipsis;
  }

  .catalog-search-input:focus {
    border-color: #4f97ff;
    box-shadow: 0 0 0 2px rgba(79, 151, 255, 0.25);
    background: #0f1519;
  }

  .catalog-search-kbd {
    display: none !important;
  }

  .catalog-search-clear {
    width: 44px;
    height: 44px;
    right: 0.15rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b9ca5;
  }

  .catalog-search-clear:active {
    color: #ffffff;
    transform: translateY(-50%) scale(0.92);
  }

  .catalog-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
  }

  .catalog-count-badge {
    font-size: 0.8rem;
    color: #8b9ca5;
  }

  .catalog-count-num {
    color: #4f97ff;
    font-weight: 700;
  }

  /* Horizontal swipe for category pills on mobile */
  .catalog-categories-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 0.5rem;
    padding: 0.15rem 0.25rem 0.5rem;
    margin: 0 -0.5rem;
    scrollbar-width: none;
  }

  .catalog-categories-bar::-webkit-scrollbar {
    display: none;
  }

  .catalog-cat-pill {
    flex-shrink: 0;
    min-height: 40px;
    scroll-snap-align: start;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
  }

  #products .product-card-actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
  }

  #products .product-info {
    padding: 1.15rem 1rem;
  }
}

/* Print Adaptation: Clean high-contrast black-on-white layout for site folders and procurement */
@media print {
  body, #products {
    background: #ffffff !important;
    color: #111111 !important;
  }

  .site-header,
  .site-footer,
  .catalog-toolbar,
  .catalog-breadcrumbs,
  .product-whatsapp-btn,
  .product-popular-badge {
    display: none !important;
  }

  #products .products-grid {
    display: block !important;
  }

  #products .product-card {
    background: #ffffff !important;
    border: 1px solid #d0d7de !important;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 2rem !important;
    box-shadow: none !important;
  }

  #products .product-media {
    max-height: 220px;
    background: #ffffff !important;
    border-bottom: 1px solid #d0d7de !important;
  }

  #products .product-title,
  #products .product-title a {
    color: #000000 !important;
  }

  #products .product-excerpt,
  #products .product-features li {
    color: #333333 !important;
  }

  #products .product-tag-chip {
    border: 1px solid #cccccc !important;
    background: #f6f8fa !important;
    color: #24292f !important;
  }
}

/* Nosotros — industrial technical layout */
.about-page {
  --about-ink: #e8e6e3;
  --about-muted: #b6c0c4;
  position: relative;
  isolation: isolate;
  min-width: 0;
  color: var(--about-ink);
  background-color: #12171b;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  font-family: 'IBM Plex Sans', sans-serif;
}

.about-page,
.about-page * {
  box-sizing: border-box;
}

.about-page ::selection {
  background: rgba(79, 151, 255, 0.35);
  color: #ffffff;
}

.about-page section {
  min-width: 0;
  background: transparent !important;
}

.about-page .about-hero {
  padding: 9.5rem 0 5rem !important;
  overflow: hidden;
}

.about-page .about-content {
  padding: 4.5rem 0 5rem !important;
}

.about-page .about-cta {
  padding: 1rem 0 5rem !important;
}

.about-page .about-hero-content {
  width: 100%;
  max-width: min(100%, 1120px) !important;
  margin: 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.about-page .about-hero-content .about-eyebrow {
  margin: 0 auto 1.25rem !important;
  text-align: center !important;
  justify-content: center !important;
}

.about-page .about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem !important;
  padding: 0.45rem 0 !important;
  border: 0;
  border-bottom: 1px solid rgba(79, 151, 255, 0.55);
  border-radius: 0 !important;
  background: transparent !important;
  color: #4f97ff !important;
  font: 500 0.75rem/1.4 'IBM Plex Mono', monospace !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-page .about-title,
.about-page .about-heading {
  color: var(--about-ink) !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.015em;
  line-height: 1.12;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.about-page .about-title {
  max-width: 100% !important;
  margin: 0 auto 1.25rem !important;
  font-size: clamp(2rem, 4.4vw, 3.8rem) !important;
  white-space: normal !important;
  text-wrap: balance !important;
  overflow-wrap: break-word !important;
  text-align: center !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.about-page .about-title-lead {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.about-page .about-title-city {
  color: #4f97ff !important;
  -webkit-text-fill-color: #4f97ff !important;
}

.about-page .about-heading {
  margin: 0 0 1.15rem !important;
  font-size: clamp(1.65rem, 3vw, 2.45rem) !important;
}

.about-page .about-title-accent {
  background: none !important;
  color: #4f97ff !important;
  -webkit-text-fill-color: #4f97ff !important;
}

.about-page .about-lead {
  max-width: 670px !important;
  margin: 0 auto !important;
  text-align: center !important;
  color: var(--about-muted) !important;
  font: 400 clamp(1rem, 1.4vw, 1.2rem)/1.75 'IBM Plex Sans', sans-serif !important;
}

.about-page .about-content-inner {
  width: 100%;
  max-width: min(100%, 1120px) !important;
  margin: 0 auto !important;
}

.about-page .about-story-header {
  margin: 0 0 2rem !important;
  text-align: left !important;
}

.about-page .about-story-header .about-story-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #4f97ff;
  margin: 0 0 1.25rem 0;
}

.about-page .about-story-header .about-eyebrow {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 1rem !important;
}

.about-page .about-story-header .about-title-accent {
  display: block;
}

.about-page .about-story {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem) !important;
  align-items: start !important;
  max-width: none;
  margin: 0 0 4.5rem !important;
}

/* Industrial Stats Strip */
.about-page .about-stats-strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 0 0 5rem !important;
  padding: 2.25rem 2rem !important;
  border: 1px solid rgba(79, 151, 255, 0.28) !important;
  border-radius: 8px !important;
  background: rgba(23, 30, 34, 0.72) !important;
  box-shadow: 0 16px 36px -20px rgba(0, 0, 0, 0.6) !important;
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .about-page .about-stats-strip:hover {
    border-color: rgba(79, 151, 255, 0.45) !important;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.75), 0 0 24px rgba(79, 151, 255, 0.08) !important;
  }
}

.about-page .about-stat-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  padding: 0 0.5rem;
}

.about-page .about-stat-item:not(:last-child) {
  border-right: 1px solid rgba(79, 151, 255, 0.18);
}

.about-page .about-stat-value {
  color: #4f97ff !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em;
}

.about-page .about-stat-label {
  color: #ffffff !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-page .about-stat-desc {
  margin: 0 !important;
  color: var(--about-muted) !important;
  font: 400 0.84rem/1.55 'IBM Plex Sans', sans-serif !important;
}

.about-page .about-story>div,
.about-page .about-copy,
.about-page .about-principles>div,
.about-page .about-values>div {
  min-width: 0;
}

.about-page .about-copy {
  color: var(--about-muted) !important;
  font: 400 1rem/1.8 'IBM Plex Sans', sans-serif !important;
}

.about-page .about-copy p+p {
  margin-top: 1rem;
}

.about-page .about-principles {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2.5rem, 5vw, 4.5rem) !important;
  row-gap: 2.75rem !important;
  align-items: start;
  margin: 0 0 5.5rem !important;
}

.about-page .about-principles>div,
.about-page .about-principle-card {
  grid-column: 2;
  min-width: 0;
}

.about-page .about-principle-card--mission {
  grid-column: 2;
  grid-row: 1;
}

.about-page .about-principle-card--vision {
  grid-column: 2;
  grid-row: 2;
}

/* Plant photography woven into the Nosotros narrative */
.about-page .about-figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.about-page .about-figure__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(79, 151, 255, 0.32);
  border-radius: 8px;
  background: #171e22;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.7);
  aspect-ratio: 4 / 5;
  transition: border-color 240ms ease;
}

.about-page .about-figure__frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(18, 23, 27, 0) 62%, rgba(18, 23, 27, 0.38) 100%);
}

.about-page .about-figure__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page .about-figure__caption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
  color: var(--about-muted);
  font: 500 0.78rem/1.4 'IBM Plex Sans', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-page .about-figure__caption::before {
  flex: 0 0 1.75rem;
  height: 1px;
  content: "";
  background: #4f97ff;
}

.about-page .about-figure--story .about-figure__frame,
.about-page .about-figure--principles .about-figure__frame {
  aspect-ratio: 1 / 0.92;
  flex: none;
  min-height: unset;
  height: auto;
}

.about-page .about-figure--story .about-figure__img {
  object-position: 62% 30%;
}

.about-page .about-principles>.about-figure {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}

.about-page .about-figure--principles .about-figure__img {
  object-position: 45% 38%;
}

.about-page .about-helicoidales-showcase {
  width: 100%;
  margin: 0 0 5.5rem;
}

@media (max-width: 768px) {
  .about-page .about-helicoidales-showcase {
    margin-bottom: 3.5rem;
  }
}

.about-page .about-figure--wide {
  margin: 0 0 5rem;
}

.about-page .about-figure--wide .about-figure__frame {
  aspect-ratio: 16 / 9;
}

.about-page .about-figure--wide .about-figure__img {
  object-position: 50% 35%;
}

@media (hover: hover) and (pointer: fine) {
  .about-page .about-figure:hover .about-figure__frame {
    border-color: rgba(79, 151, 255, 0.6);
  }

  .about-page .about-figure:hover .about-figure__img {
    transform: scale(1.035);
  }
}

body.dracula-style-all.dracula-processed .about-page .about-figure__frame {
  background: #171e22 !important;
}

@media (prefers-reduced-motion: reduce) {

  .about-page .about-figure__img,
  .about-page .about-figure__frame {
    transition: none;
  }
}

/* Principle Cards (Misión & Visión) */
.about-page .about-principle-card {
  position: relative;
  min-width: 0;
  padding: 2.25rem 2rem !important;
  border: 1px solid rgba(79, 151, 255, 0.28) !important;
  border-radius: 8px !important;
  background: rgba(23, 30, 34, 0.72) !important;
  box-shadow: 0 16px 36px -20px rgba(0, 0, 0, 0.6) !important;
  overflow: hidden;
  transition: border-color 240ms ease, transform 240ms ease;
}

.about-page .about-principle-card--mission {
  border-color: rgba(79, 151, 255, 0.45) !important;
}

.about-page .about-principle-card--vision {
  border-color: rgba(245, 197, 24, 0.45) !important;
}

.about-page .about-principle-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.about-page .about-principle-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 6px;
  background: rgba(79, 151, 255, 0.12);
  border: 1px solid rgba(79, 151, 255, 0.45);
  color: #4f97ff;
}

.about-page .about-principle-card--vision .about-principle-card__icon {
  background: rgba(245, 197, 24, 0.12);
  border-color: rgba(245, 197, 24, 0.45);
  color: var(--accent-yellow, #f5c518);
}

.about-page .about-principle-card__icon svg {
  width: 22px;
  height: 22px;
  color: inherit !important;
}

.about-page .about-principle-card__title,
.about-page .about-principles h3 {
  margin: 0 !important;
  color: var(--about-ink) !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.about-page .about-principle-card__text,
.about-page .about-principles p,
.about-page .about-values p,
.about-page .about-cta p {
  margin: 0 !important;
  color: var(--about-muted) !important;
  font: 400 0.95rem/1.75 'IBM Plex Sans', sans-serif !important;
}

.about-page .about-principle-card p+p {
  margin-top: 0.75rem !important;
}

/* Fallback for unclassed principle divs */
.about-page .about-principles>div:not(.about-principle-card) {
  padding: 1.5rem 0 0 !important;
  border-top: 2px solid #4f97ff !important;
  background: transparent !important;
}

/* Core Values Cards */
.about-page .about-values-heading {
  margin: 0 0 2rem !important;
  text-align: left !important;
}

.about-page .about-values-heading .about-eyebrow {
  margin-bottom: 1rem !important;
}

.about-page .about-values {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.75rem !important;
}

.about-page .about-value-card {
  position: relative;
  min-width: 0;
  padding: 1.85rem 1.6rem !important;
  border: 1px solid rgba(79, 151, 255, 0.22) !important;
  border-radius: 8px !important;
  background: rgba(23, 30, 34, 0.72) !important;
  box-shadow: 0 16px 36px -20px rgba(0, 0, 0, 0.6) !important;
  text-align: left !important;
  overflow: hidden;
  transition: border-color 240ms ease, transform 240ms ease;
}

.about-page .about-value-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem !important;
}

.about-page .about-value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0 !important;
  border: 1px solid rgba(79, 151, 255, 0.45);
  border-radius: 6px !important;
  background: rgba(79, 151, 255, 0.12) !important;
  color: #4f97ff !important;
}

.about-page .about-value-card--innovation .about-value-card__icon,
.about-page .about-value-card--responsibility .about-value-card__icon,
.about-page .about-value-card--custom .about-value-card__icon {
  border-color: rgba(245, 197, 24, 0.45) !important;
  background: rgba(245, 197, 24, 0.12) !important;
  color: var(--accent-yellow, #f5c518) !important;
}

.about-page .about-value-card__icon svg {
  width: 20px;
  height: 20px;
  color: inherit !important;
}

.about-page .about-value-card h3,
.about-page .about-values h3 {
  margin: 0 !important;
  color: var(--about-ink) !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.about-page .about-value-card p {
  margin: 0 !important;
  color: var(--about-muted) !important;
  font: 400 0.95rem/1.7 'IBM Plex Sans', sans-serif !important;
}

.about-page .about-value-card p {
  margin: 0 !important;
  color: var(--about-muted) !important;
  font: 400 0.95rem/1.7 'IBM Plex Sans', sans-serif !important;
}

@media (hover: hover) and (pointer: fine) {

  .about-page .about-principle-card:hover,
  .about-page .about-value-card:hover {
    border-color: rgba(79, 151, 255, 0.55) !important;
    transform: translateY(-2px);
  }

  .about-page .about-cta-panel:hover {
    border-color: rgba(79, 151, 255, 0.8) !important;
    background: rgba(22, 29, 35, 0.9) !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.75), 0 0 32px rgba(79, 151, 255, 0.18) !important;
    transform: translateY(-4px);
  }
}

.about-page .about-cta-panel {
  position: relative;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: clamp(2rem, 5vw, 3.5rem) !important;
  border: 1px solid rgba(79, 151, 255, 0.45);
  border-radius: 8px !important;
  background: rgba(18, 23, 27, 0.72) !important;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5) !important;
  clip-path: none;
  text-align: center;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms ease,
    background-color 280ms ease,
    box-shadow 280ms ease !important;
}

.about-page .about-cta-panel p {
  margin: 0 auto 1.5rem !important;
  max-width: 520px;
}

.about-page .about-cta-decoration {
  display: none !important;
}

.about-page .about-cta .about-heading {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem) !important;
}

.about-page .about-cta-button {
  display: inline-flex !important;
  margin: 0 auto !important;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.85rem 1.6rem !important;
  border-radius: 6px !important;
  border: 1px solid var(--accent-yellow, #f5c518) !important;
  background: var(--accent-yellow, #f5c518) !important;
  color: #12171b !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  clip-path: none;
  transition: background-color var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease),
    border-color var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease),
    filter var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease),
    transform var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease) !important;
}

.about-page .about-cta-button:hover {
  background: #f7ce2e !important;
  border-color: #f7ce2e !important;
  color: #12171b !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.45)) !important;
  transform: scale(1.02) translateY(-1px) !important;
}

body.dracula-style-all .about-page .about-cta-button:hover {
  background: #f7ce2e !important;
  border-color: #f7ce2e !important;
  color: #12171b !important;
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(245, 197, 24, 0.45)) !important;
}

.about-page .about-cta-button:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 3px;
}

.about-page .about-cta-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.25rem !important;
  flex-wrap: wrap !important;
}

.about-page .about-cta-link-secondary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 1.4rem !important;
  border: 1px solid rgba(79, 151, 255, 0.45) !important;
  border-radius: 6px !important;
  background: rgba(79, 151, 255, 0.08) !important;
  color: #4f97ff !important;
  -webkit-text-fill-color: #4f97ff !important;
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  transition: all 180ms ease !important;
}

.about-page .about-cta-link-secondary:hover {
  background: rgba(79, 151, 255, 0.18) !important;
  border-color: #4f97ff !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(-1px);
}

.about-page .about-cta-link-secondary:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .about-page .about-hero {
    padding: 8rem 0 3rem !important;
  }

  .about-page .about-title {
    font-size: clamp(1.75rem, 7vw, 2.35rem) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .about-page .about-lead {
    font-size: clamp(0.95rem, 3.8vw, 1.1rem) !important;
    line-height: 1.65 !important;
  }

  .about-page .about-content {
    padding: 2.5rem 0 3.5rem !important;
  }

  .about-page .about-cta {
    padding: 0 0 3.5rem !important;
  }

  /* 1. Story + Photo 1 */
  .about-page .about-story {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.75rem !important;
    margin-bottom: 3rem !important;
  }

  .about-page .about-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.75rem 1.25rem !important;
    padding: 1.75rem 1.25rem !important;
    margin-bottom: 3.5rem !important;
  }

  .about-page .about-stat-item {
    padding: 0 !important;
  }

  .about-page .about-stat-item:not(:last-child) {
    border-right: none !important;
  }

  /* 2. Principles: Mission + Photo 2 + Vision */
  .about-page .about-principles {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
    margin-bottom: 1.75rem !important;
  }

  .about-page .about-principles>div,
  .about-page .about-principles>.about-figure {
    grid-column: 1;
    grid-row: auto;
  }

  .about-page .about-principle-card--mission {
    order: 1 !important;
  }

  .about-page .about-figure--principles {
    order: 2 !important;
    margin-bottom: 0.5rem !important;
  }

  .about-page .about-principle-card--vision {
    order: 3 !important;
  }

  /* 3. Wide Plant Photo (Corte y acabado) */
  .about-page .about-figure--wide {
    margin-top: 0 !important;
    margin-bottom: 3.5rem !important;
  }

  .about-page .about-figure,
  .about-page .about-figure--principles,
  .about-page .about-figure--story,
  .about-page .about-figure--wide {
    width: 100% !important;
    align-self: stretch !important;
  }

  .about-page .about-figure__frame,
  .about-page .about-figure--story .about-figure__frame,
  .about-page .about-figure--principles .about-figure__frame,
  .about-page .about-figure--wide .about-figure__frame {
    width: 100% !important;
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3 !important;
  }

  .about-page .about-figure--story .about-figure__img {
    object-position: 60% 28%;
  }

  /* Cards mobile padding */
  .about-page .about-principle-card {
    padding: 1.6rem 1.35rem !important;
  }

  .about-page .about-principle-card__title {
    font-size: 1.3rem !important;
  }

  /* 4. Values Mobile */
  .about-page .about-values-heading {
    margin-bottom: 1.75rem !important;
  }

  .about-page .about-values {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem !important;
    margin-bottom: 3.5rem !important;
  }

  .about-page .about-values > * {
    grid-column: 1 / -1 !important;
  }

  .about-page .about-value-card {
    padding: 1.6rem 1.35rem !important;
  }

  /* 5. CTA Mobile */
  .about-page .about-cta-panel {
    padding: 2.25rem 1.5rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about-page .about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 420px) {
  .about-page .about-stats-strip {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.25rem !important;
  }

  .about-page .about-cta-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .about-page .about-cta-button,
  .about-page .about-cta-link-secondary {
    width: 100% !important;
    justify-content: center !important;
  }

  .about-page .about-hero {
    padding-top: 7.5rem !important;
  }

  .about-page .about-title {
    font-size: clamp(1.6rem, 7.8vw, 2.05rem) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-wrap: balance !important;
  }

  .about-page .about-cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  #products .product-card,
  #products .product-card::before,
  #products .product-link,
  #products .products-catalog-link,
  .about-page .about-cta-panel {
    transition-duration: 1ms !important;
    animation-duration: 1ms;
    animation-iteration-count: 1;
    transform: none !important;
  }
}

/* Divider line between sections */
.section-divider-line-wrap {
  position: relative;
  background-color: #12171b;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.05) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 44px 44px;
  background-repeat: repeat;
  padding: clamp(2.5rem, 4.5vw, 4rem) 0;
}

#products+.section-divider-line-wrap {
  padding: clamp(1rem, 1.8vw, 1.75rem) 0;
}

.section-divider-line {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  height: 1px;
  background-color: #4f97ff;
}

/* Phase 4: Contact section technical redesign */
#orders,
#orders.orders-section {
  position: relative;
  scroll-margin-top: 5rem;
  padding: clamp(1.75rem, 2.5vw, 2.5rem) 0 clamp(4.5rem, 7vw, 6rem);
  color: #f1f4f5;
  background-color: #12171b !important;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.045) 1px, transparent 1px) !important;
  background-size: 44px 44px;
  background-position: 0 0;
  background-repeat: repeat;
}

#orders .orders-intro {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
}

#orders .orders-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-left: 2px solid #4f97ff;
  background: rgba(79, 151, 255, 0.07);
  color: #4f97ff;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

#orders .orders-title {
  margin: 0 0 1rem;
  color: #f1f4f5;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 700;
  line-height: 1.15;
}

#orders .orders-title .text-gradient-blue {
  background: none;
  color: #4f97ff;
  -webkit-text-fill-color: currentColor;
}

#orders .orders-description {
  max-width: 620px;
  margin: 0 auto;
  color: #b5c0c5;
  font-size: 1.05rem !important;
  line-height: 1.75;
}

#orders .orders-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start !important;
  gap: clamp(2rem, 4vw, 3.5rem) !important;
}

#orders .orders-form {
  min-width: 0;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: rgba(79, 151, 255, 0.055) !important;
  border: 1px solid rgba(79, 151, 255, 0.28);
  border-top: 2px solid #4f97ff;
  border-radius: 0;
  box-shadow: none;
}

#orders .orders-form-title {
  margin: 0 0 2rem;
  color: #f1f4f5;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  text-align: left !important;
}

#orders .orders-form-title::after {
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: 0.9rem;
  background: #4f97ff;
  content: "";
}

#orders .orders-field-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem !important;
}

#orders .orders-field-row>div,
#orders #contact-form>div {
  min-width: 0;
}

#orders #contact-form label {
  color: #dce3e6 !important;
  font-size: 0.9rem;
  letter-spacing: 0.015em;
}

#orders .input-premium {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid rgba(177, 193, 199, 0.35);
  border-radius: 0;
  background: #171e22;
  color: #f1f4f5;
  box-shadow: none;
}

#orders .input-premium:focus {
  border-color: #4f97ff;
  outline: 2px solid rgba(79, 151, 255, 0.28);
  outline-offset: 1px;
  box-shadow: none;
}

#orders .input-premium::placeholder {
  color: #91a0a6;
  opacity: 1;
}

#orders #contact-form select option {
  color: #f1f4f5;
  background: #171e22;
}

#orders .orders-submit {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 38px !important;
  height: auto;
  margin-top: 1.5rem !important;
  padding: 0.45rem 1rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 151, 255, 0.45) !important;
  border-radius: 6px;
  background: rgba(31, 95, 196, 0.80) !important;
  background-color: rgba(31, 95, 196, 0.80) !important;
  backdrop-filter: blur(4px);
  color: #fff !important;
  clip-path: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease),
    border-color var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease),
    color var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease),
    filter var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease),
    transform var(--industrial-hover-duration, 180ms) var(--industrial-hover-easing, ease) !important;
}

#orders .orders-submit svg {
  width: 18px !important;
  height: 18px !important;
  color: #fff !important;
  stroke: #fff !important;
  margin-right: 0.45rem;
  flex-shrink: 0;
}

#orders .orders-submit:hover {
  background: rgba(31, 95, 196, 1) !important;
  background-color: rgba(31, 95, 196, 1) !important;
  border-color: #4f97ff !important;
  color: #fff !important;
}

#orders .orders-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#orders .orders-contact-item {
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid rgba(79, 151, 255, 0.25);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#orders .orders-contact-item:first-child {
  padding-top: 0;
}

#orders .orders-contact-item>div {
  position: relative;
  min-height: 2.5rem;
  margin-bottom: 0 !important;
  padding-left: 3.5rem;
  text-align: left !important;
}

#orders .orders-contact-item>div>div {
  position: absolute;
  top: 0;
  left: 0;
  display: grid !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  place-items: center;
  border: 1px solid rgba(79, 151, 255, 0.48);
  border-radius: 0 !important;
  background: rgba(79, 151, 255, 0.07) !important;
}

#orders .orders-contact-item>div>div svg {
  width: 1.2rem !important;
  height: 1.2rem !important;
  color: #4f97ff !important;
}

#orders .orders-contact-item h4,
#orders .orders-contact-title {
  margin: 0 0 0.35rem;
  color: #f1f4f5;
  font-size: 1rem;
  font-weight: 600;
}

#orders .orders-contact-item p,
#orders .orders-contact-desc {
  margin: 0 0 0.55rem;
  color: #b5c0c5;
  font-size: 0.875rem;
}

#orders .orders-contact-link {
  color: #4f97ff !important;
  font-size: 1rem !important;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

#orders .orders-whatsapp {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(79, 151, 255, 0.28);
  border-left: 2px solid var(--accent-blue);
  border-radius: 0;
  background: var(--accent-blue-light) !important;
  text-align: left !important;
}

#orders .orders-whatsapp h4,
#orders .orders-whatsapp-title {
  margin: 0 0 0.5rem;
  color: #f1f4f5 !important;
  font-size: 1rem;
  font-weight: 600;
}

#orders .orders-whatsapp p,
#orders .orders-whatsapp-desc {
  margin: 0 0 1rem;
  color: #b5c0c5;
  font-size: 0.875rem;
}

#orders .orders-whatsapp .btn-accent {
  display: inline-flex;
  min-height: 44px;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(79, 151, 255, 0.45);
  border-radius: 6px;
  background: var(--accent-blue);
  backdrop-filter: blur(4px);
  color: #0b0e11;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast, 180ms ease);
}

#orders .orders-whatsapp .btn-accent:hover,
#orders .orders-whatsapp .btn-accent:focus-visible {
  background: #6baaff;
  border-color: #6baaff;
  color: #0b0e11;
}

#orders .orders-whatsapp .btn-accent:hover,
#orders .orders-whatsapp .btn-accent:focus,
#orders .orders-whatsapp .btn-accent:active {
  background: rgba(31, 95, 196, 1) !important;
  background-color: rgba(31, 95, 196, 1) !important;
  border-color: #4f97ff !important;
  color: #fff !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

@media (hover: hover) and (pointer: fine) {

  #orders .orders-submit:hover {
    background: rgba(31, 95, 196, 1) !important;
    background-color: rgba(31, 95, 196, 1) !important;
    border-color: #4f97ff !important;
    color: #fff !important;
    filter: drop-shadow(0 0 5px rgba(31, 95, 196, var(--industrial-hover-glow-opacity))) !important;
    transform: scale(1.02) translateY(-1px);
  }

  #orders .orders-whatsapp .btn-accent:hover,
  #orders .orders-whatsapp .btn-accent:active {
    background: rgba(31, 95, 196, 1) !important;
    background-color: rgba(31, 95, 196, 1) !important;
    border-color: #4f97ff !important;
    color: #fff !important;
    box-shadow: none !important;
    filter: none !important;
    transform: scale(1.02) translateY(-1px);
  }

  #orders .orders-contact-link:hover {
    color: #4f97ff !important;
  }
}

@media (max-width: 900px) {
  #orders .orders-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem !important;
  }
}

@media (max-width: 600px) {
  #orders,
  #orders.orders-section {
    scroll-margin-top: 4.5rem;
    padding: 2.5rem 0 4rem;
  }

  #orders .orders-intro {
    margin-bottom: 2rem;
  }

  #orders .orders-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem) !important;
  }

  #orders .orders-description {
    font-size: 1rem !important;
  }

  #orders .orders-field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem !important;
  }

  #orders .orders-form {
    padding: 1.25rem;
  }

  #orders .orders-whatsapp {
    padding: 1.2rem;
  }

  #orders .orders-whatsapp .btn-accent {
    width: 100%;
  }
}

/* Phase 5: Industrial footer redesign - Global */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #e9eef0;
  background-color: #12171b !important;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 44px 44px;
  background-position: 0 0;
  background-repeat: repeat;
}

.site-footer .footer-bg-pattern {
  display: none !important;
}

.site-footer .footer-inner {
  position: relative;
}

.site-footer .footer-main {
  padding: clamp(3.25rem, 6vw, 4.5rem) 1rem 3.5rem !important;
}

.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.72fr) minmax(0, 0.72fr) !important;
  column-gap: clamp(2rem, 4vw, 3.5rem) !important;
  row-gap: 2rem !important;
  align-items: start;
}

.site-footer .footer-brand-column {
  grid-column: auto;
  min-width: 0;
}

.site-footer .footer-brand-column>.space-y-6,
.site-footer .footer-grid>.space-y-6 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer .footer-brand-column .space-y-6>*,
.site-footer .footer-grid>.space-y-6>* {
  margin: 0;
}

.site-footer .footer-brand-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
  color: #f1f4f5 !important;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.site-footer .footer-brand-primary {
  color: #f1f4f5 !important;
}

.site-footer .footer-brand-city {
  color: #4f97ff !important;
}

.site-footer .footer-brand-column p,
.site-footer .footer-contact-item,
.site-footer .footer-credit {
  color: #b5c0c5 !important;
}

.site-footer .footer-brand-column>.space-y-6>.space-y-4 p {
  max-width: 440px !important;
  margin: 0;
  line-height: 1.7 !important;
}

.site-footer .footer-contact-item {
  display: flex;
  align-items: flex-start !important;
  gap: 0.7rem;
  min-width: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.site-footer .footer-contact-item svg {
  flex: 0 0 16px;
  margin: 0.18rem 0 0 !important;
  color: #4f97ff !important;
}

.site-footer .footer-brand-column h4,
.site-footer .footer-grid>.space-y-6 h4 {
  margin: 0;
  color: #f1f4f5;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
  width: fit-content;
  max-width: 100%;
}

.site-footer .footer-brand-column>.space-y-6>.space-y-4 h4 {
  position: relative;
  padding-bottom: 0.75rem;
}

.site-footer .footer-brand-column>.space-y-6>.space-y-4 h4::after,
.site-footer .footer-grid>.space-y-6>h4::after {
  display: block;
  width: min(7.25rem, 100%);
  max-width: 100%;
  height: 2px;
  margin-top: 0.7rem;
  background: #4f97ff;
  border-radius: 0;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease;
  box-shadow: none;
}

.site-footer .footer-brand-column>.space-y-6>.space-y-4 h4::after {
  display: none;
}

/* Small bar for the short title "Legal" */
.site-footer .footer-grid>.footer-legal-column>h4::after,
.site-footer .footer-grid>.space-y-6:last-child>h4::after,
.site-footer h4.footer-legal-title::after {
  width: 2.25rem;
  max-width: 100%;
}

.site-footer .footer-grid>.space-y-6>h4.is-revealed::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {

  .site-footer .footer-grid>.space-y-6>h4:hover::after,
  .site-footer .footer-grid>.space-y-6:hover>h4::after {
    transform: scaleX(1.30);
    background-color: #60a5fa;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .site-footer .footer-grid>.space-y-6>h4::after {
    width: min(6.5rem, 100%);
    max-width: 100%;
  }

  .site-footer .footer-grid>.footer-legal-column>h4::after,
  .site-footer .footer-grid>.space-y-6:last-child>h4::after,
  .site-footer h4.footer-legal-title::after {
    width: 2.25rem;
    max-width: 100%;
  }

  .site-footer .footer-grid>.space-y-6>h4:hover::after,
  .site-footer .footer-grid>.space-y-6:hover>h4::after {
    transform: scaleX(1);
  }
}

.site-footer .footer-main ul {
  display: grid;
  gap: 0.68rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-main ul li {
  margin: 0;
  padding: 0;
}

.site-footer .footer-main ul a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #c5cdd0 !important;
  font-size: 0.9rem !important;
  line-height: 1.5;
  text-decoration: none !important;
  transition: color 160ms ease;
  position: relative;
}

.site-footer .footer-main ul a::before {
  content: "•";
  color: inherit;
  font-size: 0.7rem;
  line-height: 1;
  flex-shrink: 0;
}

.site-footer .footer-main ul a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer .footer-main ul a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-footer .footer-newsletter-form {
  display: flex !important;
  width: 100%;
  max-width: 420px;
  gap: 0.5rem !important;
}

.site-footer .footer-newsletter-input {
  box-sizing: border-box;
  min-width: 0;
  flex: 1 1 auto !important;
  padding: 0.7rem 0.85rem !important;
  border: 1px solid rgba(177, 193, 199, 0.35) !important;
  border-radius: 0 !important;
  background: rgba(18, 23, 27, 0.82) !important;
  color: #f1f4f5 !important;
}

.site-footer .footer-newsletter-input::placeholder {
  color: #9daab0;
  opacity: 1;
}

.site-footer .footer-newsletter-input:focus {
  border-color: #4f97ff !important;
  outline: 2px solid rgba(79, 151, 255, 0.26);
  outline-offset: 1px;
}

.site-footer .footer-newsletter-submit {
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #1f5fc4 !important;
  color: #fff !important;
  clip-path: none;
}

.site-footer .footer-grid>.space-y-6:last-child>.space-y-4 {
  margin-top: 0.75rem;
}

.site-footer .footer-grid>.space-y-6:last-child>.space-y-4>.footer-social-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.65rem !important;
}

.site-footer .footer-social-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 151, 255, 0.35);
  border-radius: 6px;
  background: var(--accent-blue-light);
  color: var(--foreground);
  transition: all var(--transition-fast, 180ms ease);
  text-decoration: none;
}

.site-footer .footer-social-link svg {
  width: 18px;
  height: 18px;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(79, 151, 255, 0.2);
  background: rgba(12, 17, 20, 0.32);
}

.site-footer .footer-bottom-container {
  padding: 1.1rem 1rem !important;
}

.site-footer .footer-bottom-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

.site-footer .footer-copyright,
.site-footer .footer-credit {
  color: #96a4aa !important;
  font-size: 0.8rem !important;
  line-height: 1.55;
}

.site-footer .footer-copyright {
  text-align: left !important;
}

.site-footer .footer-bottom-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem !important;
}

.site-footer .footer-back-top {
  display: inline-flex;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 151, 255, 0.45);
  border-radius: 6px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  clip-path: none;
  cursor: pointer;
  transition: all var(--transition-fast, 180ms ease);
}

.site-footer .footer-back-top svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer .footer-main ul a:hover {
    color: #4f97ff !important;
  }

  .site-footer .footer-social-link:hover {
    border-color: #4f97ff !important;
    background: rgba(79, 151, 255, 0.16) !important;
    color: #f1f4f5 !important;
    transform: none !important;
  }

  .site-footer .footer-newsletter-submit:hover {
    background: #1f5fc4 !important;
    filter: brightness(1.03);
  }

  .site-footer .footer-back-top:hover {
    border-color: #4f97ff !important;
    background: rgba(79, 151, 255, 0.2) !important;
    color: #f1f4f5 !important;
    transform: none !important;
  }
}

.site-footer a:focus-visible,
.site-footer button:focus-visible,
.site-footer input:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1023px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 2rem !important;
  }

  .site-footer .footer-brand-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer .footer-brand-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-main {
    padding: 3rem 1rem 2.5rem !important;
  }

  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.25rem !important;
  }

  .site-footer .footer-brand-column {
    grid-column: 1 / -1;
  }

  .site-footer .footer-bottom-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .site-footer .footer-bottom-inner>div:last-child {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer .footer-copyright {
    text-align: left !important;
  }
}


/* Optional product catalog data and neutral states. */
.product-reference {
  color: #4f97ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.product-media--empty {
  min-height: 11rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(79, 151, 255, 0.15);
}

.products-empty-state {
  grid-column: 1 / -1;
  color: var(--muted-foreground);
  margin: 0 auto;
  text-align: center;
}

.single-product-layout--no-image>.card-premium {
  grid-column: 1 / -1;
}

.product-detail-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.product-detail-list {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
  padding-left: 1.25rem;
}

.single-product-technical-sheet {
  margin-top: 3rem;
}

.product-technical-sheet-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* Technical data shown only on the Herraje Cruce americano product sheet. */
.product-technical-data {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2rem;
}

.product-technical-data__heading {
  margin: 1rem 0 0.75rem;
  color: var(--foreground);
  font-size: 1.05rem;
  font-weight: 600;
}


.product-technical-data__paragraph {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 62ch;
  text-wrap: pretty;
}

.product-technical-data__list {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.product-technical-data__list>div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(79, 151, 255, 0.16);
}

.product-technical-data__list dt {
  color: var(--foreground);
  font-weight: 600;
}

.product-technical-data__list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.product-technical-data__table-wrap {
  width: 100%;
  max-width: 100%;
}

.product-technical-data__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.product-technical-data__table th,
.product-technical-data__table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid rgba(79, 151, 255, 0.16);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.product-technical-data__table thead th,
.product-technical-data__table tbody th {
  color: var(--foreground);
  font-weight: 600;
}

.product-technical-data__table thead th:first-child {
  width: 68%;
}

@media (max-width: 600px) {
  .product-technical-data__list>div {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 0.65rem;
  }

  .product-technical-data__table th,
  .product-technical-data__table td {
    padding: 0.6rem 0.4rem;
    font-size: 0.9rem;
  }
}



.product-technical-data__table-wrap--scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-technical-data__table--helicoidal {
  min-width: 680px;
}

.product-technical-data__table--helicoidal thead th:first-child {
  width: 22%;
}

.product-technical-data__table--helicoidal thead th:nth-child(2) {
  width: 22%;
}

.product-technical-data__table--helicoidal thead th:nth-child(3) {
  width: 40%;
}

.product-technical-data__table--helicoidal thead th:nth-child(4) {
  width: 16%;
}

/* Single Product Layout & Centered Alignment */
.single-product-page article,
.single-product-article {
  max-width: 1020px;
  margin-inline: auto;
  width: 100%;
}

/* Single Product Name in Card */
.single-product-page .single-product-title,
.card-premium--compact-match header h1 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin-bottom: 0.5rem !important;
}

/* Single Product: Back button position */
.single-product-page .single-product-back-nav,
.single-product-article .single-product-back-nav,
.single-product-page p:has(> .btn-outline-premium) {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

@media (max-width: 768px) {
  .single-product-page .single-product-back-nav,
  .single-product-article .single-product-back-nav,
  .single-product-page p:has(> .btn-outline-premium) {
    margin-top: 0.35rem !important;
    margin-bottom: 1.25rem !important;
  }
}

/* Single Product: 8px border-radius for all cards and buttons */
.single-product-page .card-premium,
.single-product-article .card-premium,
.single-product-page .single-product-technical-sheet,
.single-product-page .single-product-image-col,
.single-product-page .single-product-image-col img,
.single-product-page .product-technical-data__block {
  border-radius: 8px !important;
}

.single-product-page .btn-outline-premium,
.single-product-page .btn-accent,
.single-product-page .btn-hero,
.single-product-article .btn-outline-premium,
.single-product-article .btn-accent,
.single-product-article .btn-hero,
.single-product-page a[class*="btn-"],
.single-product-page button[class*="btn-"] {
  border-radius: 8px !important;
}

/* Single Product: 'Todos los productos' button matching product card button (color, transparency, behavior) */
.single-product-page .single-product-back-link,
.single-product-article .single-product-back-link,
.single-product-page .single-product-back-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  border: 1px solid rgba(79, 151, 255, 0.45) !important;
  border-radius: 8px !important;
  background: rgba(31, 95, 196, 0.70) !important;
  color: #ffffff !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: none !important;
  filter: none !important;
  transform: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color var(--industrial-hover-duration, 200ms) var(--industrial-hover-easing, ease),
    border-color var(--industrial-hover-duration, 200ms) var(--industrial-hover-easing, ease),
    color var(--industrial-hover-duration, 200ms) var(--industrial-hover-easing, ease),
    transform var(--industrial-hover-duration, 200ms) var(--industrial-hover-easing, ease);
}

@media (hover: hover) and (pointer: fine) {

  .single-product-page .single-product-back-link:hover,
  .single-product-article .single-product-back-link:hover,
  .single-product-page .single-product-back-nav a:hover,
  body.dracula-style-all.dracula-processed .single-product-page .single-product-back-nav a.dracula-ignore:hover {
    border-color: #4f97ff !important;
    background: rgba(31, 95, 196, 1) !important;
    background-color: #1f5fc4 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
    transform: scale(var(--industrial-hover-scale, 1.025)) translateY(-1px) !important;
  }
}

@media (hover: none),
(pointer: coarse) {

  .single-product-page .single-product-back-link:hover,
  .single-product-article .single-product-back-link:hover,
  .single-product-page .single-product-back-nav a:hover {
    border-color: #4f97ff !important;
    background: rgba(31, 95, 196, 0.72) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
  }
}

.single-product-page .single-product-back-link:focus-visible,
.single-product-article .single-product-back-link:focus-visible,
.single-product-page .single-product-back-nav a:focus-visible {
  outline: 2px solid #4f97ff;
  outline-offset: 4px;
}

.single-product-image-col {
  border: 1px solid rgba(79, 151, 255, 0.28) !important;
  background: #171e22 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  border-radius: 12px !important;
  overflow: hidden;
  height: auto;
  align-self: start;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.single-product-image-col img {
  border-radius: 8px !important;
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: normal;
  filter: none;
  transition: transform 240ms ease;
}

@media (min-width: 1024px) {
  .single-product-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important;
    gap: 2.5rem !important;
    align-items: stretch !important;
  }

  .single-product-image-col {
    display: flex;
    height: 100%;
    min-height: 480px;
    width: 100%;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    background: #171e22 !important;
  }

  .single-product-image-col img {
    width: 100% !important;
    max-height: 520px;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block;
    mix-blend-mode: normal;
    filter: none;
  }

  .single-product-layout>.card-premium,
  .card-premium--compact-match {
    max-width: 100%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-premium--compact-match header {
    margin-bottom: 1.25rem !important;
  }

  .card-premium--compact-match header h1 {
    margin-bottom: 0.5rem !important;
  }

  .card-premium--compact-match h2 {
    margin: 1.25rem 0 0.75rem !important;
  }

  .card-premium--compact-match .single-product-cta-wrap,
  .single-product-layout>.card-premium>p:last-child {
    margin-top: auto !important;
  }
}

.single-product-layout--no-image {
  grid-template-columns: 1fr !important;
}

.single-product-layout--no-image>.card-premium {
  grid-column: 1 / -1;
  max-width: 100% !important;
}

.single-product-technical-sheet {
  width: 100%;
  box-sizing: border-box;
}

.product-technical-data {
  min-width: 0;
  max-width: 100%;
}

.product-technical-data__block {
  min-width: 0;
  max-width: 100%;
}

.product-technical-data__table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1023px) {
  .single-product-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .single-product-layout>.card-premium,
  .card-premium--compact-match {
    max-width: 100%;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .single-product-image-col {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Single Product Engineering View & B2B Conversion Funnel
   ========================================================================== */

.single-product-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.single-product-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.88rem;
  color: #8b9ca5;
}

.single-product-breadcrumbs a {
  color: #8b9ca5;
  text-decoration: none;
  transition: color 150ms ease;
}

.single-product-breadcrumbs a:hover {
  color: #4f97ff;
}

.single-product-breadcrumbs .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
}

.single-product-breadcrumbs .breadcrumb-current {
  color: #f2f5f6;
  font-weight: 500;
}

.single-product-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.single-product-tag {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(79, 151, 255, 0.12);
  color: #7cb2ff;
  border: 1px solid rgba(79, 151, 255, 0.25);
}

.product-reference-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #8b9ca5;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-reference-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f5c518;
  letter-spacing: 0.02em;
}

.single-product-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #f2f5f6;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.single-product-section-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b9ca5;
  margin: 1.5rem 0 0.75rem;
}

.single-product-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.single-product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #cad5dc;
  font-size: 0.95rem;
  line-height: 1.55;
}

.single-product-features-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f97ff;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.single-product-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-whatsapp-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: 50px;
  background: #25d366;
  color: #0b141a !important;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 180ms ease, transform 150ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.btn-whatsapp-quote:hover {
  background: #20bd5a;
  color: #0b141a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.btn-whatsapp-quote svg {
  fill: currentColor;
  flex-shrink: 0;
}

.btn-outline-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: 46px;
  background: rgba(79, 151, 255, 0.08);
  color: #7cb2ff !important;
  border: 1px solid rgba(79, 151, 255, 0.35);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 180ms ease;
}

.btn-outline-quote:hover {
  background: rgba(79, 151, 255, 0.18);
  border-color: #4f97ff;
  color: #ffffff !important;
}

.product-sheet-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding: 1.5rem 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(79, 151, 255, 0.18);
  border-radius: 0;
  box-shadow: none;
}

.product-sheet-download-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-sheet-pdf-icon {
  color: #e5484d;
  flex-shrink: 0;
}

.product-sheet-download-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #f2f5f6;
  margin: 0 0 0.25rem;
}

.product-sheet-download-meta {
  font-size: 0.85rem;
  color: #8b9ca5;
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
}

.btn-download-sheet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #1b242b;
  border: 1px solid rgba(79, 151, 255, 0.35);
  color: #f2f5f6 !important;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 180ms ease;
  white-space: nowrap;
}

.btn-download-sheet:hover {
  background: #4f97ff;
  color: #ffffff !important;
  border-color: #4f97ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.tech-code-mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88em;
  background: rgba(79, 151, 255, 0.12);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  color: #7cb2ff;
  font-weight: 500;
}

@media (max-width: 640px) {
  .product-sheet-download-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1rem;
  }

  .btn-download-sheet {
    justify-content: center;
    width: 100%;
  }
}

/* Homepage lighter graphite tone based on footer original #12171b (retaining header and footer colors) */
.homepage-main-content,
.homepage-main-content #hero.section-hero,
.homepage-main-content #services.section-elegant.services-section,
.homepage-main-content .section-divider-line-wrap,
.homepage-main-content #products.products-section,
.homepage-main-content #orders.orders-section,
body.home,
body.home #hero.section-hero,
body.home #services.section-elegant.services-section,
body.home .section-divider-line-wrap,
body.home #products.products-section,
body.home #orders.orders-section {
  background-color: #12171b00 !important;
}

/* ==========================================================================
   Legal Pages (Política de Cookies, Privacidad, Términos)
   ========================================================================== */

.legal-page {
  min-height: 100vh;
  background-color: #12171b;
  background-image:
    linear-gradient(rgba(79, 151, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 151, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--about-muted, #93a4b0);
  font-family: 'IBM Plex Sans', sans-serif;
}

.legal-page .legal-hero {
  padding: 8.5rem 0 3.5rem !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(79, 151, 255, 0.2);
}

.legal-page .legal-hero__content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-page .legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(79, 151, 255, 0.55);
  color: #4f97ff;
  font: 500 0.75rem/1.4 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page .legal-title {
  margin: 0 0 1rem;
  color: var(--about-ink, #eef4f8) !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
}

.legal-page .legal-lead {
  max-width: 720px;
  margin: 0;
  color: var(--about-muted, #93a4b0);
  font: 400 clamp(0.95rem, 1.4vw, 1.1rem)/1.7 'IBM Plex Sans', sans-serif;
}

.legal-page .legal-content {
  padding: 3.5rem 0 6rem !important;
  background: transparent !important;
}

.legal-page .legal-article {
  max-width: 900px;
  margin: 0 auto;
  color: var(--about-muted, #93a4b0);
  font: 400 1rem/1.8 'IBM Plex Sans', sans-serif;
}

.legal-page .legal-article h2 {
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(79, 151, 255, 0.25);
  color: var(--about-ink, #eef4f8);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.legal-page .legal-article h2:first-of-type {
  margin-top: 0;
}

.legal-page .legal-article h3 {
  margin: 2rem 0 0.85rem;
  color: #4f97ff;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-page .legal-article p {
  margin: 0 0 1.25rem;
}

.legal-page .legal-article strong {
  color: var(--about-ink, #eef4f8);
  font-weight: 600;
}

.legal-page .legal-article ul,
.legal-page .legal-article ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.legal-page .legal-article li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-page .legal-article a {
  color: #4f97ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-smooth, 0.2s ease);
}

.legal-page .legal-article a:hover {
  color: #82b6ff;
}

.legal-page .legal-article code {
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(79, 151, 255, 0.1);
  border: 1px solid rgba(79, 151, 255, 0.25);
  color: #4f97ff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.88em;
}

/* Sencilla y legible tabla de cookies responsive */
.legal-page .legal-table-responsive {
  width: 100%;
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(79, 151, 255, 0.25);
  border-radius: 8px;
  background: rgba(23, 30, 34, 0.72);
}

.legal-page .legal-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.legal-page .legal-table th,
.legal-page .legal-table td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(79, 151, 255, 0.15);
  vertical-align: top;
}

.legal-page .legal-table th {
  background: rgba(18, 23, 27, 0.85);
  color: var(--about-ink, #eef4f8);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.legal-page .legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-page .legal-table td:first-child {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .legal-page .legal-hero {
    padding: 7.5rem 0 2.5rem !important;
  }

  .legal-page .legal-content {
    padding: 2.5rem 0 4rem !important;
  }
}

@media (max-width: 420px) {
  .legal-page .legal-hero {
    padding-top: 7rem !important;
  }

  .legal-page .legal-title {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  #services .services-title::after,
  #products .products-title::after,
  .site-footer .footer-grid>.space-y-6>h4::after {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}