/* RESET */
html, body{
margin:0;
padding:0;
width:100%;
min-height:100%;
}

/* ===== FONDO ===== */

body.bg-custom{
font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
color:#2c3e50;
line-height:1.6;
min-height:100vh;
background:url('../img/fondo.jpg') no-repeat center center fixed;
background-size:cover;
padding-top:70px;
}

/* ===== HERO ===== */

.hero-section{
background:
linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
url('../img/fondo.jpg') no-repeat center center;
background-size:cover;
padding:120px 20px;
text-align:center;
color:white;
margin-top:70px;
}

.hero-section h1{
font-size:3rem;
font-weight:700;
margin-bottom:1rem;
text-shadow:2px 2px 4px rgba(0,0,0,.5);
}

.hero-section p{
font-size:1.4rem;
max-width:700px;
margin:0 auto 2rem;
opacity:.9;
}

/* ===== LOGO ===== */

.hero-logo{
max-width:220px;
width:100%;
height:auto;
display:block;
margin:0 auto 25px;
filter:drop-shadow(0 10px 30px rgba(0,0,0,.6));
}

/* ===== SECCIONES ===== */

section{
padding:60px 30px;
max-width:1100px;
margin:40px auto;
background-color:rgba(255,255,255,.92);
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,.15);
backdrop-filter:blur(5px);
border:1px solid rgba(255,255,255,.3);
}

/* ===== NAVBAR ===== */

.navbar.bg-dark{
box-shadow:0 4px 20px rgba(0,0,0,.15);
background:linear-gradient(135deg,#2c3e50,#34495e)!important;
backdrop-filter:blur(10px);
padding:15px 0;
}

.navbar-dark .navbar-nav .nav-link{
color:rgba(255,255,255,.9);
font-weight:500;
}

.navbar-dark .navbar-nav .nav-link:hover{
color:#4e60ff;
}

/* ===== TITULOS ===== */

h2{
color:#2c3e50;
margin-bottom:30px;
padding-bottom:15px;
border-bottom:3px solid #4e60ff;
font-weight:700;
}

/* ===== TEXTO ===== */

section p,
section li{
color:#343a40;
font-weight:500;
}

/* ===== WHATSAPP ===== */

.whatsapp-float{
position:fixed;
bottom:25px;
right:25px;
width:60px;
height:60px;
background:#25d366;
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:30px;
box-shadow:0 4px 12px rgba(0,0,0,.3);
z-index:1000;
transition:.3s;
}

.whatsapp-float:hover{
transform:scale(1.1);
}

/* ===== FLIP CARDS ===== */

.flip-card{
  perspective: 1000px;
  height: 220px;
  cursor: pointer;
}

.flip-card-inner{

  position: relative;
  width: 100%;
  height: 100%;

  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;

  transition: transform 0.6s;
}

.flip-card.flipped .flip-card-inner{
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back{
  position: absolute;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  transform: rotateY(0deg);
}

.flip-card-front{
  z-index: 2;
}

.flip-card-back{
  transform: rotateY(180deg);
}

.flip-card-front .card-body,
.flip-card-back .card-body{
  padding: 25px;
  text-align: center;
  width: 100%;
}

/* ===== PORTAFOLIO ===== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.portfolio-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

/* ===== MODALES ===== */
.modal-body img {
  max-height: 520px;
  object-fit: cover;
}

/* ===== Boton Instagram ===== */
.instagram-float {
  position: fixed;
  bottom: 90px;
  right: 25px;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, #fdf497 5%, 
    #fd5949 45%, #d6249f 60%, 
    #285AEB 90%);

  color: white;
  font-size: 26px;

  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);

  z-index: 999;
  transition: transform 0.3s ease;
}

.instagram-float:hover {
  transform: scale(1.1);
}

.instagram-float {
  animation: pulseIG 2s infinite;
}

@keyframes pulseIG {
  0% { box-shadow: 0 0 0 0 rgba(214,36,159,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(214,36,159,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,36,159,0); }
}


/* ===== WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 60px;
  height: 60px;

  background-color: #25d366;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;
  border-radius: 50%;

  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;

  transition: 0.2s ease;

  /* 🔥 EFECTO PULSO */
  animation: pulseWA 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

@keyframes pulseWA {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}


/* ===== ICONOS PLANES DE PRECIOS ===== */ 
.pricing-list li{ display:flex; align-items:center; gap:10px; } 
/* FORZAR COLOR SOLO EN ICONOS */ 
.pricing-list li i{ font-size:18px; min-width:20px; color:inherit; } 
/* COLORES ICONOS */ 
.pricing-list li .fa-globe{color:#007bff;} 
.pricing-list li .fa-mobile-screen{color:#6f42c1;} 
.pricing-list li .fa-whatsapp{color:#25D366;} 
.pricing-list li .fa-envelope{color:#ff4d4f;} 
.pricing-list li .fa-magnifying-glass{color:#f59f00;} 
.pricing-list li .fa-video{color:#20c997;} 
.pricing-list li .fa-laptop-code{color:#3b82f6;} 
.pricing-list li .fa-layer-group{color:#10b981;} 
.pricing-list li .fa-server{color:#f97316;} 
.pricing-list li .fa-at{color:#ec4899;} 
.pricing-list li .fa-pen-ruler{color:#06b6d4;} 
.pricing-list li .fa-envelope-open{color:#f43f5e;} 
.pricing-list li .fa-chart-line{color:#22c55e;} 
.pricing-list li .fa-headset{color:#ef4444;} 
.pricing-list li .fa-cart-shopping{color:#fb923c;} 
.pricing-list li .fa-gears{color:#64748b;} 
.pricing-list li .fa-plug{color:#38bdf8;} 
.pricing-list li .fa-robot{color:#8b5cf6;} 
.pricing-list li .fa-user-tie{color:#14b8a6;}

.icon-servicio{
font-size:40px;
margin-bottom:15px;
display:block;
}

/* colores */

.icon-landing{
color:#3b82f6;
}

.icon-web{
color:#8b5cf6;
}

.icon-tienda{
color:#f59e0b;
}

.icon-seo{
color:#10b981;
}

.icon-soporte{
color:#ef4444;
}

/* CHATBOT */

#chatbot-toggle{
position:fixed;
bottom:90px;
right:25px;
background:#0d6efd;
color:white;
border:none;
width:60px;
height:60px;
border-radius:50%;
font-size:24px;
box-shadow:0 4px 15px rgba(0,0,0,.3);
cursor:pointer;
z-index:9999;
}

#chatbot{
position:fixed;
bottom:160px;
right:25px;
width:320px;
background:white;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,.25);
display:none;
flex-direction:column;
overflow:hidden;
z-index:9999;
}

#chatbot-header{
background:#0d6efd;
color:white;
padding:10px;
font-weight:bold;
display:flex;
justify-content:space-between;
}

#chatbot-messages{
height:250px;
overflow-y:auto;
padding:10px;
font-size:14px;
}

#chatbot-input-area{
display:flex;
border-top:1px solid #ddd;
}

#chatbot-input{
flex:1;
border:none;
padding:10px;
}

#chatbot-send{
background:#0d6efd;
color:white;
border:none;
padding:10px 15px;
cursor:pointer;
}

.modal-body{
text-align: justify;
line-height:1.7;
font-size:15px;
}

.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  will-change: transform;
}