/* ============================================================
   PRENTECH – Main Stylesheet
   Colors: Oak palette (Astra) + Elementor system colors
   ============================================================ */

:root {
  --blue:       #0067FF;
  --blue-dark:  #005EE9;
  --navy:       #0F172A;
  --navy-mid:   #12102C;
  --darkest:    #070614;
  --near-white: #E7F6FF;
  --white:      #FFFFFF;
  --border:     #D1DAE5;
  --gray-dark:  #364151;
  --pink:       #FF006E;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-sub:  Tahoma, sans-serif;

  --max-w: 1200px;
  --header-h: 72px;
  --transition: 0.3s ease;
}

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--blue);
  z-index: 2000;
  transition: width 0.12s linear;
  pointer-events: none;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--darkest); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-dark);
  background: var(--white);
  opacity: 0;
  transition: opacity 0.28s ease;
}
body.page-loaded { opacity: 1; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}

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

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 640px; }
.section-header.center p { margin-inline: auto; }

/* ---- Backgrounds ---- */
.section-dark {
  background: var(--navy);
  color: var(--near-white);
}
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 {
  color: var(--white);
}
.section-dark p { color: var(--near-white); opacity: .85; }

.section-light {
  background: var(--white);
  color: var(--navy);
}

.section-gradient {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: var(--near-white);
}
.section-gradient h2, .section-gradient h3 { color: var(--white); }

.bg-image { background-size: cover; background-position: center; background-attachment: fixed; position: relative; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
h4, h5, h6 { font-family: var(--font-sub); line-height: 1.3; }

h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-style: italic; letter-spacing: -0.5px; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
h6 { font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 16px;
}

.lead { font-size: 1.1rem; opacity: .85; }

/* ---- Divider ---- */
.divider-line {
  width: 45px;
  height: 3px;
  background: var(--blue);
  margin: 16px 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

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

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

.btn-link {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.btn-link:hover { gap: 8px; }

.center { text-align: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(7, 6, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--darkest);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

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

.logo {
  background: rgba(255,255,255,0.95);
  padding: 6px 14px;
  border-radius: 8px;
}
.logo img { height: 38px; width: auto; display: block; }

/* Nav */
.main-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--near-white);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--white); background: rgba(0,103,255,0.15); }
.nav-list > li > a .arrow { font-size: 0.7rem; margin-left: 2px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--navy-mid);
  border: 1px solid rgba(0,103,255,0.2);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--near-white);
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
}
.dropdown li a:hover { color: var(--white); padding-left: 26px; background: rgba(0,103,255,0.1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,6,20,0.85) 0%, rgba(15,23,42,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero-content p {
  color: var(--near-white);
  opacity: .9;
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SOLUCIONES
   ============================================================ */
.soluciones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.solucion-item {
  display: flex;
  gap: 24px;
  padding: 32px;
  border: 1px solid rgba(0,103,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  transition: border-color var(--transition), background var(--transition);
}
.solucion-item:hover {
  border-color: rgba(0,103,255,0.5);
  background: rgba(0,103,255,0.05);
}
.solucion-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.6;
  line-height: 1;
  flex-shrink: 0;
  min-width: 56px;
}
.solucion-body h4 { color: var(--white); margin-bottom: 8px; }
.solucion-body p { font-size: 0.9rem; opacity: .75; }

/* ============================================================
   CÓMO TRABAJAMOS
   ============================================================ */
.pasos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.paso {
  padding: 32px;
  border-left: 3px solid var(--blue);
}
.paso-num {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.paso h3 { color: var(--navy); margin-bottom: 16px; }
.paso p { color: var(--gray-dark); font-size: 0.92rem; }

/* ============================================================
   NUESTRO IMPACTO
   ============================================================ */
.impacto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 20, 0.78);
}
.impacto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.impacto-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform var(--transition), background var(--transition);
}
.impacto-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}
.impacto-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}
.impacto-card h4 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.impacto-card p { font-size: 0.85rem; color: var(--near-white); opacity: .8; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section { padding: 80px 0; }
blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
blockquote p {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
}
blockquote cite {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: normal;
}

/* ============================================================
   SOBRE PRENTECH
   ============================================================ */
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-imagen img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 8px 8px 32px rgba(0,0,0,0.15);
}
.sobre-texto h2 { color: var(--navy); margin-bottom: 8px; }
.sobre-texto h4 { color: var(--navy); font-weight: 500; margin-bottom: 20px; }
.sobre-texto p { margin-bottom: 32px; }

/* ============================================================
   LÍNEAS DE PRODUCTOS
   ============================================================ */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.producto-card {
  border: 1px solid rgba(0,103,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: transform var(--transition), border-color var(--transition);
}
.producto-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
}
.producto-img {
  height: 220px;
  overflow: hidden;
}
.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.producto-card:hover .producto-img img { transform: scale(1.05); }
.producto-body {
  padding: 24px;
}
.producto-body h4 { color: var(--white); margin-bottom: 12px; }
.producto-body p { font-size: 0.88rem; opacity: .75; margin-bottom: 20px; }

/* ============================================================
   CLIENTES
   ============================================================ */
.clientes { padding: 60px 0; }
.clientes .section-header h5 {
  color: var(--gray-dark);
  margin-bottom: 32px;
}
.clientes-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cliente-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter var(--transition), opacity var(--transition);
}
.cliente-logo img:hover { filter: none; opacity: 1; }

/* ============================================================
   CTA CONTACT
   ============================================================ */
.cta-contact { padding: 80px 0; }
.cta-contact h2 { color: var(--white); margin-bottom: 16px; }
.cta-contact p { color: var(--near-white); opacity: .85; max-width: 600px; margin: 0 auto 36px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--darkest);
  color: var(--near-white);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.88rem;
  opacity: .7;
  margin: 16px 0 20px;
  max-width: 280px;
}
.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.92);
  border-radius: 7px;
  padding: 4px 11px;
}
.philips-logo { height: 28px; width: auto; opacity: .6; }

.footer-col h6 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--near-white);
  opacity: .65;
  font-size: 0.88rem;
  transition: opacity var(--transition), color var(--transition);
}
.footer-col ul li a:hover { opacity: 1; color: var(--white); }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--near-white);
  opacity: .7;
}
.contact-list li svg { flex-shrink: 0; color: var(--blue); }
.contact-list li a { opacity: 1; transition: color var(--transition); }
.contact-list li a:hover { color: var(--blue); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(231,246,255,0.4);
  text-align: center;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   INNER PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  min-height: 40vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 20, 0.6);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0 48px;
}
.page-hero-content .eyebrow { color: var(--blue); }
.page-hero-content h1 { color: var(--white); }

/* ============================================================
   NOSOTROS
   ============================================================ */
.empresa-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.empresa-texto h2 { margin-bottom: 8px; }
.empresa-texto p { margin-bottom: 20px; }
.empresa-imagen img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 8px 8px 32px rgba(0,0,0,0.12);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-item {
  padding: 24px;
  border-left: 3px solid var(--blue);
  background: rgba(0,103,255,0.04);
  border-radius: 0 8px 8px 0;
}
.feature-item h4 { color: var(--navy); margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; }

.cta-banner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
}
.cta-banner img { width: 200px; flex-shrink: 0; border-radius: 8px; }
.cta-banner-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner-text p { color: var(--near-white); opacity:.85; margin-bottom: 24px; }

/* ============================================================
   DEAS
   ============================================================ */
.products-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,103,255,0.15);
}
.product-half {
  padding: 48px 40px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(0,103,255,0.15);
  transition: background var(--transition);
}
.product-half:last-child { border-right: none; }
.product-half:hover { background: rgba(0,103,255,0.05); }
.product-half h3 { color: var(--white); margin-bottom: 8px; }
.product-half h4 { color: var(--blue); font-size: 0.95rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 400; }
.product-half p { font-size: 0.92rem; opacity:.8; margin-bottom: 24px; }
.product-half img {
  width: 100%;
  border-radius: 10px;
  margin-top: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.product-half.right { text-align: right; }
.product-half.right .btn { float: right; }
.product-half.right img { float: right; clear: both; }

.distribuidor-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 48px;
  padding: 32px;
  border: 1px solid rgba(0,103,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}
.distribuidor-badge img { height: 40px; width: auto; }
.distribuidor-badge h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 1px; }

/* ============================================================
   PRODUCT DETAIL (HS1 / FRx)
   ============================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-detail-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.product-detail-info h6 {
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.6;
}
.product-detail-info h2 { color: var(--navy); margin-bottom: 8px; }
.product-detail-info p { margin: 16px 0 28px; }

.pdf-downloads {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.pdf-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), color var(--transition);
}
.pdf-btn:hover { border-color: var(--blue); color: var(--blue); }
.pdf-btn svg { color: var(--pink); }

.video-embed {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.video-embed iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}

/* ============================================================
   ACCESORIOS
   ============================================================ */
.accesorios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.accesorio-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.accesorio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.accesorio-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 16px;
  background: #f9fafc;
}
.accesorio-card-body { padding: 16px; }
.accesorio-card-body h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.accesorio-card-body p { font-size: 0.82rem; color: var(--gray-dark); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 8px; }
.contact-info .divider-line { margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,103,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-info-item h6 { color: var(--blue); font-size: 0.78rem; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a {
  color: var(--navy);
  font-size: 0.95rem;
}
.contact-info-item a:hover { color: var(--blue); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}
.contact-form-card h3 { color: var(--navy); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--navy);
  background: #fafbfc;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,103,255,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .impacto-grid { grid-template-columns: repeat(2, 1fr); }
  .pasos-grid { grid-template-columns: 1fr 1fr; }
  .accesorios-grid { grid-template-columns: repeat(3, 1fr); }
  .empresa-intro { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  section { padding: 56px 0; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--darkest);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-list { flex-direction: column; gap: 4px; align-items: stretch; }
  .nav-list > li > a { padding: 12px 16px; border-radius: 8px; font-size: 1rem; }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    background: rgba(0,103,255,0.08);
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    box-shadow: none;
  }

  .soluciones-grid { grid-template-columns: 1fr; }
  .pasos-grid { grid-template-columns: 1fr; }
  .impacto-grid { grid-template-columns: 1fr 1fr; }
  .productos-grid { grid-template-columns: 1fr; }
  .sobre-inner { grid-template-columns: 1fr; gap: 32px; }
  .products-split { grid-template-columns: 1fr; }
  .product-half.right { text-align: left; }
  .product-half.right .btn { float: none; }
  .product-half.right img { float: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner img { width: 100%; max-width: 280px; }
  .accesorios-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .video-embed iframe { height: 240px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { background-attachment: scroll; }
  .bg-image { background-attachment: scroll; }
  .hero-content { padding: 60px 0 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  blockquote p { font-size: 1.2rem; }
  .clientes-logos { gap: 24px; }
  .cliente-logo img { height: 44px; }
}

@media (max-width: 480px) {
  .impacto-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
