/* ==========================================================================
   MundOficina — Design tokens
   ========================================================================== */
:root {
  --navy: #1c2448;
  --navy-soft: #283260;
  --accent: #10218a;
  --accent-dark: #0c1a6b;
  --eco: #1f9d5a;
  --eco-dark: #147a44;
  --eco-light: #4fd587;
  --yellow: #f0a500;
  --cream: #f3f5f9;
  --white: #ffffff;
  --text: #545a63;
  --text-soft: #838a94;
  --border: #e2e4ec;
  --green-wa: #25d366;

  --font-head: "DM Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --section-space: 56px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 33, 138, .28);
}
.btn-primary:hover { background: var(--accent-dark); }

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

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

.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .3);
}
.btn-whatsapp:hover { background: #1fb955; }

.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-family: var(--font-head);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; row-gap: 4px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-links a:hover { color: var(--white); }
.topbar-cta { color: rgba(255,255,255,.55); white-space: nowrap; margin-right: 4px; }
.topbar-tag { color: rgba(255,255,255,.5); white-space: nowrap; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-img { height: 42px; width: auto; max-width: 100%; object-fit: contain; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; justify-content: space-between; align-items: center; gap: 32px; width: 100%; max-width: 620px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a.active,
.main-nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
@media (min-width: 993px) {
  .mobile-nav.open { display: none; }
}
.mobile-nav ul { display: flex; flex-direction: column; padding: 8px 24px; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}
.mobile-nav a.active,
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-contact {
  display: flex;
  gap: 12px;
  padding: 18px 24px 24px;
}
.mobile-nav-contact .btn {
  flex: 1;
  padding: 13px 14px;
  font-size: 14px;
  gap: 8px;
}
body.nav-locked { overflow: hidden; }

/* ==========================================================================
   Hero / Promo banner (EDITABLE)
   Swap the background image via --promo-bg and update the text/badge below.
   Everything needed for a new promotion lives inside .promo-banner.
   ========================================================================== */
.promo-banner {
  padding: 0;
  --promo-image: url("../images/hero-impresora-epson.webp");
  background:
    linear-gradient(100deg, rgba(20,28,58,.98) 0%, rgba(20,28,58,.95) 45%, rgba(20,28,58,.72) 78%, rgba(20,28,58,.45) 100%),
    var(--promo-image) right center / cover no-repeat,
    var(--navy);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(31,157,90,.3), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(31,157,90,.18), transparent 45%);
  pointer-events: none;
}
.promo-banner .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 52px;
  padding-bottom: 52px;
  min-height: 400px;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.promo-banner h1 {
  color: var(--white);
  font-size: 38px;
  max-width: 560px;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.promo-banner h1 em {
  font-style: normal;
  color: var(--eco-light);
}
.promo-banner p.lead {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 24px;
}
.promo-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.promo-price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  justify-self: end;
  width: 100%;
  max-width: 340px;
}
.promo-price-card .price-tag {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
}
.promo-price-card .price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 2px;
}
.promo-price-card .price span { font-size: 15px; color: var(--text-soft); font-weight: 600; }
.promo-price-card .price-note { font-size: 11px; color: var(--text-soft); margin-bottom: 16px; }
.promo-price-card ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.promo-price-card li { display: flex; gap: 10px; font-size: 14px; color: var(--text); align-items: flex-start; }
.promo-price-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.promo-price-card .btn { width: 100%; }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  background: var(--cream);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--border);
}
.trust-bar .container {
  padding-top: 32px;
  padding-bottom: 32px;
  overflow: hidden;
}
.trust-track {
  display: flex;
  width: max-content;
  animation: trust-scroll 28s linear infinite;
}
.trust-bar:hover .trust-track { animation-play-state: paused; }
.trust-group { display: flex; align-items: center; flex-shrink: 0; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 48px;
}
.trust-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.trust-item .dot.eco { background: var(--eco); }
.trust-item img { height: 24px; width: auto; }

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}

/* ==========================================================================
   Section shell
   ========================================================================== */
section { padding: var(--section-space) 0; }
section.tight-top { padding-top: 24px; }
.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 38px; margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 16px; }
.section-head.no-heading p { font-size: 20px; font-weight: 600; color: var(--navy); }

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

/* ==========================================================================
   Productos y servicios
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: 0 16px 32px rgba(11,42,58,.1); transform: translateY(-3px); }
.product-card.c1 { --card-accent: var(--yellow); }
.product-card.c2 { --card-accent: var(--accent); }
.product-card.c3 { --card-accent: var(--navy); }
.product-card.c4 { --card-accent: var(--eco); }
.product-media {
  height: 120px;
  background-size: cover;
  background-position: center;
  background-color: var(--card-accent);
  background-blend-mode: multiply;
  position: relative;
}
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 30%, transparent), color-mix(in srgb, var(--card-accent) 62%, transparent));
}
.product-body { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h3 { font-size: 17px; margin-bottom: 6px; }
.product-body > p { color: var(--text-soft); font-size: 13px; margin-bottom: 14px; }
.product-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 14px;
  margin-bottom: 14px;
}
.product-benefits li {
  font-size: 12.5px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.product-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--card-accent);
  font-weight: 800;
}
.product-audience {
  font-size: 11.5px;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 14px;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--card-accent);
}
.product-cta span { transition: transform .2s ease; }
.product-cta:hover span { transform: translateX(4px); }

/* ==========================================================================
   Process steps
   ========================================================================== */
.process-banner {
  position: relative;
  background:
    linear-gradient(180deg, rgba(28,36,72,.92), rgba(28,36,72,.88)),
    url("../images/asesor-renting.webp") center 30% / cover no-repeat,
    var(--navy);
}
.section-head.on-dark .eyebrow { color: var(--eco-light); }
.section-head.on-dark .eyebrow::before { background: var(--eco-light); }
.process-step:hover { box-shadow: 0 20px 40px rgba(0,0,0,.3); transform: translateY(-3px); transition: box-shadow .2s ease, transform .2s ease; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 24px 24px;
}
.process-step.c1 { --card-accent: var(--yellow); }
.process-step.c2 { --card-accent: var(--accent); }
.process-step.c3 { --card-accent: var(--navy); }
.process-step.c4 { --card-accent: var(--eco); }
.process-badge {
  position: absolute;
  top: -22px;
  left: 24px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}
.process-step h4 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-soft); }

/* ==========================================================================
   Equipment showcase
   ========================================================================== */
.equipment-carousel { position: relative; }
.equipment-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}
.equipment-grid::-webkit-scrollbar { display: none; }
.equipment-card {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.catalog-grid .equipment-card { width: 100%; }
.catalog-grid .equipment-card .product-cta { justify-content: center; }

.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
}
.perk-item span {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(11,42,58,.12);
  transition: background .2s ease, color .2s ease;
}
.carousel-arrow:hover { background: var(--accent); color: var(--white); }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }
.equipment-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 30px;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 14px;
}
.equipment-thumb img { width: 100%; height: 100%; object-fit: contain; }
.equipment-card .tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.equipment-card h4 { font-size: 15px; margin: 6px 0 4px; }
.equipment-card p { font-size: 12px; color: var(--text-soft); }

/* ==========================================================================
   About teaser
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-stats {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat-box {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--accent);
  font-weight: 800;
}
.stat-box span { font-size: 12.5px; color: var(--text-soft); font-weight: 600; }
.about-body p { margin-bottom: 18px; color: var(--text); }
.about-body .signature { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.about-body .signature .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.about-body .signature strong { display: block; font-size: 14px; color: var(--navy); }
.about-body .signature span { font-size: 12px; color: var(--text-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}
.faq-item summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--text-soft); font-size: 14.5px; }
.faq-item h4 { margin-top: 18px; margin-bottom: 6px; font-size: 14px; color: var(--navy); font-weight: 700; }
.faq-item ul { margin-top: 8px; padding-left: 20px; }
.faq-item li { margin-bottom: 6px; color: var(--text-soft); font-size: 14.5px; }
.faq-item a { color: var(--accent); font-weight: 700; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  border-radius: var(--radius-lg);
  background: var(--navy);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.final-cta-text { position: relative; max-width: 520px; }
.final-cta-text h2 { color: var(--white); margin-bottom: 12px; }
.final-cta-text p { color: rgba(255,255,255,.7); }
.final-cta-actions { position: relative; display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/logo-icon-globe.png");
  background-repeat: repeat;
  background-size: 110px 110px;
  background-position: 10px 10px;
  opacity: .035;
  pointer-events: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 20px; }
.footer-logo { height: 34px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 18px; opacity: .9; }
.footer-about p { font-size: 14px; margin-bottom: 20px; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.footer-contact span { color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-contact span strong { color: var(--white); }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37,211,102,.4);
  z-index: 50;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Product detail page
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  padding: 18px 0;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 16px 0 48px;
}
.product-hero-visual {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}
.product-hero-visual img { width: 100%; height: 100%; object-fit: contain; }
.product-hero-info .tag {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product-hero-info h1 { font-size: 34px; margin: 8px 0 14px; }
.product-hero-info p.lead-p { color: var(--text-soft); font-size: 16px; margin-bottom: 24px; }
.product-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--accent);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
  transition: border-color .2s ease, background .2s ease;
}
.btn-download:hover { border-color: var(--accent); background: var(--cream); }
.product-highlights { display: flex; flex-direction: column; gap: 10px; }
.product-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.product-highlights li::before { content: "✓"; color: var(--eco); font-weight: 800; flex-shrink: 0; }

.spec-section { background: var(--cream); }
.spec-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spec-group {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 26px 28px;
}
.spec-group h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt { color: var(--text-soft); }
.spec-row dd { color: var(--navy); font-weight: 600; text-align: right; }
.spec-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-soft);
  font-style: italic;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ==========================================================================
   About / Nosotros page
   ========================================================================== */
.about-photo { position: relative; }
.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px rgba(28,36,72,.12);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-card {
  position: absolute;
  right: -28px;
  bottom: -28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  max-width: 250px;
  box-shadow: 0 25px 50px rgba(28,36,72,.18);
}
.about-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.about-badge-card h4 { font-family: var(--font-head); font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.about-badge-card p { font-size: 12.5px; color: var(--text-soft); line-height: 1.5; margin: 0; }

.mission-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.mission-block .eyebrow { margin-bottom: 8px; }
.mission-block h2 { font-size: 26px; color: var(--navy); margin: 0; max-width: 720px; }

/* Video feature */
.video-feature { position: relative; padding: 44px 0; }
.video-frame {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 60px rgba(28,36,72,.2);
  background: var(--navy);
  cursor: pointer;
  border: 0;
  display: block;
  padding: 0;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-decor {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  opacity: .55;
}
/* Positioned so each shape's center sits exactly on the frame's edge: half hidden behind the frame, half visible. Frame is capped at 880px wide (16:9) and centered — exact only while the frame holds that cap, so these decorations are hidden below the 992px breakpoint where the frame goes fluid. */
.video-decor.d1 { width: 170px; height: 170px; background: var(--accent); top: 207px; left: calc(50% - 525px); }
.video-decor.d4 { width: 158px; height: 158px; background: color-mix(in srgb, var(--navy) 55%, white); top: 420px; left: calc(50% + 361px); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(28,36,72,.06);
}
.contact-card-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.contact-card-icon svg { width: 30px; height: 30px; }
.contact-card h3 { font-family: var(--font-head); font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin: 0; }
.contact-card a { color: var(--text-soft); }
.contact-card a:hover { color: var(--accent); }

.form-map-wrap { position: relative; }
.form-decor {
  position: absolute;
  top: -18px;
  left: calc(50% - 440px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: var(--white);
}
.form-decor::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.contact-form-wrap {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(28,36,72,.14);
  padding: 48px;
  max-width: 880px;
  margin: 0 auto -110px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field.legend { font-size: 13px; font-weight: 700; color: var(--navy); }
.form-field label.small-label { font-size: 13px; font-weight: 700; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 6px 14px 6px 25px;
  height: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: transparent;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #9298a3; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.form-field textarea { height: 180px; padding-top: 16px; resize: vertical; }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23545a63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
}
.form-field select:invalid { color: #9298a3; }
.form-field select option { color: var(--text); }
.form-field small { font-size: 12px; color: var(--text-soft); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.form-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.form-consent label { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.form-submit-row { text-align: center; margin-top: 8px; }
.form-submit-row .btn { padding: 15px 44px; }

.map-frame {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}
.map-frame-bg { width: 100%; height: 480px; border: 0; display: block; }

.collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.collab-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.collab-card iframe { width: 100%; height: 160px; border: 0; display: block; }
.collab-card-body { padding: 16px 18px; }
.collab-card-body h4 { font-family: var(--font-head); font-size: 14px; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.collab-card-body p { font-size: 12.5px; color: var(--text-soft); margin: 0; line-height: 1.5; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .promo-banner .container { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .promo-price-card { justify-self: start; max-width: 420px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .about-split.reverse { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 16 / 9; max-width: 520px; }
  .about-photo { max-width: 480px; margin: 0 auto; }
  .mission-block { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-hero { grid-template-columns: 1fr; gap: 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .video-decor { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px; margin-bottom: -60px; }
  .collab-grid { grid-template-columns: repeat(2, 1fr); }
  .form-decor { display: none; }
}

@media (max-width: 768px) {
  .topbar-tag { display: none; }
  .topbar .container { justify-content: center; }
}

@media (max-width: 600px) {
  :root { --section-space: 40px; }
  .promo-banner h1 { font-size: 36px; }
  .promo-price-card { max-width: 100%; }
  .equipment-grid, .process-grid, .product-grid, .catalog-grid, .perk-grid { grid-template-columns: 1fr; }
  .spec-groups, .related-grid { grid-template-columns: 1fr; }
  .product-hero-info h1 { font-size: 26px; }
  .product-benefits { grid-template-columns: 1fr; }
  .final-cta { padding: 36px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-cta { display: none; }
  .header-actions { gap: 10px; }
  .about-stats { grid-template-columns: 1fr; }
  .topbar-links { justify-content: center; width: 100%; gap: 14px; font-size: 12px; }
  .about-badge-card { right: 12px; bottom: -20px; max-width: calc(100% - 24px); }
  .mission-block { padding: 28px; }
  .collab-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; margin-bottom: -40px; }
  .map-frame, .map-frame-bg { height: 300px; }
}

/* ==========================================================================
   Contact Form 7 — reutiliza el look del formulario de contacto original
   ========================================================================== */
.cf7-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf7-field-full { grid-column: 1 / -1; }
.cf7-field .wpcf7-form-control-wrap { display: block; }
.cf7-field input[type="text"],
.cf7-field input[type="email"],
.cf7-field input[type="tel"],
.cf7-field textarea,
.cf7-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 6px 14px 6px 25px;
  height: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: transparent;
}
.cf7-field textarea { height: 180px; padding-top: 16px; resize: vertical; }
.cf7-field input:focus, .cf7-field textarea:focus, .cf7-field select:focus { outline: none; border-color: var(--accent); }
.cf7-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23545a63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
}
.cf7-field small { display: block; font-size: 12px; color: var(--text-soft); margin-top: 8px; }
.cf7-consent { margin-top: 4px; }
.cf7-consent .wpcf7-list-item { margin: 0; }
.cf7-consent .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.cf7-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.cf7-submit-row { text-align: center; margin-top: 24px; }
.cf7-submit-row input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 15px 44px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; background: var(--accent); color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 33, 138, .28);
  transition: transform .15s ease, background .15s ease;
}
.cf7-submit-row input[type="submit"]:hover { background: var(--accent-dark); transform: translateY(-2px); }
.cf7-submit-row input[type="submit"]:disabled { opacity: .6; cursor: wait; }
.wpcf7-form .wpcf7-not-valid-tip { display: block; font-size: 12px; color: #b00020; margin-top: 6px; }
.wpcf7-response-output { margin-top: 20px !important; border-radius: var(--radius-sm); padding: 14px 18px !important; font-size: 14px; text-align: center; }
.wpcf7-form.sent .wpcf7-response-output { border-color: var(--eco) !important; color: var(--eco-dark); background: color-mix(in srgb, var(--eco) 10%, white); }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
  border-color: #b00020 !important; color: #b00020; background: color-mix(in srgb, #b00020 8%, white);
}
.wpcf7-form.spam .wpcf7-response-output { border-color: #b00020 !important; color: #b00020; }
@media (max-width: 992px) {
  .cf7-grid { grid-template-columns: 1fr; }
}
