/* =========================================================================
   BAPESA — Landing Page · estilos
   ========================================================================= */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f4f7fb;
  --c-text: #0e1a2b;
  --c-text-soft: #4b5a72;
  --c-muted: #8593a8;
  --c-border: #e3e7ef;

  --c-primary: #0b57b7;       /* azul BAPESA */
  --c-primary-dark: #073f86;
  --c-primary-soft: #eaf2ff;

  --c-dark: #0b1424;          /* azul muy oscuro / pizarra */
  --c-dark-2: #12223a;
  --c-accent: #f4b63f;        /* amarillo calido */
  --c-success: #22c55e;
  --c-whatsapp: #25d366;

  --radius-sm: 8px;
  --radius: 8px;
  --radius-lg: 8px;

  --shadow-sm: 0 2px 8px rgba(14, 26, 43, 0.06);
  --shadow: 0 10px 30px rgba(14, 26, 43, 0.10);
  --shadow-lg: 0 25px 60px rgba(14, 26, 43, 0.18);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --container: 1200px;
  --header-h: 76px;

  --transition: 200ms cubic-bezier(.4,.2,.2,1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--c-primary-dark); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-text);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }

p { margin: 0 0 1em; color: var(--c-text-soft); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition),
              background var(--transition),
              color var(--transition),
              box-shadow var(--transition);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 87, 183, .25);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 87, 183, .32);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--c-text);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  z-index: 100;
  transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--c-text);
  letter-spacing: -.01em;
}
.logo:hover { color: var(--c-text); }

.logo-img {
  display: block;
  width: 170px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.logo-img-light {
  width: 190px;
  height: 72px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 8px;
}

.logo-light { color: #fff; }
.logo-light:hover { color: #fff; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--c-text);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:not(.btn):hover { color: var(--c-primary); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-text);
  margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    115deg,
    rgba(7, 20, 40, .93) 0%,
    rgba(9, 36, 78, .76) 48%,
    rgba(11, 87, 183, .32) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 56px;
}
.hero-content { max-width: 760px; }
.hero-content .eyebrow {
  background: rgba(11, 87, 183, .26);
  color: var(--c-accent);
}
.hero h1 { color: #fff; }
.highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(11, 87, 183, .62) 60%);
  padding: 0 4px;
  display: inline-block;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
}
.hero-trust strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-panel {
  align-self: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  color: var(--c-text);
  padding: 22px;
}
.hero-panel img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}
.hero-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 6px;
}
.hero-panel span {
  display: block;
  color: var(--c-text-soft);
  font-size: .94rem;
  line-height: 1.5;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollBounce 1.6s infinite;
}
@keyframes scrollBounce {
  0%, 100% { opacity: 0; top: 8px; }
  50% { opacity: 1; top: 22px; }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--c-dark);
  color: #fff;
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  letter-spacing: .03em;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}
.section-alt { background: var(--c-bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head p {
  font-size: 1.08rem;
}
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.service-icon svg { width: 30px; height: 30px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { margin: 0; }

/* ---------- Productos ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--c-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-dark);
  color: var(--c-accent);
  border-radius: 12px;
}
.product-icon svg { width: 28px; height: 28px; }
.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.product-card p {
  font-size: .92rem;
  margin: 0;
}

/* ---------- Nosotros ---------- */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nosotros-media {
  position: relative;
}
.nosotros-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.nosotros-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--c-primary);
  color: #fff;
  padding: 24px 30px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}
.nosotros-badge .big {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.nosotros-badge .small {
  font-size: .85rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .02em;
}

.nosotros-content .lead {
  font-size: 1.1rem;
  color: var(--c-text-soft);
  margin-bottom: 28px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 36px;
}
.feature-item {
  position: relative;
  padding-left: 36px;
}
.feature-item::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  background: var(--c-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.feature-item h4 {
  font-size: .98rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 4px;
  color: var(--c-text);
}
.feature-item p {
  font-size: .9rem;
  margin: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7, 63, 134, .94), rgba(11, 87, 183, .86));
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,.92);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.cta-banner .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--c-primary);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.cta-banner .btn-primary:hover {
  background: var(--c-dark);
  color: #fff;
}

/* ---------- Contacto ---------- */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: 12px;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list small {
  display: block;
  color: var(--c-muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.contact-list a, .contact-list span {
  color: var(--c-text);
  font-weight: 500;
  font-size: 1rem;
}
.contact-list a { display: block; }
.contact-list a:hover { color: var(--c-primary); }
.contact-list .contact-line-2 {
  margin-top: 2px;
  font-size: .96rem;
  color: var(--c-text-soft);
}
.contact-list .contact-line-2:hover { color: var(--c-primary); }

/* ---------- Form ---------- */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--c-border);
}
.field {
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--c-text);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--c-bg-alt);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-text);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-primary);
}
.field input.invalid,
.field textarea.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}
.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  text-align: center;
  font-size: .9rem;
  margin: 16px 0 0;
  color: var(--c-text-soft);
}
.form-note a { font-weight: 600; }

.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  display: none;
}
.form-feedback.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 860px;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-primary); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  transition: transform var(--transition);
}
.faq-icon svg { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--c-border);
  margin-top: 0;
}
.faq-answer p {
  margin: 16px 0 0;
  color: var(--c-text-soft);
  font-size: .98rem;
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand p { max-width: 320px; margin-top: 18px; }
.footer h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: .9rem;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}
.footer ul a:hover { color: var(--c-accent); }
.footer-contact span { color: rgba(255,255,255,.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  text-align: center;
  font-size: .88rem;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: var(--c-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--c-whatsapp);
  opacity: .6;
  animation: pulse 2.2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 16px 36px rgba(37, 211, 102, .55);
}
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-panel {
    max-width: 420px;
  }

  .nosotros-grid { grid-template-columns: 1fr; gap: 60px; }
  .nosotros-media { max-width: 480px; margin: 0 auto; }
  .nosotros-badge { right: -10px; bottom: -20px; padding: 18px 22px; }
  .nosotros-badge .big { font-size: 2.4rem; }

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

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--c-border);
    font-size: 1.05rem;
  }
  .nav a:last-child { margin-top: 12px; }
  .nav-toggle { display: block; }

  .logo-img {
    width: 132px;
    height: 50px;
  }
  .logo-img-light {
    width: 170px;
    height: 64px;
  }

  .hero { min-height: 92vh; }
  .hero-inner { padding: 80px 24px 60px; }
  .hero-panel {
    display: none;
  }
  .hero-trust { gap: 18px; }
  .hero-trust li { font-size: .9rem; }

  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }

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

  .features-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .whatsapp-float {
    width: 54px; height: 54px;
    right: 16px; bottom: 16px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }

  .nosotros-badge {
    position: static;
    display: inline-flex;
    margin-top: 20px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero-bg img { animation: none; }
  .whatsapp-float::before { display: none; }
}
