/* =================================================================
   ENECO Solutions — Design System
   Tokens, typography, components. Shared by every page.
   Mirrors the Figma mockup 1:1 at 1440px.
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand */
  --brand-navy: #005A98;
  --brand-deep-navy: #004C82;
  --brand-green: #00B500;
  --brand-lime: #62EC45;
  --brand-blue: #0092FC;
  --gradient-brand: linear-gradient(90deg, #005A98 0%, #0092FC 52%, #00B500 100%);
  --gradient-footer: linear-gradient(90deg, #005A98 0%, #0092FC 52%, #00B500 100%);

  /* Fonts */
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Neutrals */
  --white: #FFFFFF;
  --offwhite: #F8F9FA;
  --light: #F1F5F9;
  --border: #E2E8F0;
  --border-2: #CBD5E1;
  --muted: #94A3B8;
  --muted-2: #64748B;
  --body: #333333;
  --body-2: #475569;
  --dark: #0F172A;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 51, 102, 0.08);
  --shadow-card-soft: 0 2px 16px rgba(15, 23, 42, 0.07);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.1);
  --shadow-big: 0 20px 50px rgba(0, 51, 102, 0.12);
  --shadow-btn: 0 8px 24px rgba(0, 210, 40, 0.3);

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-pill: 100px;
}

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

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



body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--offwhite);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

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

/* ------------ Layout ------------ */
.eneco-site {
  width: 100%;
  background: var(--offwhite);
  overflow: hidden;
}

.wrap {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  height: 72px;
  background: var(--gradient-brand);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  color: white;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.site-header.nav-hidden {
  transform: translateY(-100%);
}

.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.header-inner {
  max-width: 1860px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: white;
  transition: transform 0.18s ease;
  opacity: 0;
  animation: fadeInMenu 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

.site-header .brand:hover {
  transform: translateY(-2px) scale(1.04);
}

.site-header .brand .brand-icon {
  width: 36px;
  height: 36px;
  color: white;
}

.site-header .brand .brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.site-header .brand .brand-tag {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  opacity: .75;
  margin-left: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  margin-left: 40px;
}

.site-nav .nav-links {
  display: flex;
  gap: 8px;
  margin: 0 auto;
}

.site-nav a {
  opacity: 0;
  animation: fadeInMenu 0.5s ease-out forwards;
}

.site-nav .nav-links a:nth-child(1) { animation-delay: 0.5s; }
.site-nav .nav-links a:nth-child(2) { animation-delay: 0.6s; }
.site-nav .nav-links a:nth-child(3) { animation-delay: 0.7s; }
.site-nav .nav-links a:nth-child(4) { animation-delay: 0.8s; }
.site-nav .nav-links a:nth-child(5) { animation-delay: 0.9s; }
.site-nav .nav-pills a:nth-child(1) { animation-delay: 1.0s; }
.site-nav .nav-pills a:nth-child(2) { animation-delay: 1.1s; }

@keyframes fadeInMenu {
  to { opacity: 1; }
}

.site-nav .nav-pills {
  display: flex;
  gap: 12px;
}

.site-nav a {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: all 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  display: inline-block;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transform: scale(1.05);
}

.site-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.site-nav .cart-pill,
.site-nav .account-pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 14px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .15s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px) scale(1.04);
}

.btn-primary {
  background: var(--brand-green);
  color: white;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: rgb(0, 200, 0);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--brand-navy);
}

.btn-outline-navy {
  background: transparent;
  color: var(--brand-navy);
  border: 1px solid var(--brand-navy);
}

.btn-outline-navy:hover {
  background: var(--brand-navy);
  color: white;
  border-color: var(--brand-navy);
}

.btn-ghost-navy {
  background: transparent;
  color: var(--brand-navy);
  border: 1px solid var(--border);
}

.btn-ghost-navy:hover {
  background: var(--brand-navy);
  color: white;
  border-color: var(--brand-navy);
}

.btn-large {
  padding: 18px 40px;
  font-size: 14px;
}

/* ================================================================
   HERO (Home)
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  padding: 232px 0 140px; /* 160px original + 72px de header absoluto */
  text-align: center;
  color: white;
}

.hero .hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero .blob-green {
  position: absolute;
  right: -100px;
  top: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(98, 236, 69, 0.25) 0%, transparent 70%);
  filter: blur(80px);
}

.hero .deco-icon {
  position: absolute;
  left: -120px;
  top: calc(50% + 25px);
  transform: translateY(-50%) rotate(-10deg);
  width: 680px;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  filter: brightness(0) invert(1) blur(3px);
}

.hero>* {
  position: relative;
  z-index: 10;
}

.hero .eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  color: white;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 72px;
  line-height: 1.05;
  margin: 0 auto 32px;
  max-width: 900px;
}

.hero h1 span {
  display: block;
}

.hero .sub {
  max-width: 680px;
  margin: 36px auto 42px;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.hero .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* MARQUEE styles moved to bottom of file — see "MARQUEE — animated scroll" block */

/* ================================================================
   SECTION TITLES
   ================================================================ */
.section {
  padding: 80px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  display: block;
  color: var(--brand-lime);
}

.section-title h2 {
  font-family: var(--font-title);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-navy);
  margin: 0;
}

.section-title p {
  margin: 20px auto 0;
  max-width: 700px;
  color: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

/* ================================================================
   SOBRE NOSOTROS / about teaser
   ================================================================ */
.about-row {
  background: white;
  padding: 80px 0;
}

.about-row .grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  align-items: center;
}

.about-row .photo {
  height: 520px;
  position: relative;
  /* overflow: hidden; Removed so the decor box and badge can be outside */
}

.about-row .photo .photo-decor {
  position: absolute;
  top: 15px;
  right: -15px;
  bottom: -15px;
  left: 15px;
  background: var(--gradient-brand);
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-row .photo img.photo-main {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-row .photo:hover .photo-main {
  transform: scale(1.05);
}

.about-row .photo:hover .photo-decor {
  transform: translate(-10px, -10px);
}

.about-row .photo .photo-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--brand-green);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-row .photo:hover .photo-badge {
  transform: translateY(-5px);
}

.about-row .photo .photo-badge strong {
  font-size: 1.4em;
  font-weight: 800;
}

.about-row .about-body .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brand-lime);
  margin-bottom: 16px;
}

.about-row .about-body h2 {
  font-family: var(--font-title);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--brand-navy);
  margin: 0 0 24px;
}

.about-row .about-body p {
  color: var(--body);
  font-size: 18px;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 28px;
}

.about-row .highlights {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 500px;
}

.about-row .highlights .line {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.about-row .highlights .line::before {
  content: '✓';
  color: var(--brand-navy);
  margin-right: 10px;
  font-weight: 800;
}

.about-row .link {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.about-row .link:hover {
  color: var(--brand-green);
  text-decoration: underline;
}

/* ================================================================
   DIFERENCIADORES / why eneco (deep navy band)
   ================================================================ */
.why-band {
  background: linear-gradient(rgba(0, 90, 152, 0.88), rgba(0, 90, 152, 0.88)), url('../img/why-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 70px 80px;
  position: relative;
  overflow: hidden;
}

.why-band .deco-1,
.why-band .deco-2 {
  display: none;
}

.why-band .section-title h2 {
  color: white;
}

.why-band .section-title .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

/* diff-grid and diff-card styles moved to bottom of file */

/* ================================================================
   QUÉ HACEMOS / benefit cards
   ================================================================ */
.what-we-do {
  background: var(--offwhite);
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 80px;
  margin-top: 56px;
}

.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 90, 152, 0.13);
}

.benefit-card .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 10px;
  line-height: 1.2;
}

/* Underline from center on card hover, at bottom of card */
.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 5px;
  background: var(--brand-navy);
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover::after {
  width: 100%;
}

.benefit-card p {
  font-size: 16px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}

/* ================================================================
   PRODUCT CARDS (portfolio highlight + catalog)
   ================================================================ */


.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* Reduced gap from 24px */
  padding: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 80px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card-soft);
  transition: transform .15s;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 90, 152, 0.2);
}

.product-card .image-zone {
  aspect-ratio: 4 / 3; /* Wider, less tall */
  background: #D9E5F2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .image-zone img.product-img {
  position: relative;
  z-index: 1;
}

.product-card .image-zone::before {
  display: none;
}

.product-card .image-zone .placeholder-label {
  position: relative;
  z-index: 1;
  font-family: 'Inter', monospace;
  letter-spacing: 0.5px;
}

.product-card .category-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #25659C;
  color: white;
  border-radius: var(--r-pill);
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 10;
}

.product-card .brand-label {
  color: #00B500;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.product-card .stock-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: white;
  border-radius: var(--r-pill);
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
  z-index: 10;
}

.product-card .stock-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 2px rgba(0, 210, 40, 0.2);
}

.product-card .content-zone {
  padding: 14px 16px 16px;
}

.tag {
  background: var(--light);
  color: var(--body-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

.tag.blue {
  background: rgba(0, 146, 252, 0.08);
  color: var(--brand-blue);
}

.tag.green {
  background: rgba(0, 181, 0, 0.1);
  color: var(--brand-green);
}

.product-card h3.title {
  font-size: 16px; /* Slightly smaller for more space */
  font-weight: 800;
  color: #1A365D;
  margin: 0 0 12px;
  line-height: 1.2;
}

.product-card .sku {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
}

.product-card .divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0 16px;
}

.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card .price {
  font-size: 26px;
  font-weight: 800;
  color: #1A365D;
  margin-bottom: 14px;
}

.product-card .actions {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card .add-to-cart-btn {
  width: 100%;
  background: #005A98;
  color: white;
  padding: 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  border: none;
}

.product-card .add-to-cart-btn:hover {
  background: #004C82;
}

.product-card .stock-status {
  font-size: 12px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 6px;
  font-weight: 600;
}

.product-card .stock-status .dot {
  width: 6px;
  height: 6px;
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 210, 40, 0.2);
}

.product-card .see-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-navy);
}

/* distributors styles moved to bottom of file — see "DISTRIBUIDORES" block */

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta {
  background: var(--offwhite);
  padding: 80px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  font-style: italic;
  color: var(--brand-navy);
}

.final-cta .sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--body);
  margin-bottom: 32px;
}

/* ================================================================
   FOOTER — Figma 1440×280 gradient
   ================================================================ */
.site-footer {
  background: var(--gradient-brand);
  color: white;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  position: relative;
  padding-bottom: 32px;
  max-width: 1860px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-footer .footer-deco-icon {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 420px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  display: block;
}


.site-footer .footer-logo {
  height: 58px;
  width: auto;
  display: block;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
  /* Ensure it's white if needed, or remove if the logo is already colored */
}

.site-footer .footer-tagline {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}

.site-footer .footer-col-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.site-footer .footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-nav-col li {
  margin-bottom: 10px;
}

.site-footer .footer-nav-col a {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer .footer-nav-col a:hover {
  color: white;
}

.site-footer .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.site-footer .footer-contact-item img {
  flex-shrink: 0;
  opacity: 0.7;
  margin-top: 0;
}

.site-footer .footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.3);
}

.copyright-inner {
  max-width: 1860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================
   ICON IMAGES (Figma PNG exports — white on transparent)
   On dark sections (why-band, diff-card): white = perfect.
   On light card backgrounds: filter to brand blue.
   ================================================================ */
.benefit-card .ic img,
.service-card .ic img,
.value-card .ic img,
.c-block .ic img,
.pd-info .ic img {
  /* Convert white icon → brand green (#00D228) */
  filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1518%) hue-rotate(85deg) brightness(98%) contrast(110%);
}

/* Icons on dark / colored sections stay white */
.diff-card .ic img,
.why-band .diff-card .ic img,
.about-hero .ic img {
  /* Keep green icons on dark bg */
  filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1518%) hue-rotate(85deg) brightness(98%) contrast(110%);
}

.breadcrumb-bar {
  background: white;
  border-bottom: 1px solid rgba(226, 232, 238, 0.5);
  padding: 16px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.breadcrumb-bar .crumbs {
  color: var(--muted-2);
}

.breadcrumb-bar .crumbs .sep {
  margin: 0 10px;
}

.breadcrumb-bar .sort {
  font-weight: 700;
  color: var(--brand-navy);
}

/* ================================================================
   SEARCH BAR
   ================================================================ */
.search-bar {
  background: white;
  border-bottom: 1px solid var(--border-2);
  padding: 14px 80px;
}

.search-bar .search-box {
  max-width: 680px;
  margin: 0 auto;
  height: 44px;
  border-radius: 22px;
  background: var(--offwhite);
  border: 1.5px solid var(--border-2);
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
  color: rgba(71, 85, 102, 0.6);
}

/* ================================================================
   CATÁLOGO LAYOUT
   ================================================================ */
.catalog-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 40px;
  padding: 32px 80px 80px;
}

.sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 90px;
}

.sidebar h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-navy);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.sidebar .filter-group {
  margin-bottom: 24px;
}

.sidebar .filter-group:last-child {
  margin-bottom: 0;
}

.sidebar label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--body);
  padding: 6px 0;
  cursor: pointer;
}

.sidebar label:hover {
  color: var(--brand-navy);
}

.sidebar input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-navy);
}

.sidebar .count {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.catalog-main .result-bar {
  background: white;
  border: 1px solid rgba(226, 232, 238, 0.6);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.catalog-main .result-bar .showing {
  font-size: 13px;
  color: var(--body-2);
}

.catalog-main .result-bar .chip {
  margin-left: 12px;
  background: rgba(0, 90, 152, 0.08);
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 14px;
}

.catalog-main .view-toggle {
  font-size: 20px;
  color: rgba(71, 85, 102, 0.5);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ================================================================
   DETALLE DE PRODUCTO
   ================================================================ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 32px 80px 80px;
}

.pd-gallery .main-img {
  aspect-ratio: 1;
  background: var(--light);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}

.pd-gallery .main-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(0, 90, 152, 0.03) 14px 16px);
}

.pd-gallery .main-img .label {
  position: relative;
  z-index: 1;
}

.pd-gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.pd-gallery .thumb {
  aspect-ratio: 1;
  background: var(--light);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  cursor: pointer;
}

.pd-gallery .thumb.active {
  border: 2px solid var(--brand-navy);
}

.pd-info .tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pd-info h1 {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 8px;
  line-height: 1.1;
}

.pd-info .sku {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.pd-info .price-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 24px;
}

.pd-info .price-card .price {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
}

.pd-info .price-card .tax {
  font-size: 12px;
  color: var(--body);
  margin-top: 4px;
}

.pd-info .qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pd-info .qty-row .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--body-2);
}

.pd-info .qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.pd-info .qty button {
  width: 40px;
  height: 40px;
  background: white;
  color: var(--brand-navy);
  font-size: 18px;
  font-weight: 800;
}

.pd-info .qty span {
  padding: 0 20px;
  font-weight: 700;
}

.pd-info .cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.pd-info .cta-row .btn {
  flex: 1;
}

.pd-info .specs {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.pd-info .specs h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-navy);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.pd-info .specs .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.pd-info .specs .row .k {
  color: var(--muted);
}

.pd-info .specs .row .v {
  color: var(--dark);
  font-weight: 600;
}

/* ================================================================
   CARRITO
   ================================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 32px 80px 80px;
}

.cart-list {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr 120px 120px 40px;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-row .thumb {
  width: 100px;
  height: 100px;
  border-radius: var(--r-sm);
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--muted);
}

.cart-row .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.cart-row .meta {
  font-size: 11px;
  color: var(--muted);
}

.cart-row .price {
  font-weight: 800;
  color: var(--dark);
  font-size: 15px;
}

.cart-row .remove {
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.cart-row .remove:hover {
  color: rgb(219, 51, 51);
}

.summary-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.summary-card h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-navy);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.summary-card .line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: var(--body);
}

.summary-card .line.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}

/* ================================================================
   SERVICIOS — Figma v3.0 layout (alternating rows + IoT + CTA)
   ================================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.svc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0558b4 0%, #1a88de 50%, #00b82e 100%);
  height: 400px;
  display: flex;
  align-items: center;
}

.svc-hero__logo {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(calc(-35% - 10px)); /* Adjusted total offset to 10px */
  width: 286px; /* Increased 10% */
  height: auto;
  color: white; /* Ensure fill: currentColor is white */
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.svc-deco-icon {
  width: 100%;
  height: auto;
  display: block;
}

.page-template-page-servicios .logo-path {
  stroke-dasharray: 3500;
  stroke-dashoffset: 3500;
  animation: logo-draw 2.5s ease-out forwards;
  animation-delay: 0.4s;
}

.svc-hero__ellipse {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.svc-hero__inner {
  position: relative;
  z-index: 1;
  padding: 0 120px;
}

.svc-hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand-green);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.svc-hero__title {
  font-family: var(--font-body);
  font-size: 64px;
  font-weight: 800;
  color: white;
  margin: 0 0 16px;
  line-height: 1.05;
}

.svc-hero__sub {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0;
  line-height: 1.5;
}

/* ── Missing Scroll Reveal Base Classes ── */
.sr-item, .sr-scale, .sr-left, .sr-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}
.sr-item { transform: translateY(30px); }
.sr-scale { transform: scale(0.92); }
.sr-left { transform: translateX(-50px); }
.sr-right { transform: translateX(50px); }

.sr-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}


/* ── Shared row tokens ───────────────────────────────────── */
.svc-section {
  position: relative;
  padding: 120px 0; /* Increased padding to give room for frames */
  overflow: visible; /* Allow frames to breathe */
}


.svc-section--white {
  background: #ffffff;
}

.svc-section--offwhite {
  background: #f8fafc;
}

.svc-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  gap: 80px; /* Strong separation as requested */
}


/* flip = text col comes first in HTML, photo second */
.svc-section--flip .svc-container {
  flex-direction: row-reverse;
}



.svc-photo {
  position: relative;
  flex: 0 0 46%;
  max-width: 600px;
  z-index: 1;
  display: flex;
  align-items: stretch;
}


.svc-photo--tall {
  max-width: 650px;
}



/* Decorative corner frames behind image */
.svc-photo::before,
.svc-photo::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: -1;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Esquina Superior Izquierda: L Verde */
.svc-photo::before {
  top: -20px;
  left: -20px;
  border-top: 4px solid var(--brand-green);
  border-left: 4px solid var(--brand-green);
}

/* Esquina Inferior Derecha: L Azul */
.svc-photo::after {
  bottom: -20px;
  right: -20px;
  border-bottom: 4px solid var(--brand-navy);
  border-right: 4px solid var(--brand-navy);
}

.svc-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  aspect-ratio: unset;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.svc-photo--tall img {
  aspect-ratio: 4 / 5;
}







/* Body column */
.svc-body {
  position: relative;
  flex: 0 0 46%; /* Balanced with gap */
  max-width: 580px;
  background: white;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.06);
  z-index: 5;
}

.svc-section--flip .svc-body {
  margin: 0;
}




/* Staggered animation delay for body */
.svc-body.sr-visible {
  transition-delay: 0.2s;
}


/* Eyebrow */
.svc-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand-green);
  margin: 0 0 8px;
  text-transform: uppercase;
  display: block;
}

.svc-eyebrow--white {
  color: rgba(255, 255, 255, 0.85);
}

/* Title */
.svc-title {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 20px;
  line-height: 1.2;
}

.svc-title--white {
  color: #fff;
}

/* Description */
.svc-desc {
  font-size: 18px;
  font-weight: 400;
  color: #475569;
  margin: 0 0 20px;
  line-height: 1.65;
  max-width: 600px;
}

/* Bullet list */
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.svc-list li {
  font-size: 15px;
  color: #475569;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  flex-shrink: 0;
}

/* CTA button (rectangular, green) */
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  background: var(--brand-green);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: 0 3px 12px rgba(0, 181, 0, 0.25);
  transition: background .15s, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.svc-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: none;
  animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.svc-btn:hover {
  background: #00c800;
  transform: translateY(-2px) scale(1.04);
}


.svc-btn--shadow {
  box-shadow: 0 3px 12px rgba(0, 181, 0, 0.25);
}

/* ── Industrial feature cards 2×2 grid ──────────────────── */
.svc-ind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 560px;
}

.svc-ind-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
}

.svc-ind-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-ind-card__icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1518%) hue-rotate(85deg) brightness(98%) contrast(110%);
}

.svc-ind-card__label {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
}

/* ── IoT section ─────────────────────────────────────────── */
.svc-iot {
  position: relative;
  background: linear-gradient(rgba(0, 90, 152, 0.88), rgba(0, 90, 152, 0.88)), url('../img/iot-bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 70px 0;
  color: white;
}

.svc-iot__ellipse {
  position: absolute;
  right: -78px;
  top: -78px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.svc-iot__inner {
  position: relative;
  z-index: 2;
  padding: 0 80px;
}

.svc-iot__head {
  max-width: 600px;
  margin-bottom: 40px;
}

.svc-iot__desc {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin: 0;
}

.svc-iot__sensors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.svc-iot__sensor {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 28px 32px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.25s ease;
}

.svc-iot__sensor:first-child {
  border-left: none;
}

.svc-iot__sensor:hover {
  background: rgba(255, 255, 255, 0.04);
}

.svc-iot__sensor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  margin-bottom: 20px;
}

.svc-iot__sensor-icon img {
  filter: brightness(0) invert(1) !important;
  width: 32px;
  height: 32px;
}

.svc-iot__sensor-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}

.svc-iot__sensor-sub {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

.svc-iot__cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

/* ── Final CTA ───────────────────────────────────────────── */
.svc-cta {
  background: #f8fafc;
  padding: 80px 80px;
  text-align: center;
}

.svc-cta__title {
  font-family: var(--font-body);
  font-size: 44px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 auto 24px;
  max-width: 800px;
  line-height: 1.15;
}

.svc-cta__sub {
  font-size: 18px;
  font-weight: 400;
  color: #475569;
  margin: 0 auto 32px;
  max-width: 640px;
  line-height: 1.55;
}

.svc-cta__btn {
  display: inline-flex;
  align-items: center;
  background: var(--brand-green);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 18px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: 0 3px 12px rgba(0, 181, 0, 0.25);
  transition: background .15s, transform .18s ease, box-shadow .18s ease;
}

.svc-cta__btn:hover {
  background: #00c800;
  transform: translateY(-2px) scale(1.04);
}

/* ── Responsive — Servicios ──────────────────────────────── */
@media (max-width: 1024px) {
  .svc-section {
    padding: 60px 0;
  }

  .svc-container {
    flex-direction: column !important;
    padding: 0 20px;
  }

  .svc-photo {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    margin: 0 0 40px;
    padding: 20px;
  }

  .svc-photo img {
    aspect-ratio: 16 / 10;
  }

  .svc-photo--tall img {
    aspect-ratio: 4 / 5;
  }


  .svc-body {
    flex: 0 0 auto;
    width: 100%;
    padding: 40px 30px;
    margin: -60px 0 0 0 !important; /* Stack vertically with slight overlap */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .svc-photo::before,
  .svc-photo::after {
    width: 60px;
    height: 60px;
  }

  .svc-hero {
    height: auto;
    padding: 100px 0 60px;
  }

  .svc-hero__inner {
    padding: 0 40px;
  }

  .svc-hero__title {
    font-size: 44px;
  }

  .svc-iot__sensors {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .svc-iot__sensor {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 28px 20px;
  }

  .svc-iot__sensor:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .svc-iot__sensor:nth-child(1),
  .svc-iot__sensor:nth-child(2) {
    border-top: none;
  }

  .svc-ind-grid {
    max-width: 100%;
  }

  .svc-cta {
    padding: 64px 40px;
  }

  .svc-cta__title {
    font-size: 36px;
  }
}


@media (max-width: 600px) {
  .svc-hero__inner {
    padding: 0 20px;
  }

  .svc-hero__title {
    font-size: 34px;
  }

  .svc-hero__sub {
    font-size: 15px;
  }

  .svc-photo {
    margin: 24px 20px 0;
    height: 260px;
    border-radius: 20px;
  }

  .svc-body {
    padding: 24px 20px 32px;
  }

  .svc-section--flip .svc-body {
    padding: 24px 20px 32px;
  }

  .svc-title {
    font-size: 28px;
  }

  .svc-iot {
    padding: 56px 0;
  }

  .svc-iot__inner {
    padding: 0 20px;
  }

  .svc-iot__sensors {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .svc-iot__sensor-name {
    font-size: 20px;
  }

  .svc-ind-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-cta {
    padding: 48px 20px;
  }

  .svc-cta__title {
    font-size: 28px;
  }
}

/* ================================================================
   QUIÉNES SOMOS — Figma v3.0
   ================================================================ */

/* ── Shared eyebrow ─────────────────────────────────────────── */
.qs-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand-green); margin: 0 0 8px;
  text-transform: uppercase; display: block;
}
.qs-eyebrow--white  { color: #fff; }
.qs-eyebrow--center { text-align: center; }

/* ── Hero ────────────────────────────────────────────────────── */
.qs-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #0558b4 0%, #1a88de 50%, #00b82e 100%);
}

.qs-hero__logo {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(calc(-35% - 10px)); /* Match Services offset */
  width: 286px;
  height: auto;
  color: white;
  z-index: 2;
  pointer-events: none;
}

.qs-hero__inner {
  position: relative;
  z-index: 1;
  padding: 0 120px;
}
.qs-hero__title {
  font-family: var(--font-body);
  font-size: 64px; font-weight: 800;
  color: white; margin: 0 0 16px; line-height: 1.05;
}
.qs-hero__sub {
  font-size: 20px; font-weight: 400;
  color: rgba(255,255,255,0.7);
  max-width: 620px; margin: 0; line-height: 1.5;
}

/* ── Intro section ───────────────────────────────────────────── */
.qs-intro {
  background: white; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
}
.qs-intro__photo {
  position: relative; /* For corner accents */
  z-index: 1;
  height: 480px;
  margin: 60px 80px;
  background: #f1f5f9;
  border-radius: 8px; /* Industrial corner */
  box-shadow: 0 12px 32px rgba(0,90,152,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative corner frames behind image */
.qs-intro__photo::before,
.qs-intro__photo::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: -1;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Esquina Superior Izquierda: L Verde */
.qs-intro__photo::before {
  top: -12px;
  left: -12px;
  border-top: 4px solid var(--brand-green);
  border-left: 4px solid var(--brand-green);
}

/* Esquina Inferior Derecha: L Azul */
.qs-intro__photo::after {
  bottom: -12px;
  right: -12px;
  border-bottom: 4px solid var(--brand-navy);
  border-right: 4px solid var(--brand-navy);
}

.qs-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qs-intro__body {
  padding: 60px 80px 60px 0;
}

.qs-company-name {
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 24px;
  line-height: 1.15;
}

.qs-intro__desc {
  font-size: 18px;
  font-weight: 300;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 600px;
}

.qs-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px; /* Matching industrial corners */
  padding: 32px 40px;
  margin-top: 32px;
}

.qs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.qs-stat__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1;
}

.qs-stat__label {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Misión & Visión ─────────────────────────────────────────── */
.qs-mvv {
  background: #eaf2fb;
  padding: 80px;
}
.qs-mvv__heading {
  font-family: var(--font-body);
  font-size: 44px;
  font-weight: 700;
  color: var(--brand-navy);
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}
.qs-mvv__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.qs-mvv__card {
  background: white;
  border: none;
  border-top: 3px solid var(--brand-navy);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 20px rgba(0, 90, 152, 0.07);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  min-height: 0;
  transition: box-shadow 0.25s ease;
}

.qs-mvv__card:last-child {
  border-top-color: var(--brand-green);
}

.qs-mvv__card:hover {
  box-shadow: 0 8px 32px rgba(0, 90, 152, 0.13);
}

.qs-mvv__card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.qs-mvv__card-icon img {
  /* Convert icon to brand navy #005A98 */
  filter: brightness(0) saturate(100%) invert(25%) sepia(73%) saturate(762%) hue-rotate(183deg) brightness(92%) contrast(101%) !important;
  width: 40px;
  height: 40px;
}

.qs-mvv__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qs-mvv__card-name {
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.qs-mvv__card-text {
  font-size: 16px;
  font-weight: 400;
  color: #475569;
  margin: 0;
  line-height: 1.75;
  max-width: none;
}

/* ── Valores (dark blue) ─────────────────────────────────────── */
.qs-valores {
  position: relative;
  background: linear-gradient(rgba(0, 90, 152, 0.92), rgba(0, 90, 152, 0.92)), url('../img/values-bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 80px 0;
}

.qs-valores__ellipse {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.qs-valores__inner {
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

.qs-valores__heading {
  font-family: var(--font-body);
  font-size: 40px; font-weight: 800;
  color: white; text-align: center;
  margin: 0 0 48px;
}
.qs-valores__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.qs-valor-card {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 36px 28px;
  text-align: center;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  transition: background 0.25s ease;
}

.qs-valor-card:first-child {
  border-left: none;
}

.qs-valor-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.qs-valor-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  margin-bottom: 20px;
}

.qs-valor-card__icon img {
  filter: brightness(0) invert(1) !important;
  width: 32px;
  height: 32px;
}

.qs-valor-card__name {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.qs-valor-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
}

/* ── Distribuidores ──────────────────────────────────────────── */
.qs-dist {
  background: white;
  padding: 60px 80px;
  text-align: center;
}
.qs-dist__heading {
  font-family: var(--font-body);
  font-size: 40px; font-weight: 800;
  color: var(--brand-navy); margin: 0 0 48px;
}
.qs-dist__cards {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
}
.qs-dist__card {
  width: 256px; height: 144px;
  border: 1px solid #e2e8f0; border-radius: 16px;
  background: white;
  box-shadow: 0 4px 16px rgba(30,41,59,0.04);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.qs-dist__card:hover {
  box-shadow: 0 8px 28px rgba(0,90,152,0.10);
  transform: translateY(-2px);
}
.qs-dist__card img {
  max-width: 212px; max-height: 98px;
  width: auto; height: auto; object-fit: contain;
}
.qs-dist__card--text span {
  font-size: 16px; font-weight: 700; color: var(--muted);
}

/* ── Clientes ────────────────────────────────────────────────── */
.qs-clientes {
  background: #f8fafc;
  padding: 48px 80px 64px;
}
.qs-clientes__heading {
  font-family: var(--font-body);
  font-size: 32px; font-weight: 800;
  color: var(--brand-navy); text-align: center;
  margin: 0 0 32px;
}
.qs-clientes__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.qs-client-badge {
  width: 170px;
  height: 80px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: all 0.2s;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.qs-client-badge:hover { box-shadow: var(--shadow-card); }
.qs-client-badge img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  opacity: 1;
  transition: transform 0.2s;
}
.qs-client-badge:hover img { transform: scale(1.05); }
.qs-client-badge--text span {
  font-size: 9px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.3px;
  white-space: nowrap;
}

/* ── Responsive — Quiénes Somos ──────────────────────────────── */
@media (max-width: 1100px) {
  .qs-valores__grid { grid-template-columns: repeat(3, 1fr); }
  .qs-valor-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .qs-valor-card:nth-child(-n+3) { border-top: none; }
  .qs-valor-card:nth-child(3n+2),
  .qs-valor-card:nth-child(3n+3) { border-left: 1px solid rgba(255, 255, 255, 0.15); }
  .qs-valor-card:first-child { border-left: none; }
  .qs-hero__logo { display: none; }
}
@media (max-width: 1024px) {
  .qs-intro { grid-template-columns: 1fr; }
  .qs-intro__photo { margin: 40px 40px 0; height: 320px; border-radius: 28px; }
  .qs-intro__body { padding: 40px; }
  .qs-hero { height: auto; padding: 100px 0 60px; }
  .qs-hero__inner { padding: 0 40px; }
  .qs-hero__title { font-size: 44px; }
  .qs-mvv { padding: 56px 40px; }
  .qs-mvv__cards { grid-template-columns: 1fr; gap: 16px; }
  .qs-valores__inner { padding: 0 40px; }
  .qs-valores__grid { grid-template-columns: repeat(3, 1fr); }
  .qs-dist { padding: 56px 40px; }
  .qs-clientes { padding: 40px; }
  .qs-company-name { font-size: 30px; }
}
@media (max-width: 768px) {
  .qs-valores__grid { grid-template-columns: repeat(2, 1fr); }
  .qs-valor-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .qs-valor-card:nth-child(-n+3) { border-top: 1px solid rgba(255, 255, 255, 0.15); }
  .qs-valor-card:nth-child(-n+2) { border-top: none; }
  .qs-valor-card:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, 0.15); }
  .qs-dist__card { width: 100%; max-width: 300px; height: 120px; }
}
@media (max-width: 600px) {
  .qs-hero__inner { padding: 0 20px; }
  .qs-hero__title { font-size: 34px; }
  .qs-hero__sub { font-size: 15px; }
  .qs-hero__deco-icon { display: none; }
  .qs-hero__logo { display: none; }
  .qs-intro__photo { margin: 24px 20px 0; height: 260px; border-radius: 20px; }
  .qs-intro__body { padding: 24px 20px 32px; }
  .qs-company-name { font-size: 26px; }
  .qs-stats-bar { flex-wrap: wrap; gap: 16px; justify-content: space-around; }
  .qs-mvv { padding: 40px 20px; }
  .qs-mvv__heading { font-size: 32px; }
  .qs-mvv__card { padding: 28px 24px; }
  .qs-mvv__card-name { font-size: 28px; }
  .qs-valores__inner { padding: 0 20px; }
  .qs-valores__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .qs-valores__heading { font-size: 30px; }
  .qs-dist { padding: 40px 20px; }
  .qs-dist__heading { font-size: 28px; }
  .qs-clientes { padding: 32px 20px 48px; }
  .qs-clientes__heading { font-size: 24px; }
  .qs-client-badge { width: 100px; height: 44px; }
}

/* ================================================================
   CONTACTO — Figma v3.0
   ================================================================ */

/* ── Hero ────────────────────────────────────────────────────── */
.ct-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #0558b4 0%, #1a88de 50%, #00b82e 100%);
  height: 400px;
  display: flex; align-items: center;
}
.ct-hero__ellipse {
  position: absolute; right: -20px; top: -40px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.ct-hero__deco {
  position: absolute; right: 80px; top: 50%;
  transform: translateY(-50%);
  width: 360px; height: auto;
  opacity: 0.08; pointer-events: none;
  filter: brightness(0) invert(1);
}
.ct-hero__inner {
  position: relative; z-index: 1; padding: 0 120px;
}
.ct-hero__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand-green); margin: 0 0 8px;
  display: block; text-transform: uppercase;
}
.ct-hero__title {
  font-family: var(--font-body);
  font-size: 56px; font-weight: 800;
  color: white; margin: 0 0 16px; line-height: 1.05;
}
.ct-hero__sub {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 560px; margin: 0;
}

/* ── Contact Main layout ─────────────────────────────────────── */
.ct-main {
  background: white;
  padding: 40px 80px 80px;
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: 80px;
  align-items: start;
}

/* ── Form card ───────────────────────────────────────────────── */
.ct-form {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(30,41,59,0.06);
}
.ct-form__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.ct-form__title {
  font-family: var(--font-body);
  font-size: 24px; font-weight: 800;
  color: var(--brand-navy); margin: 0;
}
.ct-form__note {
  font-size: 14px; font-weight: 400;
  color: #475569; margin: 0;
  white-space: normal;
  line-height: 1.6;
}
.ct-form__body {
  display: flex; flex-direction: column; gap: 0;
}
.ct-form__row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Fields */
.ct-field {
  display: flex; flex-direction: column;
  margin-bottom: 14px;
}
.ct-field__label {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.5px; color: #1e293b;
  margin-bottom: 6px;
}
.ct-field__input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 14px;
  height: 52px;
  font-size: 14px; font-family: inherit;
  color: var(--dark);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.ct-field__input:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(0,90,152,0.12);
}
.ct-field__textarea {
  height: 113px; padding-top: 14px; padding-bottom: 14px;
  resize: vertical;
}

/* Submit button */
.ct-form__submit {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; margin-top: 8px;
  background: var(--brand-green);
  color: white;
  border: none; border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .18s ease, box-shadow .18s ease, background .15s ease;
}
.ct-form__submit:hover {
  background: #00c800;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 181, 0, 0.45);
}

/* ── Info column ─────────────────────────────────────────────── */
.ct-info {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 8px;
}
.ct-info__title {
  font-family: var(--font-body);
  font-size: 24px; font-weight: 800;
  color: var(--brand-navy); margin: 0 0 8px;
}

/* Info cards */
.ct-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px; /* Industrial corner */
  padding: 20px 24px;
  min-height: 80px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.ct-info-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: var(--brand-green);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.ct-info-card--tall {
  min-height: 100px;
}

.ct-info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.ct-info-card:hover .ct-info-card__icon {
  transform: scale(1.05);
}

.ct-info-card__icon img {
  /* navy blue by default */
  filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(884%) hue-rotate(185deg) brightness(97%) contrast(102%);
  transition: filter 0.3s ease;
}

.ct-info-card:hover .ct-info-card__icon img {
  /* green on hover */
  filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1518%) hue-rotate(85deg) brightness(98%) contrast(110%);
}
.ct-info-card__body {
  display: flex; flex-direction: column; gap: 4px;
}
.ct-info-card__label {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--muted); text-transform: uppercase; display: block;
}
.ct-info-card__value {
  font-size: 16px; font-weight: 600;
  color: #1e293b; margin: 0; line-height: 1.5;
}

/* Síguenos */
.ct-info__siguenos {
  font-size: 16px; font-weight: 700;
  color: #1e293b; margin: 4px 0 0;
}
.ct-social-row {
  display: flex; gap: 12px;
}
.ct-social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  background: #005a98;
  color: white;
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.3px;
  transition: background .15s, transform .18s ease, box-shadow .18s ease;
}
.ct-social-pill:hover {
  background: #004c82;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 15px rgba(0, 76, 130, 0.3);
}
.ct-social-pill__icon {
  width: 16px; height: 16px; flex-shrink: 0;
}

/* ── Map section ─────────────────────────────────────────────── */
.ct-map {
  background: #f8fafc;
  padding: 40px 80px;
}
.ct-map__frame {
  height: 280px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(30,41,59,0.06);
  display: flex; align-items: center; justify-content: center;
}
.ct-map__label {
  font-size: 14px; color: var(--muted);
}

/* ── Responsive — Contacto ───────────────────────────────────── */
@media (max-width: 1200px) {
  .ct-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ct-hero__logo { display: none; }
}
@media (max-width: 1024px) {
  .ct-hero { height: auto; padding: 80px 0 56px; }
  .ct-hero__inner { padding: 0 40px; }
  .ct-hero__title { font-size: 44px; }
  .ct-main { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .ct-form { padding: 36px; }
  .ct-map { padding: 32px 40px; }
}
@media (max-width: 600px) {
  .ct-hero__inner { padding: 0 20px; }
  .ct-hero__title { font-size: 36px; }
  .ct-hero__deco { display: none; }
  .ct-hero__logo { display: none; }
  .ct-main { padding: 24px 20px 40px; }
  .ct-form { padding: 24px 20px; }
  .ct-form__head { flex-direction: column; gap: 4px; }
  .ct-form__note { white-space: normal; }
  .ct-form__row { grid-template-columns: 1fr; }
  .ct-map { padding: 24px 20px 40px; }
  .ct-map__frame { height: 220px; }
  .ct-social-row { flex-direction: column; }
  .ct-social-pill { justify-content: center; }
}

/* ================================================================
   MI CUENTA
   ================================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px 80px 80px;
}

.account-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  align-self: start;
}

.account-sidebar .who {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.account-sidebar .who .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}

.account-sidebar .who .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.account-sidebar .who .email {
  font-size: 11px;
  color: var(--muted);
}

.account-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-sidebar nav a {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--body-2);
}

.account-sidebar nav a.active,
.account-sidebar nav a:hover {
  background: rgba(0, 90, 152, 0.06);
  color: var(--brand-navy);
}

.account-main .page-head {
  margin-bottom: 24px;
}

.account-main h1 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 6px;
}

.account-main .sub {
  color: var(--body);
  font-size: 14px;
}

.orders-table {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.orders-table .head,
.orders-table .row {
  display: grid;
  grid-template-columns: 120px 120px 1fr 120px 120px 80px;
  gap: 16px;
  padding: 14px 20px;
  align-items: center;
  font-size: 13px;
}

.orders-table .head {
  background: var(--offwhite);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--body-2);
  text-transform: uppercase;
}

.orders-table .row {
  border-top: 1px solid var(--border);
}

.orders-table .row .oid {
  font-weight: 700;
  color: var(--brand-navy);
}

.orders-table .row .status .pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pill.green {
  background: rgba(0, 181, 0, 0.12);
  color: var(--brand-green);
}

.pill.amber {
  background: rgba(234, 170, 0, 0.12);
  color: rgb(180, 130, 0);
}

.pill.blue {
  background: rgba(0, 146, 252, 0.12);
  color: var(--brand-blue);
}

/* ================================================================
   LOGIN / REGISTER
   ================================================================ */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}

.auth-visual {
  background: var(--gradient-brand);
  color: white;
  padding: 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-visual .deco-icon {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 500px;
  height: 540px;
  opacity: 0.1;
}

.auth-visual .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  position: relative;
}

.auth-visual h2 {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  max-width: 480px;
  position: relative;
}

.auth-visual p {
  max-width: 420px;
  font-size: 15px;
  opacity: 0.8;
  margin-top: 20px;
  position: relative;
}

.auth-form {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.auth-form .box {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.auth-form h1 {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 8px;
}

.auth-form .sub {
  color: var(--body);
  margin-bottom: 32px;
  font-size: 14px;
}

.auth-form .tab-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.auth-form .tab-row a {
  padding: 14px 0;
  margin-right: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.auth-form .tab-row a.active {
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}

.auth-form .role-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-form .role-card {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--body-2);
}

.auth-form .role-card.active {
  border-color: var(--brand-navy);
  background: rgba(0, 90, 152, 0.04);
  color: var(--brand-navy);
}

/* ================================================================
   MARQUEE — animated scroll + constrained logo images
   ================================================================ */
.marquee-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 24px 80px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.marquee-strip .mq-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-blue);
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee-strip .mq-viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-strip .mq-track {
  display: flex;
  gap: 32px;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

/* marquee never pauses — continuous scroll */

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

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

.marquee-strip .mq-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 52px;
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.marquee-strip .mq-item img {
  max-width: 112px;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  --logo-scale: 1;
  filter: none;
  opacity: 1;
  mix-blend-mode: multiply;
  transition: opacity 0.2s, transform 0.2s;
  transform: scale(var(--logo-scale));
}

.marquee-strip .mq-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(calc(var(--logo-scale) + 0.04));
}

.marquee-strip .mq-item.is-wide img {
  max-width: 122px;
  max-height: 38px;
}

.marquee-strip .mq-item.is-ultra-wide img {
  max-width: 126px;
  max-height: 34px;
}

.marquee-strip .mq-item.is-square img {
  max-width: 76px;
  max-height: 44px;
}

.marquee-strip .mq-item.is-boost img {
  --logo-scale: 1.26;
}

/* ================================================================
   POR QUÉ ENECO — 5-column structural panel (no glassmorphism)
   ================================================================ */
.why-band .diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0 20px;
  position: relative;
}

.diff-card {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 32px 28px;
  position: relative;
  text-align: center;
  transition: background 0.25s ease;
}

.diff-card:first-child {
  border-left: none;
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.diff-card .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  margin-bottom: 20px;
}

.diff-card .ic svg {
  width: 36px;
  height: 36px;
  stroke: var(--brand-lime);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0 0 12px;
  line-height: 1.25;
}

.diff-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ================================================================
   DISTRIBUIDORES — Authorized Distributors section
   ================================================================ */
.distributors-section {
  background: white;
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.distributors-section .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brand-lime);
  display: block;
  margin-bottom: 16px;
}

.distributors-section h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 48px;
  line-height: 1;
}

.distributors-section .dist-row {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.distributors-section .dist-card {
  width: 256px;
  height: 144px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: white;
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.distributors-section .dist-card:hover {
  box-shadow: 0 8px 28px rgba(0, 90, 152, 0.1);
  transform: translateY(-2px);
}

.distributors-section .dist-card img {
  max-width: 212px;
  max-height: 98px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s;
}

.distributors-section .dist-card:hover img {
  transform: scale(1.02);
}

.distributors-section .dist-card.dist-ferrisariato img {
  max-width: 176px;
  max-height: 72px;
}

.distributors-section .dist-card.dist-kywi img {
  max-width: 194px;
  max-height: 86px;
}

/* ================================================================
   CLIENTES GRID — for clients page / sections using logos
   ================================================================ */
.clients-section {
  background: var(--offwhite);
  padding: 64px 0;
}

.clients-section .section-title {
  margin-bottom: 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 0 80px;
}

.clients-grid .cell {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: box-shadow 0.15s;
}

.clients-grid .cell:hover {
  box-shadow: var(--shadow-card);
}

.clients-grid .cell img {
  max-width: 124px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.2s, opacity 0.2s;
}

.clients-grid .cell:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.clients-grid .cell.is-wide img {
  max-width: 132px;
  max-height: 46px;
}

.clients-grid .cell.is-ultra-wide img {
  max-width: 138px;
  max-height: 42px;
}

.clients-grid .cell.is-square img {
  max-width: 84px;
  max-height: 56px;
}

.clients-grid .cell.is-boost img {
  transform: scale(1.12);
}

/* ================================================================
   FOOTER — social icons row (brand circular icons from mockup)
   ================================================================ */
.site-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.site-footer .footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.site-footer .footer-social a:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.site-footer .footer-social svg {
  width: 32px;
  height: 32px;
  display: block;
}

.site-footer .footer-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}

/* ================================================================
   MENU TOGGLE (Mobile)
   ================================================================ */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1200px) {

  .wrap,
  .section-title,
  .benefits-grid,
  .products-grid,
  .catalog-layout,
  .pd-grid,
  .cart-layout {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 0 24px;
  }

  .site-nav {
    margin-left: 20px;
  }

  .site-nav .nav-links {
    gap: 4px;
  }

  .site-nav a {
    padding: 8px 12px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero h1 .accent {
    font-size: 68px;
  }

  .about-row .grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-row .photo {
    height: 400px;
  }

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

  /* services-grid, mvv-row, values-grid, about-hero, stats-row, contact-* removed — replaced by dedicated page classes */
}

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--brand-deep-navy);
    flex-direction: column;
    padding: 100px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    gap: 20px;
    align-items: flex-start;
  }

  .site-nav.active {
    right: 0;
  }

  .site-nav .nav-links,
  .site-nav .nav-pills {
    width: 100%;
  }

  .site-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
  }

  .site-nav .nav-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
  }

  .site-nav a {
    font-size: 18px;
    width: 100%;
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: none;
    color: var(--brand-green);
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h1 .accent {
    font-size: 44px;
  }

  .hero .sub {
    font-size: 15px;
    margin: 24px auto 32px;
  }

  .hero .cta-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero .cta-row .btn {
    width: 100%;
    max-width: 280px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .about-row .grid {
    padding: 0 24px;
  }

  .about-row .about-body h2 {
    font-size: 32px;
  }

  /* about-hero replaced by qs-hero */

  /* contact-* removed — replaced by ct-* classes */

  .why-band {
    padding: 72px 24px;
  }

  .why-band .diff-grid,
  .diff-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 24px;
  }

  .diff-card {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
  }

  .diff-card:first-child {
    border-left: none;
  }

  .distributors-section .dist-row {
    flex-direction: column;
    align-items: center;
  }

  .distributors-section .dist-card {
    width: min(360px, 100%);
    height: 140px;
  }

  .marquee-strip {
    padding: 20px 24px;
    gap: 20px;
  }

  .marquee-strip .mq-item {
    width: 104px;
    height: 46px;
    border-radius: 10px;
  }

  .marquee-strip .mq-item.is-ultra-wide img {
    max-width: 102px;
    max-height: 30px;
  }

  .marquee-strip .mq-item.is-square img {
    max-width: 64px;
    max-height: 40px;
  }

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

  .sidebar {
    position: static;
    width: 100%;
    margin-bottom: 32px;
  }

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

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  /* Footer responsive compacto — Fix 3 */
  .site-footer {
    padding: 24px 20px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding-bottom: 16px;
  }

  .footer-brand-col,
  .footer-nav-col,
  .footer-contact-col {
    align-items: center;
  }

  .footer-logo {
    height: 44px;
    margin-bottom: 12px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .footer-col-label {
    font-size: 11px;
    margin-bottom: 10px;
  }

  /* Nav links en fila horizontal — ahorra espacio vertical */
  .footer-nav-col ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    margin: 0;
  }

  .footer-nav-col li {
    margin-bottom: 0;
  }

  .footer-nav-col a {
    font-size: 14px;
  }

  /* Contacto más compacto */
  .footer-contact-item {
    justify-content: center;
    font-size: 13px;
    margin-bottom: 8px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-copyright {
    padding: 12px 0;
  }

  /* Ocultar aviso legal extenso en móvil */
  .footer-privacy-notice {
    display: none;
  }

  .footer-legal-links {
    padding: 8px 16px 12px;
    text-align: center;
  }

  .footer-legal-links__nav {
    justify-content: center;
  }

  /* Final CTA responsive */
  .final-cta {
    padding: 56px 24px;
  }

  .final-cta h2 {
    font-size: 26px;
  }

  .final-cta>div {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .final-cta>div .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 600px) {

  .benefits-grid,
  .catalog-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* values-grid, mvv-row, stats-row, contact-* removed — replaced by dedicated page classes */

  .distributors-section h2 {
    font-size: 32px;
    margin-bottom: 28px;
  }

  .distributors-section .dist-card {
    height: 128px;
    padding: 16px;
  }

  .distributors-section .dist-card img {
    max-width: 182px;
    max-height: 74px;
  }

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

  .clients-grid .cell {
    height: 76px;
  }

  .clients-grid .cell img {
    max-width: 100px;
    max-height: 42px;
  }

  .marquee-strip {
    padding: 16px 12px;
  }

  .marquee-strip .mq-label {
    display: none;
  }

  .marquee-strip .mq-item {
    width: 90px;
    height: 40px;
  }

  .marquee-strip .mq-item img {
    max-width: 84px;
    max-height: 30px;
  }

  .marquee-strip .mq-item.is-square img {
    max-width: 54px;
    max-height: 30px;
  }

  .why-band .section-title h2 {
    font-size: 28px;
  }

  .diff-card h3 {
    font-size: 16px;
  }

  .diff-card p {
    font-size: 13px;
  }

  .wrap,
  .section-title,
  .benefits-grid,
  .products-grid,
  .catalog-layout,
  .pd-grid,
  .cart-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h1 .accent {
    font-size: 36px;
  }

  .stat .num {
    font-size: 44px;
  }

  /* About row, footer, final-cta at smallest breakpoint */
  .about-row .grid {
    padding: 0 20px;
  }

  .site-footer {
    padding: 24px 20px 0;
  }

  .final-cta {
    padding: 40px 20px;
  }

  .final-cta h2 {
    font-size: 22px;
  }
}

/* ================================================================
   HOME PAGE — LOAD ANIMATIONS
   Sequence: 1) hero content fades in  2) logo "draws" in  3) nav slides down
   ================================================================ */

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes nav-slide-down {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-up-blur {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes hero-pop {
  0% { opacity: 0; transform: scale(0.9); }
  70% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Logo "draw" — traces itself from top right to bottom left */
@keyframes logo-draw {
  0%   { stroke-dashoffset: 3500; fill: transparent; }
  80%  { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: currentColor; }
}



/* Hero section children staggered — global (all page templates) */
.hero-anim-up-blur {
  opacity: 0;
  animation: hero-up-blur 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.65s; }

.page-template-page-home .hero-anim-pop {
  opacity: 0;
  animation: hero-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 2.2s;
}

/* SVG logo draw */
.page-template-page-home .hero .deco-icon {
  opacity: 0.07;
  filter: brightness(0) invert(1) blur(3px);
}

.page-template-page-home .hero .logo-path {
  stroke-dasharray: 3500;
  stroke-dashoffset: 3500;
  animation: logo-draw 2.5s ease-out forwards;
}

/* ================================================================
   SCROLL-REVEAL — Immersive entrance animations (home page only)
   Multiple variants: fade-up, slide-left, slide-right, zoom-in
   ================================================================ */

/* Base hidden state */
.page-template-page-home .sr-item,
.page-template-page-home .sr-left,
.page-template-page-home .sr-right,
.page-template-page-home .sr-scale {
  opacity: 0;
  will-change: opacity, transform;
}

/* Fade + slide up (benefit cards) */
.page-template-page-home .sr-item {
  transform: translateY(60px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-template-page-home .sr-item.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.page-template-page-home .sr-left {
  transform: translateX(-80px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-template-page-home .sr-left.sr-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.page-template-page-home .sr-right {
  transform: translateX(80px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-template-page-home .sr-right.sr-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom scale-in (diff cards) */
.page-template-page-home .sr-scale {
  transform: scale(0.88) translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-template-page-home .sr-scale.sr-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Stagger delays for grid children */
.page-template-page-home .sr-item:nth-child(1) { transition-delay: 0s; }
.page-template-page-home .sr-item:nth-child(2) { transition-delay: 0.12s; }
.page-template-page-home .sr-item:nth-child(3) { transition-delay: 0.24s; }
.page-template-page-home .sr-item:nth-child(4) { transition-delay: 0.36s; }

.page-template-page-home .sr-scale:nth-child(1) { transition-delay: 0s; }
.page-template-page-home .sr-scale:nth-child(2) { transition-delay: 0.1s; }
.page-template-page-home .sr-scale:nth-child(3) { transition-delay: 0.2s; }
.page-template-page-home .sr-scale:nth-child(4) { transition-delay: 0.3s; }
.page-template-page-home .sr-scale:nth-child(5) { transition-delay: 0.4s; }

/* ================================================================
   DIFERENCIADORES — structural panel (cascade override)
   ================================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.diff-card {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  padding: 32px 28px;
  width: auto;
  min-height: 0;
  text-align: center;
  transition: background 0.25s ease;
}
.diff-card:first-child {
  border-left: none;
}
.diff-card:hover {
  background: rgba(255, 255, 255, 0.04);
}
.diff-card .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  margin-bottom: 20px;
  box-shadow: none;
  transition: none;
}
.diff-card .ic img,
.diff-card .ic svg {
  filter: brightness(0) invert(1) !important;
  width: 32px;
  height: 32px;
}
.diff-card h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}
.diff-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ================================================================
   DISTRIBUTORS
   ================================================================ */
.dist-card {
  position: relative;
}
.dist-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 5px;
  background: var(--brand-navy);
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.dist-card:hover::after {
  width: 100%;
}

/* ================================================================
   MI CUENTA (Account) — Portal de Cliente
   ================================================================ */
.acc-hero {
  background: var(--gradient-brand);
  padding: 160px 0 120px;
  color: white;
}
.acc-hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acc-hero__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-lime);
  margin-bottom: 12px;
}
.acc-hero__title {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}
.acc-hero__sub {
  font-size: 18px;
  opacity: 0.9;
  margin-top: 12px;
}

.acc-container {
  margin-top: -60px;
  margin-bottom: 80px;
}

.acc-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-big);
  padding: 40px;
  min-height: 600px;
}

/* Sidebar */
.acc-sidebar {
  border-right: 1px solid var(--border);
  padding-right: 32px;
}

.acc-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.acc-profile__avatar {
  width: 56px;
  height: 56px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-navy);
}
.acc-profile__name {
  font-weight: 800;
  color: var(--dark);
  font-size: 17px;
}
.acc-profile__email {
  font-size: 13px;
  color: var(--muted);
}

.acc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acc-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--body-2);
  transition: all 0.2s ease;
}
.acc-nav a img {
  opacity: 0.7;
  transition: opacity 0.2s ease;
  filter: brightness(0); /* Force white icons to be black/dark */
}
.acc-nav a:hover {
  background: #f8fafc;
  color: var(--brand-navy);
}
.acc-nav a.active {
  background: #eef6fc;
  color: var(--brand-navy);
}
.acc-nav a.active img {
  opacity: 1;
}

/* Main Content */
.acc-main {
  min-width: 0;
}
.acc-main__head {
  margin-bottom: 32px;
}
.acc-section-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.acc-section-sub {
  color: var(--muted);
  font-size: 15px;
}

.acc-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.acc-table {
  width: 100%;
  border-collapse: collapse;
}
.acc-table th {
  text-align: left;
  padding: 16px 20px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.acc-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--body-2);
}
.acc-table tr:last-child td {
  border-bottom: 0;
}

.acc-td-id {
  font-weight: 700;
  color: var(--brand-navy);
}
.acc-td-total {
  font-weight: 800;
  color: var(--dark);
  font-size: 16px;
}

.acc-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.acc-status--review { background: #e0f2fe; color: #0369a1; }
.acc-status--approved { background: #dcfce7; color: #15803d; }
.acc-status--delivered { background: #f1f5f9; color: #475569; }

.acc-btn-ver {
  font-weight: 700;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}
.acc-btn-ver:hover {
  transform: translateX(3px);
}

.acc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.acc-stat-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.acc-stat-card__val {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.acc-stat-card__val--green {
  color: var(--brand-green);
}
.acc-stat-card__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 992px) {
  .acc-layout {
    grid-template-columns: 1fr;
  }
  .acc-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 32px;
  }
  .acc-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .acc-hero__actions {
    width: 100%;
  }
  .acc-hero__actions .btn {
    display: inline-block;
  }
  .acc-stats {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════
   ACC PANEL TABS
══════════════════════════════════════════════════ */
.acc-panel {
  display: none;
}
.acc-panel--active {
  display: block;
}

/* ══════════════════════════════════════════════════
   HEAD ROW (título + CTA inline)
══════════════════════════════════════════════════ */
.acc-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.acc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.acc-cta-btn:hover {
  opacity: 0.88;
  color: #fff;
}

/* ══════════════════════════════════════════════════
   TABLE: COTIZACIONES extra statuses
══════════════════════════════════════════════════ */
.acc-td-desc {
  max-width: 260px;
  color: var(--body-2);
}
.acc-status--process  { background: #fef9c3; color: #854d0e; }
.acc-status--answered { background: #dcfce7; color: #15803d; }
.acc-status--closed   { background: #f1f5f9; color: #94a3b8; }

/* ══════════════════════════════════════════════════
   FORM (perfil + soporte)
══════════════════════════════════════════════════ */
.acc-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.acc-form__section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.acc-form__section-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.acc-form__hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: -12px;
}
.acc-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.acc-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.acc-form__field--full {
  grid-column: 1 / -1;
}
.acc-form__field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.2px;
}
.acc-form__field input,
.acc-form__field select,
.acc-form__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  resize: vertical;
}
.acc-form__field input:focus,
.acc-form__field select:focus,
.acc-form__field textarea:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(10, 42, 87, 0.08);
}
.acc-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.acc-pass-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  z-index: 5;
}
.acc-pass-toggle:hover {
  opacity: 0.8;
}
.acc-pass-toggle img {
  width: 18px;
  height: 18px;
  filter: brightness(0);
}
.acc-form__actions {
  display: flex;
  justify-content: flex-start;
}
.acc-submit-btn {
  background: var(--brand-navy);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: inherit;
}
.acc-submit-btn:hover {
  opacity: 0.88;
}

/* ══════════════════════════════════════════════════
   ALERT
══════════════════════════════════════════════════ */
.acc-alert {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.acc-alert--success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* ══════════════════════════════════════════════════
   SOPORTE: CHANNELS
══════════════════════════════════════════════════ */
.acc-support-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.acc-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  color: var(--dark);
}
.acc-channel-card:hover {
  border-color: var(--brand-navy);
  box-shadow: 0 4px 16px rgba(10,42,87,0.08);
  transform: translateY(-1px);
  color: var(--dark);
}
.acc-channel-card--wa:hover   { border-color: #25d366; }
.acc-channel-card--mail:hover { border-color: var(--brand-navy); }
.acc-channel-card--phone:hover { border-color: var(--brand-green); }

.acc-channel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.acc-channel-icon img {
  filter: none !important;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.acc-channel-info {
  flex: 1;
  min-width: 0;
}
.acc-channel-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
}
.acc-channel-desc {
  font-size: 13px;
  color: var(--muted);
}
.acc-channel-arrow {
  font-size: 15px;
  color: #cbd5e0;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.acc-channel-card:hover .acc-channel-arrow {
  transform: translateX(4px);
  color: var(--brand-navy);
}

.acc-support-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

/* ── Responsive nuevos componentes ─────────────────── */
@media (max-width: 992px) {
  .acc-form__grid {
    grid-template-columns: 1fr;
  }
  .acc-form__field--full {
    grid-column: 1;
  }
  .acc-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================================================
   LEGAL PAGES — Términos & Condiciones / Política de Privacidad
   ================================================================ */

.legal-page-wrap {
  background: var(--offwhite);
  min-height: 80vh;
}

/* Hero banner */
.legal-hero {
  background: var(--gradient-brand);
  padding: 136px 24px 72px; /* 64px + 72px fixed header */
  text-align: center;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.legal-hero-inner {
  position: relative;
  z-index: 1;
}
.legal-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.legal-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: white;
  margin: 0 0 12px;
  line-height: 1.1;
}
.legal-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  margin: 0;
}

/* Layout: TOC + Body */
.legal-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .legal-content {
    grid-template-columns: 1fr;
  }
}

/* Table of Contents */
.legal-toc {
  position: sticky;
  top: 100px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.legal-toc h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-toc ol li {
  font-size: 13px;
  line-height: 1.4;
}
.legal-toc ol li a {
  color: var(--body-2);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-toc ol li a:hover {
  color: var(--brand-navy);
}

/* Body content */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.legal-body section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  scroll-margin-top: 100px;
}
.legal-body h2 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.legal-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0 10px;
}
.legal-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-2);
  margin: 0 0 14px;
}
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul, .legal-body ol {
  padding-left: 22px;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-body li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-2);
}
.legal-body a {
  color: var(--brand-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Callout box */
.legal-callout {
  background: rgba(0, 90, 152, 0.06);
  border-left: 4px solid var(--brand-navy);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--dark);
  margin: 16px 0;
}

/* Contact box inside legal */
.legal-contact-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 2;
  color: var(--body-2);
  margin: 16px 0;
}
.legal-contact-box a {
  color: var(--brand-navy);
}

/* Legal tables */
.legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 16px 0;
}
.legal-table th {
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
}
.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--body-2);
  line-height: 1.55;
  vertical-align: top;
}
.legal-table tbody tr:nth-child(even) td {
  background: rgba(0, 90, 152, 0.03);
}
.legal-table tbody tr:last-child td {
  border-bottom: none;
}
.legal-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 18px 0 8px;
}

/* Footer legal links */
.footer-legal-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 40px 24px;
  background: rgba(0,0,0,0.18);
  text-align: center;
}
.footer-privacy-notice {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 780px;
  margin: 0;
}
.footer-privacy-notice strong {
  color: rgba(255,255,255,0.85);
}
.footer-privacy-notice a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal-links__nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-legal-links__nav a {
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links__nav a:hover {
  color: white;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE COMPLETIONS — Base 1920px → Mobile
   Nuevas clases base + gaps faltantes + bug fixes
   ═══════════════════════════════════════════════════════════════════ */

/* ── Clases base para reemplazar inline styles PHP ───────────────── */
.cart-page-header {
  padding: 32px 80px 0;
}

.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 40px;
}

/* Login form grid — clases usadas en page-login.php sin CSS definido */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--body-2);
}

.form-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--dark);
  background: #fff;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(0, 90, 152, 0.08);
}

/* ── 1440px: transición desde 1920px al diseño original ─────────── */
@media (max-width: 1440px) {
  .wrap {
    max-width: 1320px;
  }
  .header-inner,
  .footer-inner,
  .copyright-inner {
    max-width: 1520px;
  }
}

/* ── 1200px: adiciones ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .breadcrumb-bar,
  .search-bar,
  .cart-page-header,
  .product-detail-layout {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ── 900px: adiciones ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .breadcrumb-bar,
  .search-bar,
  .cart-page-header,
  .product-detail-layout {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Auth/Login: colapsar a 1 columna */
  .auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-visual {
    display: none;
  }
  .auth-form {
    padding: 80px 40px 60px;
    min-height: calc(100vh - 72px);
  }

  /* Mi Cuenta: reducir hero muy alto (160px → 100px) */
  .acc-hero {
    padding: 100px 0 60px;
  }
  .acc-hero__title {
    font-size: 36px;
  }

  /* Photo badge: corregir left:-20px que causa overflow en mobile */
  .about-row .photo .photo-badge {
    left: 0;
  }

  /* Fallback pages */
  .page-content {
    padding: 60px 24px;
  }

  /* Diferenciadores — mobile: 1 col con separadores horizontales */
  .why-band .diff-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .diff-card {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 0;
  }

  .diff-card:last-child {
    border-bottom: none;
  }
}

/* ── 600px: adiciones ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .breadcrumb-bar,
  .search-bar,
  .cart-page-header,
  .product-detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Auth */
  .auth-form {
    padding: 80px 20px 40px;
  }

  /* Mi Cuenta — Fix 1: botón cerrar sesión no queda tapado por el card blanco */
  .acc-hero {
    padding: 80px 0 100px;
  }
  .acc-hero__title {
    font-size: 28px;
  }
  .acc-container {
    margin-top: -40px;
  }

  /* Tablas compactas en móvil — Fix 2 */
  .acc-table th { padding: 10px 12px; font-size: 11px; }
  .acc-table td { padding: 12px; font-size: 13px; }
  .acc-td-total { font-size: 14px; }

  /* Cards industriales — Fix 4: texto no desborda en móvil */
  .svc-ind-grid {
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }
  .svc-ind-card {
    padding: 10px 10px;
    min-height: 60px;
    gap: 6px;
  }
  .svc-ind-card__label {
    font-size: 13px;
    line-height: 1.2;
  }
  .svc-ind-card__icon img {
    width: 22px !important;
    height: 22px !important;
  }

  /* Foto nosotros: reducir altura en mobile pequeño */
  .about-row .photo {
    height: 260px;
  }

  /* Cart row: apilado flex en lugar de grid 5 columnas */
  .cart-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px;
  }
  .cart-row .thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }
  .cart-row > *:nth-child(2) {
    flex: 1 1 0;
    min-width: 0;
  }
  .cart-row > *:nth-child(3) { /* qty controles */
    flex: 0 0 100%;
  }
  .cart-row > *:nth-child(4) { /* price */
    flex: 0 0 auto;
  }
  .cart-row > *:nth-child(5) { /* remove */
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* Login form grid → 1 columna */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Fallback pages */
  .page-content {
    padding: 40px 16px;
  }
}

/* ================================================================
   PAGINADOR DE TABLAS — Mi Cuenta (Fix 2)
   ================================================================ */
.acc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}

.acc-pag-btn {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-body);
}

.acc-pag-btn:hover:not(:disabled) {
  background: var(--brand-navy);
  color: white;
}

.acc-pag-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.acc-pag-info {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ================================================================
   PAGE LOAD ANIMATIONS — Catálogo, Quiénes Somos, Contacto
   Mirrors the hero-anim system from page-home
   ================================================================ */

/* Catálogo hero band */
.cat-hero {
  background: linear-gradient(90deg, #0558b4 0%, #1a88de 50%, #00b82e 100%);
  height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cat-hero__logo {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(calc(-35% - 10px));
  width: 286px;
  height: auto;
  color: white;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.cat-hero__inner {
  position: relative;
  z-index: 1;
  padding: 0 120px;
}
.cat-hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand-lime);
  text-transform: uppercase;
  margin: 0 0 8px;
  opacity: 0;
  animation: hero-up-blur 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.cat-hero__title {
  font-family: var(--font-body);
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.05;
  opacity: 0;
  animation: hero-up-blur 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.cat-hero__sub {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 620px;
  line-height: 1.5;
  opacity: 0;
  animation: hero-up-blur 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
.page-template-page-catalogo .logo-path {
  stroke-dasharray: 3500;
  stroke-dashoffset: 3500;
  animation: logo-draw 2.5s ease-out forwards;
  animation-delay: 0.4s;
}

/* ================================================================
   SCROLL-REVEAL — Quiénes Somos, Contacto, Catálogo
   ================================================================ */
.page-template-page-quienes-somos .sr-item,
.page-template-page-quienes-somos .sr-left,
.page-template-page-quienes-somos .sr-right,
.page-template-page-quienes-somos .sr-scale,
.page-template-page-contacto .sr-item,
.page-template-page-contacto .sr-left,
.page-template-page-contacto .sr-right,
.page-template-page-catalogo .sr-item {
  opacity: 0;
  will-change: opacity, transform;
}

.page-template-page-quienes-somos .sr-item,
.page-template-page-contacto .sr-item,
.page-template-page-catalogo .sr-item {
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-template-page-quienes-somos .sr-left,
.page-template-page-contacto .sr-left {
  transform: translateX(-50px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-template-page-quienes-somos .sr-right,
.page-template-page-contacto .sr-right {
  transform: translateX(50px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-template-page-quienes-somos .sr-scale {
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-template-page-quienes-somos .sr-item.sr-visible,
.page-template-page-quienes-somos .sr-left.sr-visible,
.page-template-page-quienes-somos .sr-right.sr-visible,
.page-template-page-quienes-somos .sr-scale.sr-visible,
.page-template-page-contacto .sr-item.sr-visible,
.page-template-page-contacto .sr-left.sr-visible,
.page-template-page-contacto .sr-right.sr-visible,
.page-template-page-catalogo .sr-item.sr-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for grid children */
.page-template-page-quienes-somos .sr-scale:nth-child(1),
.page-template-page-catalogo .sr-item:nth-child(1) { transition-delay: 0s; }
.page-template-page-quienes-somos .sr-scale:nth-child(2),
.page-template-page-catalogo .sr-item:nth-child(2) { transition-delay: 0.08s; }
.page-template-page-quienes-somos .sr-scale:nth-child(3),
.page-template-page-catalogo .sr-item:nth-child(3) { transition-delay: 0.16s; }
.page-template-page-quienes-somos .sr-scale:nth-child(4),
.page-template-page-catalogo .sr-item:nth-child(4) { transition-delay: 0.24s; }
.page-template-page-quienes-somos .sr-scale:nth-child(5) { transition-delay: 0.32s; }

/* ── Cat-hero responsive ── */
@media (max-width: 600px) {
  .cat-hero { height: auto; padding: 80px 0 60px; }
  .cat-hero__inner { padding: 0 24px; }
  .cat-hero__title { font-size: 36px; }
  .cat-hero__sub { font-size: 16px; }
  .cat-hero__logo { display: none; }
}