/* =========================================================
   EmprendiStore - Estilos principales
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul-primario: #0077FF;
  --naranja-secundario: #FF8A00;
  --gris-complementario: #F2F2F2;
  --texto-principal: #333333;
  --verde-acento: #00C48C;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--texto-principal);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

/* ========================= NAVBAR ========================= */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar .nav-link:hover {
  color: var(--naranja-secundario) !important;
}

/* ========================= HERO ========================= */
.hero {
  background: linear-gradient(135deg, var(--azul-primario), #0059cc);
  color: white;
  padding: 150px 2rem 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--gris-complementario);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero .cta-button {
  display: inline-block;
  background: var(--naranja-secundario);
  color: white;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s;
  animation: fadeInUp 0.8s ease 0.4s backwards;
  box-shadow: 0 5px 20px rgba(255,138,0,0.3);
}

.hero .cta-button:hover {
  background: #ff9d1a;
  transform: translateY(-3px);
}

/* ========================= SECCIONES ========================= */
section {
  scroll-margin-top: 80px;
}

.section-servicios {
  background: var(--gris-complementario);
}

/* ========================= TARJETAS ========================= */
.card {
  border: none;
  border-top: 4px solid var(--azul-primario);
  border-radius: 12px;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================= FOOTER ========================= */
footer {
  background: var(--texto-principal);
  color: #ccc;
  padding: 2rem;
  text-align: center;
}

/* ========================= ANIMACIONES ========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= CONTACTO ========================= */
#contacto .btn {
  min-width: 200px;
  font-weight: 600;
}

/* ========================= CARRITO ========================= */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-backdrop.show { opacity: 1; }

.cart-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 90vw);
  height: 100vh;
  background: #fff;
  z-index: 1041;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-panel.show { transform: translateX(0); }

#cartCount {
  display: none;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero .tagline { font-size: 1.2rem; }
  section { scroll-margin-top: 70px; }
}
.step-circle {
  width: 60px;
  height: 60px;
  background: #004aad;
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-box {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
/* ===================== SOBRE NOSOTROS ===================== */
.about-section {
background: url('../img/sobre-nosotros-bg.png') center/cover no-repeat;
  padding: 120px 20px 80px;
  text-align: center;
}

.about-section .overlay {
  max-width: 900px;
  margin: auto;
  background: rgba(0, 0, 0, 0.45); /* Capa oscura suave */
  padding: 40px 30px;
  border-radius: 12px;
}

.about-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0a57cf;
  margin-bottom: 35px;
}

.about-section p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #f2f2f2; /* Blanco suave */
}

/* MOBILE ajustes */
@media (max-width: 768px) {
  .about-section {
    padding: 140px 25px 60px;
  }

  .about-section h2 {
    font-size: 32px;
  }

  .about-section p {
    font-size: 18px;
  }
}
/* ===============================================
   Ocultar SERVICIOS en la página de inicio
   =============================================== */
body.home-page section#servicios,
body.home-page #servicios,
body.home-page .services-section {
    display: none !important;
}
