/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

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

:root {
  --color-bg: #0a1128;
  --color-header: #080d24;
  --color-primary: #1a3fd6;
  --color-cyan: #21e6f0;
  --color-text: #ffffff;
  --color-text-muted: #cfd6e4;
  --max-width: 1440px;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p, li, blockquote, dt, dd, figcaption {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-header);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: opacity 0.2s ease;
}

.logo:hover .logo-img {
  opacity: 0.8;
}

.nav ul {
  display: flex;
  gap: 36px;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--color-cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover span {
  opacity: 0.75;
}

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

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

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

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(6, 11, 30, 0.92) 0%, rgba(6, 11, 30, 0.75) 40%, rgba(6, 11, 30, 0.35) 75%),
    url('../images/gallery/IMG_20260617_145111.webp');
  background-size: 115%;
  background-position: center;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  transform: translateY(56px);
  max-width: 100%;
}

/* ---------- Hero de página interna ---------- */
.hero-page {
  position: relative;
  min-height: calc(88px * 3);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
}

.hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 11, 30, 0.45) 0%, rgba(6, 11, 30, 0.15) 100%);
}

.hero-page .container {
  position: relative;
  z-index: 2;
}

.hero-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
}

/* ---------- Catálogo de productos ---------- */
.catalog {
  background: #ffffff;
  color: #12172b;
  padding: 56px 0 96px;
}

.catalog-filter {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 32px;
}

.catalog-filter-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  padding-bottom: 6px;
  padding-right: 24px;
  border-bottom: 1px solid #e2e5ec;
}

.brand-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-pill {
  border: 1px solid #d7dbe6;
  border-radius: 0;
  padding: 10px 20px;
  background: #fff;
  color: #12172b;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.brand-pill:hover {
  border-color: var(--color-primary);
}

.brand-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.catalog-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: 32px;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.line-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.line-tab {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 0;
  padding: 16px;
  font-family: inherit;
  cursor: pointer;
  background: #eef0f5;
  color: #12172b;
  transition: background 0.2s ease, color 0.2s ease;
}

.line-tab:hover:not(.active) {
  background: #dfe3ee;
}

.line-tab.active {
  background: var(--color-primary);
  color: #fff;
  cursor: default;
}

.line-tab-title {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.line-tab-sub {
  display: block;
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.4;
}

.catalog-help {
  border: 1px solid #e7e9f0;
  border-radius: 0;
  padding: 22px;
  text-align: center;
}

.catalog-help-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #12172b;
  color: #fff;
  font-weight: 700;
  margin: 0 auto 14px;
}

.catalog-help h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.catalog-help p {
  font-size: 0.85rem;
  color: #6b7284;
  margin-bottom: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 0;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.catalog-main-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.catalog-eyebrow {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.catalog-main-head h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  max-width: 560px;
}

.catalog-search input {
  border: 1px solid #d7dbe6;
  border-radius: 0;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 220px;
  color: #12172b;
}

.catalog-search input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.catalog-table thead th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a90a4;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7e9f0;
}

.catalog-table tbody td {
  padding: 14px 8px;
  border-bottom: 1px solid #eef0f5;
  vertical-align: top;
  font-size: 0.9rem;
}

.catalog-table .model-name {
  font-weight: 700;
  color: #12172b;
}

.catalog-table .model-volt {
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
}

.model-note {
  display: block;
  font-size: 0.75rem;
  color: #9aa0b4;
  margin-top: 4px;
}

.catalog-table .model-price {
  font-weight: 700;
  color: #12172b;
  white-space: nowrap;
}

.price-outofstock {
  color: #b23b3b;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.price-consult {
  padding: 8px 16px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.catalog-empty {
  border: 1px dashed #d7dbe6;
  border-radius: 0;
  padding: 40px 24px;
  margin-top: 24px;
  text-align: center;
}

.catalog-empty p {
  color: #6b7284;
  margin-bottom: 16px;
}

.catalog-empty p:last-of-type {
  margin-bottom: 20px;
}

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

  .catalog-sidebar {
    display: contents;
  }

  .line-tabs {
    order: 1;
  }

  .catalog-main {
    order: 2;
  }

  .catalog-help {
    order: 3;
    margin-top: 24px;
  }

  .catalog-filter {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ---------- Quiénes somos ---------- */
.about-history {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #12172c;
  padding: 72px 0;
}

.about-history-inner {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}

.about-history-media {
  flex: 1 1 320px;
}

.about-history-text {
  flex: 1 1 420px;
}

.eyebrow-blue {
  display: block;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.about-history-text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: #12172c;
  margin-bottom: 20px;
}

.about-history-text p {
  color: #28283c;
  line-height: 1.7;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.about-history-text p:last-child {
  margin-bottom: 0;
}

.history-collage {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 440px;
  margin: 0 auto;
}

.history-img {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(18, 23, 44, 0.2);
  object-fit: cover;
}

.history-img--main {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.history-img--overlap {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 64%;
  height: 50%;
  z-index: 2;
}

/* ---------- Capacidad industrial ---------- */
.capability {
  position: relative;
  overflow: hidden;
  background: var(--color-header);
  padding: 80px 0;
}

.capability-inner {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.capability-heading {
  flex: 1 1 320px;
}

.capability-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 20px;
}

.capability-heading h2 .accent {
  color: var(--color-cyan);
  font-weight: 700;
}

.capability-heading p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.capability-heading p strong {
  color: #fff;
  font-weight: 800;
}

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

.capability-features {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon--img {
  width: 84px;
  height: 84px;
  background: none;
  border-radius: 0;
}

.feature-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- Sustentabilidad ---------- */
.sustainability {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #12172c;
  padding: 72px 0;
}

.sustainability-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.sustainability-text {
  flex: 1 1 360px;
}

.sustainability-text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
  color: #12172c;
  margin-bottom: 20px;
}

.sustainability-text .accent-blue {
  color: var(--color-primary);
  font-weight: 700;
}

.sustainability-text p {
  color: #28283c;
  line-height: 1.7;
  font-size: 0.92rem;
  font-weight: 500;
}

.sustainability-media {
  flex: 1 1 380px;
}

.sustainability-media img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* ---------- Operaciones comerciales ---------- */
.operations {
  position: relative;
  overflow: hidden;
  background: #23263a;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.operations-heading {
  max-width: 640px;
  margin: 0 auto 48px;
}

.operations-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
}

.operations-heading h2 .accent {
  color: var(--color-cyan);
  font-weight: 700;
}

.operations-heading p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-weight: 500;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}

.operations-card {
  background: #2a2d44;
  border-radius: 8px;
  padding: 28px 24px;
}

.operations-card .feature-icon {
  margin-bottom: 18px;
}

.operations-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.operations-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .history-collage {
    height: 320px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-accent {
  background: var(--color-cyan);
  color: var(--color-header);
}

.btn .arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- Sections ---------- */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}

/* ---------- Quiénes somos (dark) ---------- */
.about-dark {
  position: relative;
  overflow: hidden;
  background: var(--color-header);
  padding: 48px 0;
}

.about-inner {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.about-heading {
  flex: 1 1 300px;
}

.about-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.about-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0;
}

.about-heading h2 .accent {
  color: var(--color-cyan);
  font-weight: 700;
}

.about-copy {
  flex: 1 1 420px;
}

.about-copy p {
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.about-copy p strong {
  color: #fff;
  font-weight: 700;
}

.about-copy p.cyan-text,
.about-copy p.cyan-text strong {
  color: var(--color-cyan);
}

/* ---------- Proveedor + Marcas ---------- */
.provider {
  position: relative;
  background: #f2f4f7;
  color: #12172c;
}

.provider-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.provider-text {
  flex: 1 1 340px;
}

.provider-text h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
  color: #12172c;
  margin-bottom: 0;
}

.provider-text .accent-blue {
  color: var(--color-primary);
  font-weight: 700;
}

.provider-cta {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.provider-cta p {
  color: #28283c;
  font-weight: 500;
  line-height: 1.6;
}

.provider-cta .btn {
  align-self: flex-end;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.brand-card {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.25s ease;
}

.brand-card:hover img {
  filter: grayscale(0%);
}

/* ---------- Líneas de distribución ---------- */
.lines {
  position: relative;
  background: #23263a;
  padding-bottom: 16px;
}

.lines-cta-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: -125px;
}

.lines-header {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.lines-header h2 {
  flex: 1 1 340px;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0;
}

.lines-header h2 .accent {
  color: var(--color-cyan);
  font-weight: 700;
}

.lines-header p {
  flex: 1 1 340px;
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
}

.lines-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}

.line-card {
  background: #2a2d44;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 48px) 100%, 0 100%);
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 32px 32px 80px;
  flex-wrap: wrap;
  width: calc(50vw + 50% + 2px);
  margin-left: calc(50% - 50vw - 2px);
}

.line-media {
  position: relative;
  flex: 0 0 340px;
}

.line-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.line-card:first-child .line-media {
  margin-top: 16px;
}

.line-icon {
  position: absolute;
  top: 50%;
  left: -48px;
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.line-content {
  flex: 1 1 360px;
}

.line-content h3 {
  color: var(--color-cyan);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.line-content h3 .light {
  color: var(--color-cyan);
  font-weight: 400;
}

.line-content p {
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 14px;
}

.btn-sm {
  padding: 12px 22px;
  font-size: 0.85rem;
}

.lines-cta {
  position: relative;
  overflow: hidden;
  background: #131a38;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 48px 100%);
  border-radius: 0;
  padding: 40px 56px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
  box-shadow: 0 24px 48px rgba(6, 9, 26, 0.35);
  width: calc(50vw + 50% - clamp(0px, 14vw, 160px) + 2px);
  margin-left: clamp(0px, 14vw, 160px);
}

.lines-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-image: url('../images/gallery/IMG_20260617_150129.webp');
  background-size: cover;
  background-position: center;
}

.lines-cta::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: rgba(15, 22, 51, 0.8);
}

.lines-cta-text,
.lines-cta-link {
  position: relative;
  z-index: 1;
}

.lines-cta-text {
  min-width: 0;
  flex-shrink: 1;
}

.lines-cta-link {
  flex-shrink: 0;
  min-width: 0;
  max-width: 380px;
}

.lines-cta-text h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-wrap: balance;
}

.lines-cta-text p {
  color: #fff;
  font-weight: 500;
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.lines-cta-link {
  color: var(--color-cyan);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 14px;
  text-wrap: balance;
}

.lines-cta-link .arrow {
  transition: transform 0.2s ease;
}

.lines-cta-link:hover .arrow {
  transform: translateX(6px);
}

.lines-cta-link .arrow {
  flex-shrink: 0;
  font-size: 2.3rem;
  line-height: 1;
}

/* ---------- Logística ---------- */
.logistics {
  background: #ffffff;
  color: #12172c;
  text-align: center;
  padding-top: 130px;
}

.logistics-header {
  max-width: 620px;
  margin: 0 auto 48px;
}

.logistics-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 500;
  color: #12172c;
  line-height: 1.3;
  margin-bottom: 16px;
}

.logistics-header p {
  color: #28283c;
  font-weight: 500;
  line-height: 1.6;
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  text-align: left;
}

.logistics-card {
  background: #eef0f3;
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.logistics-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logistics-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logistics-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #12172c;
  margin-bottom: 10px;
}

.logistics-card p {
  color: #000032;
  font-weight: 500;
  line-height: 1.55;
  font-size: 0.92rem;
}

.logistics-cta {
  text-align: center;
}

/* ---------- Centro de ayuda (FAQ) ---------- */
.help {
  position: relative;
  background: #dcdde0;
  color: #12172c;
  text-align: center;
}

.help-inner h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto 16px;
}

.help-inner > p {
  color: #28283c;
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

.faq-item {
  background: #f6f7f9;
  border-radius: 0;
  box-shadow: 0 6px 16px rgba(18, 23, 44, 0.12);
}

.faq-item.is-open {
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(18, 23, 44, 0.2);
}

.faq-question {
  position: relative;
  width: 100%;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  text-align: left;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-primary);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f5f6fa;
}

.faq-caret {
  position: absolute;
  top: 50%;
  right: 24px;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-caret {
  transform: translateY(-50%) rotate(-90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 240px;
}

.faq-answer p {
  color: #000000;
  line-height: 1.6;
  padding: 0 24px 20px;
}

.help-cta {
  display: inline-flex;
}

/* ---------- Contacto ---------- */
.contact {
  position: relative;
  background: #ffffff;
  color: #12172c;
}

.contact-inner {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: stretch;
}

.contact-text {
  flex: 1 1 380px;
}

.eyebrow {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.contact-text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.contact-subheading {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-text > p {
  color: #28283c;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #e4e4e8;
  border-radius: 10px;
  padding: 18px 20px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-header);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 26px;
  height: 26px;
}

.contact-info-card p {
  color: #28283c;
  font-weight: 500;
  line-height: 1.5;
  font-size: 0.92rem;
}

.contact-info-card p strong {
  font-weight: 700;
}

.contact-info-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-info-link:hover {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

.contact-form-card {
  position: relative;
  flex: 1 1 380px;
  background: var(--color-header);
  border-radius: 0;
  padding: 40px;
}

.contact-form-card h3 {
  color: var(--color-cyan);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: #f4f4f4;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-cyan);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-feedback {
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 1em;
}

.form-feedback--success {
  color: var(--color-cyan);
}

.form-feedback--error {
  color: #ff6b6b;
}

/* ---------- Acentos decorativos (esquina doblada) ---------- */
.corner-fold {
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.corner-fold--br {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.corner-fold--tl {
  left: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.corner-fold--cyan { background: var(--color-cyan); }
.corner-fold--navy { background: var(--color-primary); }
.corner-fold--white { background: #ffffff; }

.corner-square {
  position: absolute;
  right: 32px;
  bottom: 0;
  width: 50px;
  height: 50px;
  background: #ffffff;
  pointer-events: none;
}

.corner-triangle-tr {
  position: absolute;
  right: 32px;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.corner-square--lines {
  right: auto;
  left: 32px;
  background: #23263a;
}

.corner-square--dark {
  background: var(--color-header);
}

.corner-triangle-tr--white {
  right: auto;
  left: 32px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.corner-triangle-tr--light {
  background: #ffffff;
}

.corner-triangle-tr--gray { background: #5a6070; }

.form-corner {
  --corner-size: clamp(20px, 5vw, 50px);
  position: absolute;
  right: calc(-1 * var(--corner-size));
  bottom: 40px;
  display: flex;
  flex-direction: row;
  z-index: 2;
  pointer-events: none;
}

.form-corner-square {
  width: var(--corner-size);
  height: var(--corner-size);
  background: var(--color-header);
}

.form-corner-triangle {
  width: var(--corner-size);
  height: var(--corner-size);
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-header);
  padding: 24px 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.footer-logo {
  height: 56px;
  width: auto;
}

.omatic-credit {
  color: #e08585;
  font-weight: 600;
  transition: color 0.2s ease;
}

.omatic-credit:hover {
  color: #e8a3a3;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-header);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav.is-open {
    max-height: 400px;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
  }

  .nav ul li a {
    display: block;
    padding: 12px clamp(20px, 5vw, 64px);
  }

}

@media (max-width: 760px) {
  .lines-cta {
    flex-wrap: wrap;
    padding: 32px 48px;
    gap: 20px;
  }

  .lines-cta-link {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .hero-actions {
    transform: none;
  }

  .btn {
    white-space: normal;
  }

  .line-card {
    padding-left: 56px;
  }

  .line-media {
    flex-basis: 100%;
  }

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

  #catalog-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-table {
    min-width: 680px;
  }

  .site-footer .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ---------- Botón flotante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(18, 23, 44, 0.3);
  z-index: 50;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}
