/* =========================================================
   ALSO DESIGN
   Archivo: assets/css/styles.css
   Versión: 2.1
   Rediseño premium industrial / CNC / EOAT
   ========================================================= */

/* =========================
   Variables
   ========================= */

:root {
  --color-primary: #02627B;
  --color-primary-bright: #118CCB;
  --color-primary-soft: rgba(17, 140, 203, 0.13);
  --color-primary-glow: rgba(17, 140, 203, 0.38);

  --color-white: #FFFFFF;
  --color-black: #05080C;

  --bg-main: #F5F7F9;
  --bg-surface: #FFFFFF;
  --bg-soft: #EDF1F4;

  --text-main: #111820;
  --text-muted: #5D6670;
  --text-soft: #8A94A0;

  --border: rgba(17, 24, 32, 0.12);
  --border-strong: rgba(17, 24, 32, 0.22);

  --dark-main: #05080C;
  --dark-surface: #0B1118;
  --dark-card: #101822;
  --dark-line: rgba(255, 255, 255, 0.12);

  --shadow-soft: 0 18px 45px rgba(5, 8, 12, 0.10);
  --shadow-card: 0 14px 34px rgba(5, 8, 12, 0.09);
  --shadow-premium: 0 28px 80px rgba(0, 0, 0, 0.42);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1220px;
  --header-height: 78px;

  --font-main: Arial, Helvetica, sans-serif;

  --transition: 190ms ease;
  --transition-slow: 520ms ease;
}

html[data-theme="dark"] {
  --bg-main: #070B10;
  --bg-surface: #0D141C;
  --bg-soft: #121C26;

  --text-main: #F4F8FB;
  --text-muted: #B4C0CA;
  --text-soft: #7D8B98;

  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.36);
  --shadow-card: 0 16px 38px rgba(0, 0, 0, 0.28);
}

/* =========================
   Reset base
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--color-primary-bright);
  color: var(--color-white);
}

/* =========================
   Layout base
   ========================= */

.container {
  width: min(100% - 56px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.section-compact {
  padding: 74px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--color-primary-bright);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.image-text-content h2,
.contact-cta h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading p,
.image-text-content p,
.contact-cta p {
  margin: 15px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
}

.section-heading-centered p {
  margin-inline: auto;
}

/* =========================
   Botones
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #0572A3, #118CCB);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(17, 140, 203, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(17, 140, 203, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: #12191C;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--color-primary-bright);
  color: var(--color-primary-bright);
  background: var(--color-primary-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(17, 140, 203, 0.72);
  color: var(--color-white);
}

.premium-btn {
  min-width: 176px;
  height: 48px;
}

.small-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
  color: var(--color-primary-bright);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.small-link::after {
  content: "→";
  margin-left: 7px;
  transition: transform var(--transition);
}

.small-link:hover::after {
  transform: translateX(3px);
}

/* =========================
   Header general
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.site-header-overlay,
.premium-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  background: linear-gradient(
    180deg,
    rgba(5, 8, 12, 0.78),
    rgba(5, 8, 12, 0.28)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header-overlay.is-scrolled,
.premium-header.is-scrolled {
  background: rgba(5, 8, 12, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.premium-brand,
.logo-only-brand {
  height: 54px;
}

.site-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.premium-logo {
  width: auto;
  height: 54px;
  max-width: 220px;
  object-fit: contain;
}

.logo-only-brand .premium-logo {
  width: auto;
  height: 54px;
  max-width: 235px;
  object-fit: contain;
}

.brand-text {
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link,
.dropdown-toggle {
  position: relative;
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition:
    color var(--transition),
    background var(--transition);
}

.premium-header .site-brand,
.premium-header .nav-link,
.premium-header .dropdown-toggle,
.site-header-overlay .site-brand,
.site-header-overlay .nav-link,
.site-header-overlay .dropdown-toggle {
  color: rgba(255, 255, 255, 0.82);
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link.active,
.dropdown-toggle.active {
  color: var(--color-white);
  background: transparent;
}

.premium-header .nav-link::after,
.premium-header .dropdown-toggle::after,
.site-header-overlay .nav-link::after,
.site-header-overlay .dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-bright), rgba(17, 140, 203, 0));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.premium-header .nav-link:hover::after,
.premium-header .dropdown-toggle:hover::after,
.premium-header .nav-link.active::after,
.premium-header .dropdown-toggle.active::after,
.site-header-overlay .nav-link:hover::after,
.site-header-overlay .dropdown-toggle:hover::after,
.site-header-overlay .nav-link.active::after,
.site-header-overlay .dropdown-toggle.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.dropdown-icon {
  font-size: 0.68rem;
  opacity: 0.8;
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 242px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(8, 13, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
}

.nav-item-dropdown.open .dropdown-menu,
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    color var(--transition),
    background var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(17, 140, 203, 0.14);
  color: var(--color-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-toggle,
.theme-toggle {
  width: 42px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 900;
  font-size: 0.72rem;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.premium-toggle,
.premium-header .language-toggle,
.premium-header .theme-toggle,
.site-header-overlay .language-toggle,
.site-header-overlay .theme-toggle {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
}

.language-toggle:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--color-primary-bright);
  color: var(--color-white);
  background: rgba(17, 140, 203, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--color-white);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   Hero slider premium
   ========================= */

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--dark-main);
  color: var(--color-white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition:
    opacity 820ms ease,
    visibility 820ms ease,
    transform 1400ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-bg,
.hero-slide-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.02);
  transition: transform 5000ms linear;
}

.hero-slide.is-active .hero-slide-bg img {
  transform: scale(1.08);
}

.hero-slide-overlay {
  background:
    radial-gradient(circle at 72% 52%, rgba(17, 140, 203, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(3, 7, 12, 0.94) 0%, rgba(3, 7, 12, 0.80) 34%, rgba(3, 7, 12, 0.36) 64%, rgba(3, 7, 12, 0.80) 100%),
    linear-gradient(180deg, rgba(3, 7, 12, 0.74) 0%, rgba(3, 7, 12, 0.14) 42%, rgba(3, 7, 12, 0.92) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 116px 0 126px;
}

.premium-hero-copy {
  width: min(650px, 100%);
  padding-top: 16px;
}

.hero-copy-balanced {
  width: min(610px, 100%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-primary-bright);
}

.premium-hero-copy h1 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(2.55rem, 4.65vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.064em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 900px;
}

.hero-copy-balanced h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 4.35vw, 4.55rem);
  line-height: 0.97;
}

.premium-hero-copy h1 strong,
.premium-hero-copy h1 span {
  color: var(--color-primary-bright);
}

.premium-hero-copy p {
  margin: 24px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-cert-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 10px;
  max-width: 590px;
  margin-top: 34px;
}

.hero-cert {
  position: relative;
  min-height: 84px;
  padding: 13px 10px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--color-white);
}

.hero-cert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 1px;
  height: 34px;
  background: var(--color-primary-bright);
  opacity: 0.65;
}

.hero-cert-icon {
  display: block;
  color: var(--color-primary-bright);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-cert strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hero-cert small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-slider-ui {
  position: absolute;
  left: 50%;
  bottom: 44px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 26px;
  pointer-events: none;
}

.hero-slide-numbers {
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
}

.hero-slide-numbers button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transition:
    color var(--transition),
    transform var(--transition);
}

.hero-slide-numbers button:hover,
.hero-slide-numbers button.is-active {
  color: var(--color-primary-bright);
  transform: translateY(-1px);
}

.hero-slider-line {
  width: 170px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.20);
}

.hero-slider-line span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-bright), rgba(17, 140, 203, 0));
  transition: transform 520ms ease;
}

/* =========================
   Badge / certificación ISO del hero
   ========================= */

.hero-quality-badge {
  position: absolute;
  right: max(28px, calc((100vw - var(--container)) / 2));
  bottom: 42px;
  z-index: 6;
  width: 230px;
  min-height: 72px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #0A1320;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.hero-quality-badge strong {
  height: 48px;
  display: grid;
  place-items: center;
  background: #0B2A47;
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.10em;
}

.hero-quality-badge span {
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.22;
  text-transform: uppercase;
}

.hero-quality-badge-image {
  width: 190px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
}

.hero-quality-badge-image picture,
.hero-quality-badge-image img {
  display: block;
  width: 100%;
}

.hero-quality-badge-image img {
  height: auto;
  max-height: 104px;
  object-fit: contain;
}

/* =========================
   Premium home sections
   ========================= */

.premium-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(17, 140, 203, 0.07), transparent 30%),
    var(--bg-main);
}

.premium-intro {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.premium-intro-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.premium-cards-section {
  padding: 0 0 96px;
  background: var(--bg-main);
}

.premium-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.premium-product-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.premium-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 140, 203, 0.52);
  box-shadow: 0 24px 64px rgba(5, 8, 12, 0.17);
}

.premium-product-image {
  display: block;
  height: 300px;
  overflow: hidden;
  background: #0B1118;
}

.premium-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms ease;
}

.premium-product-card:hover .premium-product-image img {
  transform: scale(1.055);
}

.premium-product-body {
  position: relative;
  padding: 24px 22px 26px;
}

.premium-product-body::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -26px;
  width: 78px;
  height: 52px;
  background: linear-gradient(135deg, #0A2947, #04101D);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  border-top: 2px solid var(--color-primary-bright);
}

.premium-product-body span {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--color-primary-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.premium-product-body h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 1.45rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.premium-product-body p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.premium-dark-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 50%, rgba(17, 140, 203, 0.20), transparent 30%),
    linear-gradient(135deg, #05080C, #0B1520 56%, #05080C);
  color: var(--color-white);
}

.premium-dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  opacity: 0.35;
  pointer-events: none;
}

.premium-band-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.premium-dark-band .section-heading h2 {
  color: var(--color-white);
}

.premium-dark-band .section-heading p {
  color: rgba(255, 255, 255, 0.70);
}

.premium-feature-list {
  display: grid;
  gap: 14px;
}

.premium-feature-list div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 3px solid var(--color-primary-bright);
}

.premium-feature-list strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.premium-feature-list span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.premium-final-cta {
  background:
    radial-gradient(circle at 85% 0%, rgba(17, 140, 203, 0.08), transparent 28%),
    var(--bg-main);
}

/* =========================
   WhatsApp flotante
   ========================= */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1CBF63, #0D9F4D);
  color: var(--color-white);
  box-shadow: 0 18px 42px rgba(13, 159, 77, 0.36);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.floating-whatsapp::before {
  content: "☎";
  font-size: 1.45rem;
  font-weight: 900;
}

.floating-whatsapp span {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.90);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(13, 159, 77, 0.48);
}

.floating-whatsapp:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

/* =========================
   Franja / secciones anteriores
   ========================= */

.promo-strip {
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
}

.promo-strip-minimal {
  border-top: 0;
}

.promo-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 42px);
  flex-wrap: wrap;
}

.promo-inner span,
.promo-inner a {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo-inner a:hover {
  color: var(--color-primary-bright);
}

.home-solutions {
  background: var(--bg-main);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solutions-grid-clean {
  gap: 20px;
}

.solution-card {
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.solution-card-clean {
  border-radius: 12px;
  box-shadow: none;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 140, 203, 0.42);
  box-shadow: var(--shadow-soft);
}

.solution-image {
  display: block;
  height: 164px;
  background: var(--bg-soft);
  overflow: hidden;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.solution-card:hover .solution-image img {
  transform: scale(1.04);
}

.solution-body {
  padding: 18px;
}

.solution-body h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 1.03rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.solution-body p {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================
   Imagen + texto / contacto / footer
   ========================= */

.image-text-section {
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
}

.image-text-section-clean {
  background: var(--bg-surface);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.image-text-media {
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}

.image-text-section-clean .image-text-media {
  border-radius: 12px;
  box-shadow: none;
}

.image-text-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.compact-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.compact-points div {
  padding: 16px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.compact-points-clean div {
  border-radius: 10px;
  box-shadow: none;
}

.compact-points strong,
.compact-points span {
  display: block;
}

.compact-points strong {
  color: var(--text-main);
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.compact-points span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-cta {
  padding: 74px 0;
}

.contact-cta-minimal {
  background: var(--bg-main);
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-cta-minimal .contact-cta-inner {
  border-radius: 14px;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.premium-footer {
  background: #05080C;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: inherit;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-logo-only img {
  width: auto;
  height: 44px;
  max-width: 210px;
  object-fit: contain;
}

.footer-brand span {
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: right;
}

.premium-footer p {
  color: rgba(255, 255, 255, 0.62);
}

/* =========================
   Páginas internas
   ========================= */

.inner-hero {
  padding: 140px 0 72px;
  background:
    radial-gradient(circle at 82% 30%, rgba(17, 140, 203, 0.12), transparent 30%),
    linear-gradient(135deg, var(--bg-surface), var(--bg-soft));
  border-bottom: 1px solid var(--border);
}

.inner-hero-content {
  max-width: 800px;
}

.inner-hero h1 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.inner-hero p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 650px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.content-card {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 140, 203, 0.42);
  box-shadow: var(--shadow-card);
}

.content-card h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.content-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-card {
  padding: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.contact-card h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.contact-card p {
  margin: 14px 0 0;
  color: var(--text-muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  font-weight: 900;
}

.contact-list a:hover {
  border-color: rgba(17, 140, 203, 0.42);
  color: var(--color-primary-bright);
}

.contact-list span {
  color: var(--text-muted);
  font-weight: 700;
}

/* =========================
   Fallback imágenes
   ========================= */

img.is-missing {
  opacity: 0;
}

.image-fallback {
  position: relative;
  background:
    linear-gradient(135deg, rgba(17, 140, 203, 0.14), rgba(99, 99, 101, 0.10)),
    var(--bg-soft);
}

.image-fallback::after {
  content: "ALSO DESIGN";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-primary-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

/* =========================
   Animaciones
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide-bg img {
    transform: none !important;
  }
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1120px) {
  .premium-card-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-quality-badge {
    right: 28px;
    bottom: 108px;
  }

  .hero-quality-badge-image {
    width: 158px;
    min-height: 96px;
  }

  .hero-quality-badge-image img {
    max-height: 82px;
  }

  .hero-slider-ui {
    justify-content: flex-start;
  }

  .premium-hero-copy {
    width: min(620px, 100%);
  }
}

@media (max-width: 1040px) {
  .image-text-grid,
  .contact-cta-inner,
  .contact-panel,
  .premium-intro-grid,
  .premium-band-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 30px, var(--container));
  }

  .premium-logo,
  .logo-only-brand .premium-logo {
    height: 46px;
    max-width: 188px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 15px;
    right: 15px;
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow-y: auto;
    display: block;
    padding: 14px;
    background: rgba(5, 8, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    display: grid;
    gap: 4px;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding-inline: 14px;
    border-radius: 10px;
  }

  .premium-header .nav-link::after,
  .premium-header .dropdown-toggle::after,
  .site-header-overlay .nav-link::after,
  .site-header-overlay .dropdown-toggle::after {
    left: 14px;
    right: auto;
    width: 34px;
  }

  .nav-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .language-toggle,
  .theme-toggle {
    width: 48px;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    padding: 6px;
    box-shadow: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    display: none;
  }

  .nav-item-dropdown.open:hover .dropdown-menu {
    display: block;
  }

  .hero-slide-content {
    align-items: end;
    padding: 120px 0 124px;
  }

  .premium-hero-copy,
  .hero-copy-balanced {
    width: min(100%, 600px);
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(2.45rem, 9vw, 3.9rem);
    line-height: 0.98;
  }

  .premium-hero-copy p {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .hero-cert-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 26px;
  }

  .hero-quality-badge {
    display: none;
  }

  .hero-slider-ui {
    bottom: 34px;
  }

  .premium-section {
    padding: 72px 0;
  }

  .premium-cards-section {
    padding-bottom: 72px;
  }

  .premium-product-card {
    min-height: auto;
  }

  .premium-product-image {
    height: 280px;
  }

  .section,
  .section-compact {
    padding: 64px 0;
  }

  .image-text-media,
  .image-text-media img {
    min-height: 340px;
  }

  .footer-inner {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo-only img {
    height: 40px;
    max-width: 190px;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .premium-logo,
  .logo-only-brand .premium-logo {
    height: 42px;
    max-width: 170px;
  }

  .hero-slide-bg img {
    object-position: center;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(3, 7, 12, 0.70) 0%, rgba(3, 7, 12, 0.50) 38%, rgba(3, 7, 12, 0.95) 100%),
      linear-gradient(90deg, rgba(3, 7, 12, 0.92), rgba(3, 7, 12, 0.58));
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(2.1rem, 10.5vw, 3.05rem);
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .premium-hero-copy p {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .premium-btn {
    width: 100%;
  }

  .hero-cert-row {
    display: none;
  }

  .hero-slider-ui {
    gap: 16px;
  }

  .hero-slide-numbers {
    gap: 13px;
  }

  .hero-slider-line {
    width: 110px;
  }

  .premium-card-grid,
  .solutions-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .premium-product-image {
    height: 320px;
  }

  .section-heading h2,
  .image-text-content h2,
  .contact-cta h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .contact-cta {
    padding: 60px 0;
  }

  .contact-cta-inner {
    padding: 24px;
    border-radius: 14px;
  }

  .inner-hero {
    padding: 112px 0 54px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp span {
    display: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .premium-logo,
  .logo-only-brand .premium-logo {
    height: 38px;
    max-width: 152px;
  }

  .hero-slide-content {
    padding: 106px 0 112px;
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(1.95rem, 10.5vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .section,
  .section-compact,
  .premium-section {
    padding: 54px 0;
  }

  .premium-cards-section {
    padding-bottom: 54px;
  }

  .premium-product-image {
    height: 280px;
  }

  .premium-product-body {
    padding: 22px 18px 24px;
  }

  .solution-body {
    padding: 16px;
  }
}
/* =========================================================
   ALSO DESIGN
   Ajustes finales versión 2.2
   Hero más elegante / logo / ISO badge / responsive
   Pegar al final de styles.css
   ========================================================= */

/* =========================
   Header / Logo
   ========================= */

.logo-only-brand,
.premium-brand {
  height: 58px;
  display: inline-flex;
  align-items: center;
}

.logo-only-brand .premium-logo,
.premium-logo {
  width: auto;
  height: 54px;
  max-width: 245px;
  object-fit: contain;
}

.premium-header .header-inner {
  gap: 28px;
}

/* =========================
   Hero principal más fino
   ========================= */

.hero-slider {
  min-height: 100vh;
}

.hero-slide-content {
  min-height: 100vh;
  padding: 116px 0 118px;
  align-items: center;
}

.premium-hero-copy,
.hero-copy-balanced {
  width: min(585px, 100%);
  padding-top: 12px;
}

/* Este es el ajuste clave: baja el tamaño real del mega texto */
.premium-hero-copy h1,
.hero-copy-balanced h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 3.65vw, 3.95rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

/* Texto descriptivo más compacto */
.premium-hero-copy p,
.hero-copy-balanced p {
  margin-top: 20px;
  max-width: 500px;
  font-size: 0.96rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.76);
}

.hero-kicker {
  margin-bottom: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.hero-kicker::before {
  width: 28px;
}

/* Botones un poco más compactos */
.hero-actions {
  margin-top: 28px;
  gap: 12px;
}

.premium-btn {
  min-width: 164px;
  height: 46px;
  font-size: 0.74rem;
}

/* Certificaciones/capacidades del hero menos pesadas */
.hero-cert-row {
  max-width: 540px;
  margin-top: 30px;
  gap: 8px;
}

.hero-cert {
  min-height: 76px;
  padding: 12px 9px 10px;
}

.hero-cert-icon {
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero-cert strong {
  font-size: 0.64rem;
}

.hero-cert small {
  font-size: 0.6rem;
}

/* =========================
   Imagen ISO / Certificación
   ========================= */

.hero-quality-badge {
  right: max(28px, calc((100vw - var(--container)) / 2));
  bottom: 42px;
}

.hero-quality-badge-image {
  width: 180px;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.hero-quality-badge-image picture,
.hero-quality-badge-image img {
  display: block;
  width: 100%;
}

.hero-quality-badge-image img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

/* Elimina estructura antigua del badge cuando sea imagen */
.hero-quality-badge-image strong,
.hero-quality-badge-image span {
  display: none;
}

/* =========================
   Controles del slider
   ========================= */

.hero-slider-ui {
  bottom: 42px;
  z-index: 7;
}

.hero-slide-numbers button {
  font-size: 0.82rem;
}

.hero-slider-line {
  width: 150px;
}

/* =========================
   Footer logo solo imagen
   ========================= */

.footer-logo-only {
  display: inline-flex;
  align-items: center;
}

.footer-logo-only img {
  width: auto;
  height: 44px;
  max-width: 215px;
  object-fit: contain;
}

.footer-logo-only span,
.footer-brand.footer-logo-only span {
  display: none;
}

/* =========================
   Cards más equilibradas
   ========================= */

.premium-product-card {
  min-height: 470px;
}

.premium-product-image {
  height: 285px;
}

.premium-product-body h3 {
  font-size: 1.32rem;
  line-height: 1.08;
}

.premium-product-body p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* =========================
   Secciones internas
   ========================= */

.premium-section {
  padding: 86px 0;
}

.premium-cards-section {
  padding-bottom: 86px;
}

.section-heading h2,
.image-text-content h2,
.contact-cta h2 {
  font-size: clamp(1.9rem, 3.35vw, 2.85rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

/* =========================
   Responsive tablet
   ========================= */

@media (max-width: 1120px) {
  .premium-hero-copy,
  .hero-copy-balanced {
    width: min(560px, 100%);
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(2.05rem, 4.8vw, 3.45rem);
    line-height: 1.04;
  }

  .hero-quality-badge-image {
    width: 150px;
    min-height: 96px;
    bottom: 104px;
  }

  .hero-quality-badge-image img {
    max-height: 78px;
  }
}

/* =========================
   Responsive móvil
   ========================= */

@media (max-width: 860px) {
  .logo-only-brand .premium-logo,
  .premium-logo {
    height: 46px;
    max-width: 188px;
  }

  .hero-slide-content {
    align-items: flex-end;
    padding: 120px 0 124px;
  }

  .premium-hero-copy,
  .hero-copy-balanced {
    width: min(100%, 560px);
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(2rem, 8.7vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .premium-hero-copy p,
  .hero-copy-balanced p {
    max-width: 100%;
    font-size: 0.94rem;
  }

  .hero-cert-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin-top: 24px;
  }

  .hero-quality-badge {
    display: none;
  }

  .hero-slider-ui {
    bottom: 32px;
  }

  .premium-product-card {
    min-height: auto;
  }

  .premium-product-image {
    height: 270px;
  }

  .footer-logo-only img {
    height: 40px;
    max-width: 190px;
  }
}

@media (max-width: 640px) {
  .logo-only-brand .premium-logo,
  .premium-logo {
    height: 42px;
    max-width: 168px;
  }

  .hero-slide-content {
    padding: 108px 0 112px;
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(1.85rem, 9.8vw, 2.75rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .premium-hero-copy p,
  .hero-copy-balanced p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-cert-row {
    display: none;
  }

  .hero-slider-line {
    width: 108px;
  }

  .premium-product-image {
    height: 300px;
  }

  .premium-product-body h3 {
    font-size: 1.24rem;
  }
}

@media (max-width: 420px) {
  .logo-only-brand .premium-logo,
  .premium-logo {
    height: 38px;
    max-width: 150px;
  }

  .hero-slide-content {
    padding: 102px 0 106px;
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(1.68rem, 9.4vw, 2.35rem);
    line-height: 1.08;
  }

  .premium-product-image {
    height: 270px;
  }
}
/* =========================================================
   WhatsApp flotante oficial / versión limpia
   ========================================================= */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.34);
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    background 190ms ease;
}

.floating-whatsapp::before {
  content: none !important;
}

.floating-whatsapp-icon {
  width: 34px;
  height: 34px;
  fill: #FFFFFF;
}

.floating-whatsapp span {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.92);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 190ms ease,
    visibility 190ms ease,
    transform 190ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  background: #20BD5A;
  box-shadow: 0 24px 54px rgba(37, 211, 102, 0.48);
}

.floating-whatsapp:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 640px) {
  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp-icon {
    width: 31px;
    height: 31px;
  }

  .floating-whatsapp span {
    display: none;
  }
}
/* =========================================================
   ALSO DESIGN
   Contact / Quote Form Premium
   Versión 2.4
   ========================================================= */

/* =========================
   Quote page base
   ========================= */

.quote-page {
  position: relative;
  min-height: 100vh;
  padding: 118px 0 86px;
  overflow: hidden;
  background: #05080c;
  color: #ffffff;
}

.quote-bg,
.quote-overlay {
  position: absolute;
  inset: 0;
}

.quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.24;
  filter: saturate(1.05) contrast(1.08);
}

.quote-overlay {
  background:
    radial-gradient(circle at 20% 24%, rgba(17, 140, 203, 0.17), transparent 30%),
    radial-gradient(circle at 78% 62%, rgba(17, 140, 203, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.78), #05080c 72%);
}

.quote-page-inner {
  position: relative;
  z-index: 2;
}

.quote-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-breadcrumb a {
  color: var(--color-primary-bright);
}

.quote-breadcrumb span {
  color: rgba(255, 255, 255, 0.34);
}

.quote-breadcrumb strong {
  color: rgba(255, 255, 255, 0.88);
}

.quote-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.quote-heading h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.quote-heading h1::after {
  content: ".";
  color: var(--color-primary-bright);
}

.quote-heading p {
  max-width: 640px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* =========================
   Quote form shell
   ========================= */

.quote-form {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(8, 16, 25, 0.92), rgba(4, 10, 16, 0.86)),
    rgba(8, 16, 25, 0.86);
  border: 1px solid rgba(17, 140, 203, 0.28);
  border-radius: 18px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.quote-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 140, 203, 0.08), transparent 22%, transparent 78%, rgba(17, 140, 203, 0.06)),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  opacity: 0.45;
  pointer-events: none;
}

.quote-form-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 4vw, 42px);
}

.quote-form-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quote-form-column:first-child {
  padding-right: clamp(0px, 2vw, 22px);
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.quote-form-block {
  display: grid;
  gap: 18px;
}

.quote-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-section-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(17, 140, 203, 0.13);
  border: 1px solid rgba(17, 140, 203, 0.34);
  color: var(--color-primary-bright);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.quote-section-title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.quote-section-note {
  margin: -3px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

/* =========================
   Quote fields
   ========================= */

.quote-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quote-field {
  display: grid;
  gap: 8px;
}

.quote-field-full {
  grid-column: 1 / -1;
}

.quote-field span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  outline: none;
  background: rgba(3, 7, 12, 0.52);
  color: #ffffff;
  font-size: 0.94rem;
  transition:
    border-color 190ms ease,
    background 190ms ease,
    box-shadow 190ms ease;
}

.quote-field textarea {
  min-height: 126px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.55;
}

.quote-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.62) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.62) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  border-color: rgba(17, 140, 203, 0.72);
  background: rgba(3, 7, 12, 0.76);
  box-shadow: 0 0 0 4px rgba(17, 140, 203, 0.13);
}

.quote-field small {
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Honeypot anti-spam */
.quote-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================
   Service cards
   ========================= */

.quote-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quote-service-card {
  position: relative;
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(3, 7, 12, 0.48);
  cursor: pointer;
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    background 190ms ease,
    box-shadow 190ms ease;
}

.quote-service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 140, 203, 0.54);
  background: rgba(17, 140, 203, 0.09);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.20);
}

.quote-service-card input {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 19px;
  height: 19px;
  margin: 0;
  transform: translateY(-50%);
  accent-color: var(--color-primary-bright);
}

.quote-service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(17, 140, 203, 0.12);
  border: 1px solid rgba(17, 140, 203, 0.28);
  color: var(--color-primary-bright);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.quote-service-card strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.18;
  margin-bottom: 3px;
}

.quote-service-card small {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  line-height: 1.25;
}

.quote-service-card:has(input:checked) {
  border-color: rgba(17, 140, 203, 0.78);
  background:
    linear-gradient(135deg, rgba(17, 140, 203, 0.18), rgba(17, 140, 203, 0.05));
  box-shadow: 0 0 0 1px rgba(17, 140, 203, 0.18);
}

.quote-other-service {
  margin-top: 2px;
}

/* =========================
   Upload box
   ========================= */

.quote-upload-box {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 20px;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  background: rgba(3, 7, 12, 0.38);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 190ms ease,
    background 190ms ease,
    transform 190ms ease;
}

.quote-upload-box:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 140, 203, 0.68);
  background: rgba(17, 140, 203, 0.08);
}

.quote-upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.quote-upload-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(17, 140, 203, 0.12);
  color: var(--color-primary-bright);
  font-size: 1.35rem;
  font-weight: 900;
}

.quote-upload-box strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.quote-upload-box small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

/* =========================
   Security box / submit
   ========================= */

.quote-secure-box {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(17, 140, 203, 0.34);
  border-radius: 10px;
  background: rgba(17, 140, 203, 0.10);
}

.quote-secure-box > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid var(--color-primary-bright);
  color: var(--color-primary-bright);
  font-weight: 900;
}

.quote-secure-box strong {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  margin-bottom: 2px;
}

.quote-secure-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.35;
}

.quote-submit {
  width: min(100%, 420px);
  min-height: 60px;
  justify-self: end;
  align-self: end;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #056FCB, #118CCB);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 42px rgba(17, 140, 203, 0.28);
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    background 190ms ease;
}

.quote-submit strong {
  font-size: 1.4rem;
  line-height: 1;
}

.quote-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(17, 140, 203, 0.42);
}

/* =========================
   Light mode quote page
   ========================= */

html[data-theme="light"] .quote-page {
  background: #f4f7fa;
  color: #111820;
}

html[data-theme="light"] .quote-overlay {
  background:
    radial-gradient(circle at 20% 24%, rgba(17, 140, 203, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(244, 247, 250, 0.84), #f4f7fa 74%);
}

html[data-theme="light"] .quote-bg img {
  opacity: 0.14;
}

html[data-theme="light"] .quote-heading h1,
html[data-theme="light"] .quote-section-title h2,
html[data-theme="light"] .quote-service-card strong,
html[data-theme="light"] .quote-upload-box strong {
  color: #111820;
}

html[data-theme="light"] .quote-heading p,
html[data-theme="light"] .quote-breadcrumb,
html[data-theme="light"] .quote-field span,
html[data-theme="light"] .quote-service-card small,
html[data-theme="light"] .quote-upload-box small,
html[data-theme="light"] .quote-field small {
  color: rgba(17, 24, 32, 0.62);
}

html[data-theme="light"] .quote-form {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(17, 140, 203, 0.18);
}

html[data-theme="light"] .quote-form::before {
  opacity: 0.18;
}

html[data-theme="light"] .quote-form-column:first-child {
  border-right-color: rgba(17, 24, 32, 0.10);
}

html[data-theme="light"] .quote-field input,
html[data-theme="light"] .quote-field select,
html[data-theme="light"] .quote-field textarea,
html[data-theme="light"] .quote-service-card,
html[data-theme="light"] .quote-upload-box {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 24, 32, 0.14);
  color: #111820;
}

html[data-theme="light"] .quote-field input:focus,
html[data-theme="light"] .quote-field select:focus,
html[data-theme="light"] .quote-field textarea:focus {
  background: #ffffff;
}

html[data-theme="light"] .quote-secure-box {
  background: rgba(17, 140, 203, 0.08);
}

html[data-theme="light"] .quote-secure-box strong {
  color: #111820;
}

html[data-theme="light"] .quote-secure-box p {
  color: rgba(17, 24, 32, 0.62);
}

/* =========================
   Responsive quote page
   ========================= */

@media (max-width: 1080px) {
  .quote-form-grid {
    grid-template-columns: 1fr;
  }

  .quote-form-column:first-child {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  html[data-theme="light"] .quote-form-column:first-child {
    border-bottom-color: rgba(17, 24, 32, 0.10);
  }

  .quote-submit {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .quote-page {
    padding: 104px 0 62px;
  }

  .quote-heading {
    text-align: left;
    margin-bottom: 26px;
  }

  .quote-heading h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .quote-heading p {
    margin-left: 0;
    margin-right: 0;
    font-size: 0.94rem;
  }

  .quote-breadcrumb {
    margin-bottom: 22px;
    font-size: 0.78rem;
  }

  .quote-form {
    padding: 20px;
    border-radius: 14px;
  }

  .quote-field-grid,
  .quote-service-grid {
    grid-template-columns: 1fr;
  }

  .quote-service-card {
    min-height: 76px;
  }

  .quote-secure-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .quote-page {
    padding: 96px 0 52px;
  }

  .quote-form {
    padding: 16px;
  }

  .quote-section-title {
    align-items: flex-start;
  }

  .quote-section-title h2 {
    font-size: 0.98rem;
  }

  .quote-field input,
  .quote-field select,
  .quote-field textarea {
    font-size: 0.9rem;
  }

  .quote-submit {
    min-height: 56px;
    font-size: 0.92rem;
  }
}
/* =========================================================
   ALSO DESIGN
   Solutions detail cards
   ========================================================= */

.solutions-detail-section {
  background:
    radial-gradient(circle at 84% 16%, rgba(17, 140, 203, 0.08), transparent 30%),
    var(--bg-main);
}

.solutions-detail-grid {
  display: grid;
  gap: 22px;
}

.solution-detail-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  overflow: hidden;
  min-height: 360px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.solution-detail-card:nth-child(even) {
  grid-template-columns: 1.15fr 0.85fr;
}

.solution-detail-card:nth-child(even) .solution-detail-media {
  order: 2;
}

.solution-detail-media {
  min-height: 360px;
  background: #0b1118;
  overflow: hidden;
}

.solution-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms ease;
}

.solution-detail-card:hover .solution-detail-media img {
  transform: scale(1.045);
}

.solution-detail-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
}

.solution-detail-content::before {
  content: "";
  position: absolute;
  left: clamp(28px, 5vw, 54px);
  top: 0;
  width: 88px;
  height: 3px;
  background: var(--color-primary-bright);
}

.solution-detail-content span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-primary-bright);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solution-detail-content h3 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.solution-detail-content p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.solution-detail-content .small-link {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .solution-detail-card,
  .solution-detail-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .solution-detail-card:nth-child(even) .solution-detail-media {
    order: 0;
  }

  .solution-detail-media {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .solution-detail-card {
    border-radius: 12px;
  }

  .solution-detail-media {
    min-height: 230px;
  }

  .solution-detail-content {
    padding: 24px;
  }

  .solution-detail-content::before {
    left: 24px;
  }

  .solution-detail-content h3 {
    font-size: clamp(1.55rem, 9vw, 2.2rem);
  }

  .solution-detail-content p {
    font-size: 0.92rem;
    line-height: 1.58;
  }
}
/* =========================================================
   EMERGENCY VISIBILITY FIX
   Úsalo si main.js falla y las secciones .reveal no aparecen
   ========================================================= */

.reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.hero-slide.is-active,
.hero-slide:first-child {
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-slide-content,
.premium-section,
.premium-cards-section,
.partners-section,
.contact-cta,
.site-footer {
  opacity: 1 !important;
  visibility: visible !important;
}
/* =========================================================
   ALSO DESIGN
   Partners / Collaborators Slider
   Versión: 2.7
   ========================================================= */

.partners-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(17, 140, 203, 0.08), transparent 32%),
    var(--bg-main);
  border-top: 1px solid var(--border);
}

.partners-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.partners-heading h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.partners-heading p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.partners-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 12px 0;
  isolation: isolate;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}

.partners-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 18px;
  width: max-content;
  min-width: max-content;
  animation: partnersScroll 150s linear infinite;
  will-change: transform;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo-card {
  width: 190px;
  height: 92px;
  min-width: 190px;
  max-width: 190px;
  flex: 0 0 190px !important;
  display: grid;
  place-items: center;
  padding: 16px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    var(--bg-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  box-sizing: border-box;
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    background 190ms ease;
}

.partner-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 140, 203, 0.46);
}

.partner-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 132px;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.76;
  transition:
    filter 190ms ease,
    opacity 190ms ease,
    transform 190ms ease;
}

.partner-logo-card:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.035);
}

@keyframes partnersScroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
}

html[data-theme="light"] .partners-section {
  background:
    radial-gradient(circle at 20% 18%, rgba(17, 140, 203, 0.08), transparent 32%),
    var(--bg-main);
}

html[data-theme="light"] .partner-logo-card {
  background: rgba(255, 255, 255, 0.84);
}

html[data-theme="light"] .partner-logo-card img {
  opacity: 0.86;
}

@media (max-width: 760px) {
  .partners-section {
    padding: 72px 0;
  }

  .partners-heading {
    text-align: left;
    margin-bottom: 26px;
  }

  .partners-heading p {
    margin-left: 0;
    margin-right: 0;
  }

  .partners-track {
    gap: 14px;
    animation-duration: 140s;
  }

  .partner-logo-card {
    width: 156px;
    height: 78px;
    min-width: 156px;
    max-width: 156px;
    flex: 0 0 156px !important;
    padding: 14px 18px;
  }

  .partner-logo-card img {
    max-width: 112px;
    max-height: 42px;
  }
}

@media (max-width: 480px) {
  .partners-track {
    gap: 12px;
    animation-duration: 130s;
  }

  .partner-logo-card {
    width: 138px;
    height: 72px;
    min-width: 138px;
    max-width: 138px;
    flex: 0 0 138px !important;
    padding: 12px 16px;
  }

  .partner-logo-card img {
    max-width: 100px;
    max-height: 38px;
  }
}
/* =========================================================
   ALSO DESIGN
   MOBILE FINAL FIX
   Versión 2.8
   Solo ajustes responsive / móvil
   Pegar al final de styles.css
   ========================================================= */

/* =========================
   Tablet / menú mobile
   ========================= */

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .premium-header,
  .site-header-overlay,
  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    height: var(--header-height);
    gap: 14px;
  }

  .logo-only-brand,
  .premium-brand {
    height: var(--header-height);
    min-width: 0;
  }

  .logo-only-brand .premium-logo,
  .premium-logo,
  .site-logo {
    height: 42px;
    max-width: 170px;
    width: auto;
    object-fit: contain;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 40px;
    margin-left: auto;
    z-index: 130;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 14px;
    right: 14px;
    z-index: 125;
    display: block;
    width: auto;
    max-height: calc(100dvh - var(--header-height) - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px;
    background: rgba(5, 8, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 190ms ease,
      visibility 190ms ease,
      transform 190ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link,
  .dropdown-toggle {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 0 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .nav-link:hover,
  .dropdown-toggle:hover,
  .nav-link.active,
  .dropdown-toggle.active {
    background: rgba(17, 140, 203, 0.13);
    color: #ffffff;
  }

  .premium-header .nav-link::after,
  .premium-header .dropdown-toggle::after,
  .site-header-overlay .nav-link::after,
  .site-header-overlay .dropdown-toggle::after {
    left: 14px;
    right: auto;
    bottom: 6px;
    width: 34px;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .dropdown-icon {
    margin-left: auto;
    transition: transform 190ms ease;
  }

  .nav-item-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 7px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: grid;
    gap: 4px;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    display: none;
  }

  .nav-item-dropdown.open:hover .dropdown-menu {
    display: grid;
  }

  .dropdown-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
  }

  .dropdown-menu a:hover {
    color: #ffffff;
    background: rgba(17, 140, 203, 0.16);
  }

  .nav-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .language-toggle,
  .theme-toggle {
    width: 52px;
    height: 42px;
  }
}

/* =========================
   Hero mobile / inicio páginas
   ========================= */

@media (max-width: 860px) {
  .hero-slider {
    min-height: 100svh;
    height: auto;
  }

  .hero-slide {
    min-height: 100svh;
  }

  .hero-slide-bg img {
    object-position: center;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(3, 7, 12, 0.66) 0%, rgba(3, 7, 12, 0.46) 36%, rgba(3, 7, 12, 0.94) 100%),
      linear-gradient(90deg, rgba(3, 7, 12, 0.90), rgba(3, 7, 12, 0.52));
  }

  .hero-slide-content {
    min-height: 100svh;
    align-items: center;
    padding: calc(var(--header-height) + 44px) 0 92px;
  }

  .premium-hero-copy,
  .hero-copy-balanced {
    width: 100%;
    max-width: 620px;
    padding-top: 0;
  }

  .hero-kicker {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: 0.66rem;
    line-height: 1.35;
    letter-spacing: 0.13em;
  }

  .hero-kicker::before {
    width: 26px;
    flex: 0 0 26px;
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3.25rem);
    line-height: 1.06;
    letter-spacing: -0.038em;
    text-wrap: balance;
  }

  .premium-hero-copy p,
  .hero-copy-balanced p {
    max-width: 100%;
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.56;
  }

  .hero-actions {
    width: 100%;
    margin-top: 24px;
    gap: 10px;
  }

  .hero-actions .btn,
  .hero-actions .premium-btn {
    width: auto;
    min-width: 160px;
  }

  .hero-cert-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 8px;
    margin-top: 24px;
  }

  .hero-cert {
    min-height: 72px;
    padding: 11px 9px 10px;
  }

  .hero-quality-badge,
  .hero-quality-badge-image {
    display: none !important;
  }

  .hero-slider-ui {
    left: 14px;
    right: 14px;
    bottom: 24px;
    width: auto;
    transform: none;
    justify-content: space-between;
    gap: 14px;
  }

  .hero-slide-numbers {
    gap: 12px;
  }

  .hero-slide-numbers button {
    font-size: 0.78rem;
  }

  .hero-slider-line {
    width: 110px;
  }
}

/* =========================
   Secciones internas / hero interno móvil
   ========================= */

@media (max-width: 860px) {
  .inner-hero,
  .inner-premium-hero {
    padding-top: calc(var(--header-height) + 54px);
  }

  .inner-hero h1,
  .inner-premium-hero h1,
  .inner-premium-hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .inner-hero p,
  .inner-premium-hero p,
  .inner-premium-hero-content p {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .premium-section {
    padding: 70px 0;
  }

  .premium-cards-section {
    padding-bottom: 70px;
  }

  .premium-intro-grid,
  .premium-band-grid,
  .contact-cta-inner,
  .contact-panel,
  .image-text-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

/* =========================
   Mobile small
   ========================= */

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo-only-brand .premium-logo,
  .premium-logo,
  .site-logo {
    height: 38px;
    max-width: 150px;
  }

  .nav-toggle {
    width: 42px;
    height: 38px;
  }

  .site-nav {
    top: calc(var(--header-height) + 8px);
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - var(--header-height) - 22px);
    padding: 12px;
    border-radius: 14px;
  }

  .hero-slide-content {
    align-items: center;
    padding: calc(var(--header-height) + 34px) 0 86px;
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(1.82rem, 9vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.032em;
  }

  .premium-hero-copy p,
  .hero-copy-balanced p {
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .hero-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.11em;
  }

  .hero-cert-row {
    display: none;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .premium-btn,
  .contact-actions .btn,
  .contact-actions .premium-btn {
    width: 100%;
    min-width: 0;
  }

  .premium-card-grid,
  .solutions-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .premium-product-image {
    height: 280px;
  }

  .contact-cta-inner {
    padding: 24px;
  }

  .inner-hero,
  .inner-premium-hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .section-heading h2,
  .image-text-content h2,
  .contact-cta h2,
  .partners-heading h2 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
    line-height: 1.08;
  }
}

/* =========================
   Mobile extra small
   ========================= */

@media (max-width: 420px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(100% - 22px, var(--container));
  }

  .logo-only-brand .premium-logo,
  .premium-logo,
  .site-logo {
    height: 35px;
    max-width: 138px;
  }

  .hero-slide-content {
    padding: calc(var(--header-height) + 28px) 0 78px;
  }

  .premium-hero-copy h1,
  .hero-copy-balanced h1 {
    font-size: clamp(1.62rem, 8.7vw, 2.25rem);
    line-height: 1.1;
  }

  .premium-hero-copy p,
  .hero-copy-balanced p {
    font-size: 0.88rem;
  }

  .hero-slider-ui {
    bottom: 18px;
  }

  .hero-slider-line {
    width: 84px;
  }

  .premium-product-image {
    height: 250px;
  }

  .premium-product-body {
    padding: 22px 18px 24px;
  }
}

/* =========================
   Touch devices
   Evita hover conflictivo en móvil
   ========================= */

@media (hover: none) and (pointer: coarse) {
  .nav-item-dropdown:hover .dropdown-menu {
    display: none;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: grid;
  }

  .btn:hover,
  .premium-product-card:hover,
  .solution-card:hover,
  .partner-logo-card:hover {
    transform: none;
  }
}
/* =========================================================
   ALSO DESIGN
   HOME HERO MOBILE FIX
   Versión 3.0
   Solo corrige el banner del index en celular
   ========================================================= */

@media (max-width: 860px) {
  .home-hero-slider {
    min-height: 100svh;
    height: auto;
  }

  .home-hero-slider .hero-slide {
    min-height: 100svh;
  }

  .home-hero-slider .hero-slide-bg img {
    object-position: center;
  }

  .home-hero-slider .hero-slide-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 7, 12, 0.72) 0%,
        rgba(3, 7, 12, 0.55) 40%,
        rgba(3, 7, 12, 0.96) 100%
      ),
      linear-gradient(
        90deg,
        rgba(3, 7, 12, 0.92),
        rgba(3, 7, 12, 0.48)
      );
  }

  .home-hero-slider .hero-slide-content {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height, 72px) + 30px) 0 96px;
  }

  .home-hero-slider .premium-hero-copy,
  .home-hero-slider .hero-copy-balanced {
    width: 100%;
    max-width: 620px;
    padding-top: 0;
  }

  .home-hero-slider .hero-kicker {
    max-width: 100%;
    margin-bottom: 13px;
    font-size: 0.64rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  .home-hero-slider .hero-kicker::before {
    width: 24px;
    flex: 0 0 24px;
  }

  .home-hero-slider .premium-hero-copy h1,
  .home-hero-slider .hero-copy-balanced h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.038em;
    text-wrap: balance;
  }

  .home-hero-slider .premium-hero-copy p,
  .home-hero-slider .hero-copy-balanced p {
    max-width: 100%;
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .home-hero-slider .hero-actions {
    width: 100%;
    margin-top: 22px;
    gap: 10px;
  }

  .home-hero-slider .hero-actions .btn,
  .home-hero-slider .hero-actions .premium-btn {
    min-width: 150px;
  }

  .home-hero-slider .hero-cert-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 8px;
    margin-top: 22px;
  }

  .home-hero-slider .hero-cert {
    min-height: 68px;
    padding: 10px 8px;
    border-radius: 12px;
  }

  .home-hero-slider .hero-cert strong {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .home-hero-slider .hero-cert small {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .home-hero-slider .hero-cert-icon {
    font-size: 0.82rem;
  }

  .home-hero-slider .hero-quality-badge,
  .home-hero-slider .hero-quality-badge-image {
    display: none !important;
  }

  .home-hero-slider .hero-slider-ui {
    left: 14px;
    right: 14px;
    bottom: 22px;
    width: auto;
    transform: none;
    justify-content: space-between;
    gap: 12px;
  }

  .home-hero-slider .hero-slide-numbers {
    gap: 10px;
  }

  .home-hero-slider .hero-slide-numbers button {
    font-size: 0.74rem;
  }

  .home-hero-slider .hero-slider-line {
    width: 96px;
  }
}

@media (max-width: 640px) {
  .home-hero-slider {
    min-height: 100svh;
  }

  .home-hero-slider .hero-slide {
    min-height: 100svh;
  }

  .home-hero-slider .hero-slide-content {
    min-height: 100svh;
    padding: calc(var(--header-height, 68px) + 24px) 0 82px;
  }

  .home-hero-slider .premium-hero-copy h1,
  .home-hero-slider .hero-copy-balanced h1 {
    font-size: clamp(1.58rem, 8.6vw, 2.32rem);
    line-height: 1.1;
    letter-spacing: -0.032em;
  }

  .home-hero-slider .premium-hero-copy p,
  .home-hero-slider .hero-copy-balanced p {
    font-size: 0.86rem;
    line-height: 1.52;
  }

  .home-hero-slider .hero-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .home-hero-slider .hero-cert-row {
    display: none;
  }

  .home-hero-slider .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-slider .hero-actions .btn,
  .home-hero-slider .hero-actions .premium-btn {
    width: 100%;
    min-width: 0;
  }

  .home-hero-slider .hero-slider-ui {
    bottom: 18px;
  }

  .home-hero-slider .hero-slider-line {
    width: 76px;
  }
}

@media (max-width: 420px) {
  .home-hero-slider .hero-slide-content {
    padding: calc(var(--header-height, 66px) + 18px) 0 76px;
  }

  .home-hero-slider .premium-hero-copy h1,
  .home-hero-slider .hero-copy-balanced h1 {
    font-size: clamp(1.46rem, 8.3vw, 2.05rem);
    line-height: 1.12;
  }

  .home-hero-slider .premium-hero-copy p,
  .home-hero-slider .hero-copy-balanced p {
    font-size: 0.84rem;
  }
}
/* =========================================================
   ALSO DESIGN
   HOME MOBILE EXPERIENCE FIX
   Versión 3.1
   Solo mejora el inicio / banner en celular
   ========================================================= */

.home-hero-lead {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.home-hero-actions {
  margin-top: 26px;
}

@media (max-width: 860px) {
  .home-hero-slider {
    min-height: 100svh;
    height: auto;
  }

  .home-hero-slider .hero-slide {
    min-height: 100svh;
  }

  .home-hero-slider .hero-slide-bg img {
    object-position: center;
  }

  .home-hero-slider .hero-slide-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 7, 12, 0.76) 0%,
        rgba(3, 7, 12, 0.58) 38%,
        rgba(3, 7, 12, 0.96) 100%
      ),
      linear-gradient(
        90deg,
        rgba(3, 7, 12, 0.93),
        rgba(3, 7, 12, 0.52)
      );
  }

  .home-hero-slider .hero-slide-content {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height, 72px) + 26px) 0 96px;
  }

  .home-hero-slider .premium-hero-copy,
  .home-hero-slider .hero-copy-balanced {
    width: 100%;
    max-width: 620px;
    padding-top: 0;
  }

  .home-hero-slider .hero-kicker {
    max-width: 100%;
    margin-bottom: 13px;
    font-size: 0.64rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  .home-hero-slider .hero-kicker::before {
    width: 24px;
    flex: 0 0 24px;
  }

  .home-hero-slider .premium-hero-copy h1,
  .home-hero-slider .hero-copy-balanced h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.038em;
    text-wrap: balance;
  }

  .home-hero-slider .home-hero-lead,
  .home-hero-slider .premium-hero-copy p,
  .home-hero-slider .hero-copy-balanced p {
    max-width: 100%;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .home-hero-slider .hero-actions {
    width: 100%;
    margin-top: 22px;
    gap: 10px;
  }

  .home-hero-slider .hero-actions .btn,
  .home-hero-slider .hero-actions .premium-btn {
    min-width: 150px;
  }

  .home-hero-slider .hero-cert-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 8px;
    margin-top: 22px;
  }

  .home-hero-slider .hero-cert {
    min-height: 68px;
    padding: 10px 8px;
    border-radius: 12px;
  }

  .home-hero-slider .hero-cert strong {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .home-hero-slider .hero-cert small {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .home-hero-slider .hero-cert-icon {
    font-size: 0.82rem;
  }

  .home-hero-slider .hero-quality-badge,
  .home-hero-slider .hero-quality-badge-image {
    display: none !important;
  }

  .home-hero-slider .hero-slider-ui {
    left: 14px;
    right: 14px;
    bottom: 22px;
    width: auto;
    transform: none;
    justify-content: space-between;
    gap: 12px;
  }

  .home-hero-slider .hero-slide-numbers {
    gap: 10px;
  }

  .home-hero-slider .hero-slide-numbers button {
    font-size: 0.74rem;
  }

  .home-hero-slider .hero-slider-line {
    width: 96px;
  }
}

@media (max-width: 640px) {
  .home-hero-slider {
    min-height: 100svh;
  }

  .home-hero-slider .hero-slide {
    min-height: 100svh;
  }

  .home-hero-slider .hero-slide-content {
    min-height: 100svh;
    align-items: center;
    padding: calc(var(--header-height, 68px) + 20px) 0 82px;
  }

  .home-hero-slider .premium-hero-copy h1,
  .home-hero-slider .hero-copy-balanced h1 {
    font-size: clamp(1.54rem, 8.4vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.032em;
  }

  .home-hero-slider .home-hero-lead,
  .home-hero-slider .premium-hero-copy p,
  .home-hero-slider .hero-copy-balanced p {
    font-size: 0.85rem;
    line-height: 1.52;
  }

  .home-hero-slider .hero-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .home-hero-slider .hero-cert-row {
    display: none;
  }

  .home-hero-slider .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
  }

  .home-hero-slider .hero-actions .btn,
  .home-hero-slider .hero-actions .premium-btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
  }

  .home-hero-slider .hero-slider-ui {
    bottom: 18px;
  }

  .home-hero-slider .hero-slider-line {
    width: 76px;
  }

  .home-hero-slider .hero-slide-numbers button {
    min-width: 28px;
    min-height: 28px;
  }
}

@media (max-width: 420px) {
  .home-hero-slider .hero-slide-content {
    padding: calc(var(--header-height, 66px) + 14px) 0 76px;
  }

  .home-hero-slider .premium-hero-copy h1,
  .home-hero-slider .hero-copy-balanced h1 {
    font-size: clamp(1.42rem, 8.1vw, 2rem);
    line-height: 1.12;
  }

  .home-hero-slider .home-hero-lead,
  .home-hero-slider .premium-hero-copy p,
  .home-hero-slider .hero-copy-balanced p {
    font-size: 0.83rem;
  }
}