/* =========================
   ENTERPRISE OF ALL LLC — STYLE PRO (v2) + OPCIÓN B
   Header (logo) SCROLL normal
   Nav (menú) STICKY fijo al hacer scroll
   Botón "Cotizar Ahora" MÁS ABAJO
   ========================= */

/* ===== TOKENS / SISTEMA ===== */
:root{
  --max: 1100px;
  --pad: 20px;
  --radius: 16px;
  --radius-sm: 12px;

  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: rgba(11,18,32,.68);
  --muted2: rgba(11,18,32,.52);

  --border: 1px solid #dde3ee;

  --brand: #0066cc;
  --brand-dark: #004f9b;
  --accent: #00b894;
  --accent-dark: #009973;

  --shadow: 0 18px 40px rgba(0,0,0,.10);
  --shadow-soft: 0 10px 22px rgba(0,0,0,.07);
}

/* ===== RESETEO BÁSICO ===== */
*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
img{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }
button, input, select, textarea{ font: inherit; }

/* Ajuste para que el sticky nav no tape anclas */
#inicio, #servicios, #filosofia, #testimonios, #trabaja, #faq, #contacto, #cotizar{
  scroll-margin-top: 110px; /* un poco más para que no tape títulos */
}

/* ===== BOTÓN COTIZAR FIJO ARRIBA (MÁS ABAJO) ===== */
.boton-cotizar-fijo{
  position: fixed;
  top: 78px;           /* 🔥 MÁS ABAJO */
  right: 14px;
  background: var(--brand);
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 900;
  z-index: 1000;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  font-size: 13px;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.20);
  transition: transform .12s ease, filter .12s ease;
}
.boton-cotizar-fijo:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ===== HEADER (OPCIÓN B): NO sticky, se mueve con scroll ===== */
header{
  position: relative;
  z-index: 60;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 10px var(--pad);
  display:flex;
  align-items:center;
  justify-content: space-between;
}

/* Hamburguer más "botón" */
.hamburger{
  width: 46px;
  height: 46px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 22px;
  cursor: pointer;
  user-select: none;
}

/* Logo centrado */
.logo-area{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
}
.logo{
  height: 170px;
  object-fit: contain;
  margin: 6px 0;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.28));
}

/* ===== NAV (OPCIÓN B): sticky fijo ===== */
nav{
  position: sticky;
  top: 0;
  z-index: 55;

  background: rgba(17,17,17,.96);
  border-bottom: 1px solid rgba(255,255,255,.10);

  display:flex;
  justify-content:center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px var(--pad);
}

nav a{
  color: rgba(240,244,255,.92);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
nav a:hover{
  background: rgba(0,184,148,.14);
  border-color: rgba(0,184,148,.40);
  transform: translateY(-1px);
}

/* Mostrar / ocultar menú en móvil */
.nav-hidden{ display: none; }

@media (min-width: 700px){
  #main-nav{ display:flex !important; }
  .hamburger{ display:none; }
}

/* ===== HERO ===== */
.hero{
  text-align: center;
  padding: 62px var(--pad) 44px;
  color: #fff;
  background:
    radial-gradient(900px 460px at 20% 0%, rgba(0,102,204,.25), transparent 60%),
    radial-gradient(900px 460px at 80% 10%, rgba(0,184,148,.18), transparent 60%),
    linear-gradient(180deg, #000 0%, #000 55%, var(--bg) 55%);
}

.hero h1,
.hero h2{
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}
.hero p{
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 15px;
  color: rgba(255,255,255,.86);
}

/* BOTONES GENERALES */
.btn{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  margin: 6px 6px 0 0;
  padding: 11px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 20px 44px rgba(0,0,0,.34);
}
.btn-elige{ background: var(--accent); }
.btn-elige:hover{ filter: brightness(1.02); }

/* ===== FRANJA DE FOTOS EN MOVIMIENTO ===== */
.lipid-strip{
  overflow: hidden;
  width: 100%;
  margin: 18px auto 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.lipid-track{
  display:flex;
  gap: 10px;
  padding: 12px;
  animation: slideStrip 35s linear infinite;
  will-change: transform;
}
.lipid-track img{
  height: 120px;
  width: 190px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
}
@keyframes slideStrip{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .lipid-track{ animation: none; }
}

/* ===== SECCIONES GENERALES ===== */
section{ padding: 64px var(--pad); }
section h2{
  text-align: center;
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.25px;
}
section > p{
  text-align: center;
  margin: 0 auto 10px;
  color: var(--muted);
  max-width: 760px;
}

/* ===== PANEL SERVICIOS ===== */
.panel-servicios{
  margin-top: 24px;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow-soft);
}

.buscador-servicios{
  position: relative;
  margin: 10px 0 18px;
}
.buscador-servicios input{
  width: 100%;
  padding: 12px 16px 12px 46px;
  border-radius: 999px;
  border: 1px solid #ccd4e0;
  font-size: 14px;
  outline: none;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  transition: box-shadow .12s ease, border-color .12s ease;
}
.buscador-servicios input:focus{
  border-color: rgba(0,102,204,.55);
  box-shadow: 0 0 0 4px rgba(0,102,204,.12);
}
.icono-lupa{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  color: #fff;
}

/* Lista servicios */
.lista-servicios{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.item-servicio{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: var(--border);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  font-size: 14px;
}
.item-servicio:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
  border-color: rgba(0,102,204,.35);
}
.item-servicio input[type="checkbox"]{
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.item-servicio .titulo{
  font-weight: 900;
  margin-bottom: 3px;
}
.item-servicio .detalle{
  font-size: 13px;
  color: var(--muted2);
}
.item-servicio input[type="checkbox"]:checked + .contenido-item .titulo{
  color: var(--brand);
}

/* Resumen */
.resumen-seleccion{
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(0,102,204,.10);
  border: 1px solid rgba(0,102,204,.18);
}
.resumen-seleccion h3{
  margin: 0 0 8px;
  text-align: left;
  letter-spacing: -0.2px;
}
.resumen-seleccion p{ text-align: left; color: var(--muted); margin-bottom: 6px; }
.resumen-seleccion ul{ margin: 0; padding-left: 18px; }
.resumen-seleccion li{ margin-bottom: 4px; font-size: 14px; color: var(--muted); }

/* ===== SERVICIOS ===== */
#servicios{ background: var(--surface); }
.servicios-grid{
  max-width: 1000px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.card{
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  border: var(--border);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}
.card i{
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}
.card h3{ margin: 6px 0 8px; letter-spacing: -0.2px; }
.card p{ color: var(--muted); }

/* ===== FILOSOFÍA ===== */
.filosofia{ background: #f0f4ff; }
.filosofia-intro{ max-width: 760px; margin: 0 auto 24px; color: var(--muted); }
.filosofia-grid{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.filo-card{
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: var(--border);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  font-size: 14px;
}
.filo-card h3{ margin-bottom: 8px; letter-spacing: -0.2px; }
.filo-card p{ color: var(--muted); }

/* ===== TESTIMONIOS ===== */
.testimonios{ background: var(--surface); }
.testimonios-intro{ max-width: 760px; margin: 0 auto 24px; color: var(--muted); }
.testimonios-grid{
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.testimonio-card{
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: var(--border);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  font-size: 14px;
}
.testimonio-card .texto{ margin-bottom: 10px; text-align: left; color: var(--muted); }
.testimonio-card .autor{ font-size: 13px; color: var(--muted2); text-align: right; font-weight: 800; }

/* ===== TRABAJA ===== */
.trabaja{ background: var(--bg); }
.trabaja-intro{ max-width: 760px; margin: 0 auto 24px; color: var(--muted); }
.trabaja-grid{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 18px;
}
@media (max-width: 900px){
  .trabaja-grid{ grid-template-columns: 1fr; }
}
.trabaja-texto,
.form-trabaja{
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: var(--border);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  font-size: 14px;
}
.trabaja-texto p{ color: var(--muted); }
.label-select,
.label-textarea,
.label-file{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}

/* ===== CONTACTO ===== */
.contacto{ background: var(--surface); }
.contacto-texto{ max-width: 760px; margin: 0 auto 24px; color: var(--muted); }

.contacto h3{
  font-size: 16px;
  margin: 10px 0 8px;
  text-align: left;
  color: #003366;
  letter-spacing: -0.15px;
}

.contact-grid{
  max-width: 1000px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 2fr 1.3fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 800px){
  .contact-grid{ grid-template-columns: 1fr; }
}

form{
  background: var(--bg);
  padding: 20px;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.campo-doble{
  display:flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.campo-doble input{ flex: 1; min-width: 240px; }

.campo-fecha{
  flex: 1;
  display:flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--muted);
}
.campo-fecha label{ margin-bottom: 4px; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ccd4e0;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: box-shadow .12s ease, border-color .12s ease;
}
textarea{
  min-height: 96px;
  resize: vertical;
  margin-top: 6px;
  margin-bottom: 10px;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(0,102,204,.55);
  box-shadow: 0 0 0 4px rgba(0,102,204,.12);
}

.nota-privacidad{
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted2);
  text-align: left;
}

.contact-info{
  font-size: 14px;
  background: var(--bg);
  padding: 18px;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  color: var(--muted);
}

/* ===== CONTACTO RÁPIDO ===== */
.contacto-rapido{
  position: fixed;
  left: 14px;
  bottom: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.btn-contacto{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  font-size: 20px;
  transition: transform .12s ease, filter .12s ease;
}
.btn-contacto:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.btn-contacto.whatsapp{ background: #25d366; }
.btn-contacto.sms{ background: #ff9800; }

/* ===== FAQ ===== */
.faq{ background: var(--surface); }
.faq-intro{ max-width: 760px; margin: 0 auto 24px; color: var(--muted); }
.faq-lista{ max-width: 900px; margin: 0 auto; }
.faq-item{
  border-radius: var(--radius);
  border: var(--border);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.faq-pregunta{
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 900;
  display:flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-icono{ font-size: 18px; margin-left: 10px; opacity: .9; }
.faq-respuesta{
  padding: 0 16px 0;
  font-size: 13px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease-out, padding-bottom .22s ease-out;
}
.faq-item.abierto .faq-respuesta{
  max-height: 240px;
  padding-bottom: 14px;
}

/* ===== FOOTER ===== */
.footer{
  background: #000;
  color: rgba(240,244,255,.92);
  padding: 34px 16px 38px;
  font-size: 13px;
}
.footer-contenido{
  max-width: var(--max);
  margin: 0 auto;
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.footer-logo img{
  height: 84px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
}
.footer-texto{ text-align: right; }
.footer-frase{
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.86);
  font-weight: 650;
}
.footer-contacto{
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.72);
}
.footer-redes{
  display:flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.footer-redes span{ font-size: 13px; color: rgba(255,255,255,.70); }

.icon-social{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.30);
}
.icon-social.ig{
  background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fd5949 40%, #d6249f 70%, #285AEB 100%);
}
.icon-social.fb{ background: #1877f2; }
.icon-social.x{ background: #fff; color:#000; }

.footer-copy{
  font-size: 12px;
  opacity: 0.75;
}

@media (max-width: 700px){
  .footer-contenido{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-texto{ text-align: center; }

  /* 🔥 En móvil, el botón baja un poco más para evitar choque */
  .boton-cotizar-fijo{ top: 92px; }
}

/* ===== RESPONSIVE EXTRA ===== */
@media (max-width: 520px){
  .logo{ height: 140px; }
  nav a{ font-size: 12px; padding: 9px 10px; }
  .btn-contacto{ width: 46px; height: 46px; }
}