/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Arial', sans-serif;
}

body{
    background:#ffffff;
    color:#000000;
}

/* HEADER */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 60px;
    background:white;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
}

.logo{
    font-size:28px;
    font-weight:bold;
    letter-spacing:2px;
}

nav a{
    text-decoration:none;
    color:#222;
    margin-left:25px;
    font-size:15px;
    transition:0.3s;
}

nav a:hover{
    color:#888;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {

  .container-taller h2 {
  font-size: 15px;
  margin-bottom: 10px;
 }

  .menu-toggle {
    display: block;
    color: #000000;
  }

  nav {
    display: none;
    flex-direction: column; /* 🔥 CLAVE → vertical */
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
}

/* SECCIÓN ORO */
.compramos-oro{
    background:#f8f8f8;
    text-align:center;
    padding:100px 20px;
}

.urgente{
    display:inline-block;
    background:#222;
    color:white;
    padding:10px 20px;
    border-radius:20px;
    margin-bottom:20px;
    font-size:14px;
}



.oro-contenido h2{
    font-size:42px;
    font-weight:600;
    margin-bottom:20px;
}

.oro-contenido p{
    color:#666;
    font-size:18px;
    margin-bottom:20px;
}

.oro-contenido h3{
    font-size:20px;
    font-weight:400;
    margin-bottom:25px;
}

/* BOTONES */
button{
    background:black;
    color:white;
    border:none;
    padding:14px 28px;
    cursor:pointer;
    border-radius:30px;
    transition:0.3s;
}

button:hover{
    background:#444;
}

/* HERO */
.hero{
    height:50vh;
    background:#fafafa;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero h1{
    font-size:60px;
    font-weight:300;
}

.slider{
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
}

.slides{
    display: flex;
    width: 500px;
    animation: slide 12s infinite alternate ease-in-out;
}

.slides img{
    width: 100%;
    height: 600px;
    object-fit: cover;
}

@keyframes slide{
    0%{
        transform: translateX(0%);
    }

    20%{
        transform: translateX(0%);
    }

    25%{
        transform: translateX(-100%);
    }

    45%{
        transform: translateX(-100%);
    }

    50%{
        transform: translateX(-200%);
    }

    70%{
        transform: translateX(-200%);
    }

    75%{
        transform: translateX(-300%);
    }
    100%{
        transform: translateX(-300%);
    }
}

/* PRODUCTOS */
.productos{
    padding:80px 50px;
    text-align:center;
}

.productos h2{
    margin-bottom:40px;
    font-size:35px;
}

.contenedor-productos{
    display: block;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.producto{
    display: flex;
    flex-direction: column;
    background:white;
    border:1px solid #eee;
    border-radius:15px;
    overflow:hidden;
    transition:0.3s;
    width: 350px;
    margin: auto;
}

.producto:hover{
    transform:translateY(-5px);
    box-shadow:0px 10px 25px rgba(0,0,0,0.08);
}

.producto img{
    width:300px !important;
    height:200px !important;
    object-fit:cover;
    display: block;
    margin: auto;
    border-radius: 10px;
}

.producto h3{
    margin-top:20px;
    font-size:22px;
}

.producto p{
    color:#666;
    padding:10px 20px;
}

.producto h4{
    margin-top:5px;
    font-size:20px;
    color:black;
}

/* CONTACTO */
.contacto{
    background: white;
    text-align:center;
    padding:70px 20px;
}

.contacto h2{
    margin-bottom:20px;
    font-size:35px;
}

.contacto p{
    margin:10px 0;
    color:#555;
}

/* ADMIN PANEL */
.admin-container{
    width:450px;
    margin:80px auto;
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0px 10px 30px rgba(0,0,0,0.08);
}

.admin-container h1{
    text-align:center;
    margin-bottom:20px;
}

.admin-container input,
.admin-container textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:10px;
}

.admin-container button{
    width:100%;
}

/* BOTÓN */
.wa-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  animation: pop 0.3s ease;
}

@keyframes pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.wa-icon {
  width: 30px;
  height: 30px;
  pointer-events: none;
}

/* NOTIFICACIÓN */
.notif {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  background: red;
  color: white;
  font-size: 11px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* CHAT BOX (INTERCOM STYLE) */
.chat-box {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 340px;
  height: 420px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: fadeUp 0.25s ease;
}

@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* HEADER */
.chat-header {
  background: #25D366;
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header small {
  display: block;
  font-size: 11px;
  opacity: 0.9;
}

.chat-header span{
    cursor: pointer;
}

/* BODY */
.chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
}

/* MENSAJE */
.msg {
  background: #f1f1f1;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  width: fit-content;
}

/* INPUT */
.chat-input {
  display: flex;
  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
}

.chat-input button {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;

  background: #25D366;
  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 17px;
  cursor: pointer;

  padding: 0;
  margin: 0 6px;
}

.creditos{
    font-size: 12px;
    opacity: 0.7;
}

.footer{
    text-align: center;
    padding: 20px;
}

/* SECCIÓN GENERAL */
.taller {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  background: #f8f8f8;
}

.container-taller {
  max-width: 1100px;
  width: 100%;
}

/* TEXTOS */
.container-taller h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.container-taller p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.container-taller h3 {
  margin: 15px 0;
  font-weight: 600;
}

.container-taller h1 {
  margin: 20px 0;
}

/* BLOQUES (REPARACIÓN Y DISEÑO) */
.reparacion,
.diseñar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  margin-bottom: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* TEXTO INTERNO */
.reparacion div,
.diseñar div {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* CONTENIDO IZQUIERDA */
.reparacion p,
.diseñar p {
  flex: 1;
  margin-top: 10px;
}

.reparacion button,
.diseñar button {
  font-size: 15px;
}

/* IMAGEN */
.reparacion img {
  width: 120px;
  height: auto;
  border-radius: 10px;
}

.google{
    width: 900;
    height: 450;
    border:0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .reparacion,
  .diseñar {
    flex-direction: column;
    text-align: center;
  }

  .reparacion img {
    width: 100%;
  }
  .google{
    width: 550;
    height: 450;
    border:0;
  }
}

.admin-container{
    width:90%;
    max-width:1200px;
    margin:40px auto;
    text-align:center;
}

.admin-container h1{
    margin-bottom:20px;
    color:black;
}

.admin-container form{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0px 5px 20px rgba(0,0,0,0.1);
    margin-bottom:40px;
}

.admin-container input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:10px;
}

.admin-container button{
    background:gold;
    color:black;
    padding:12px 25px;
    border:none;
    border-radius:30px;
    cursor:pointer;
}

.productos-admin{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.producto-admin{
    background:white;
    padding:20px;
    border-radius:15px;
    box-shadow:0px 5px 20px rgba(0,0,0,0.1);
}

.producto-admin img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:10px;
}

.editar-btn{
    background:black;
    color:white;
    padding:10px 20px;
    text-decoration:none;
    border-radius:20px;
    margin-right:10px;
}

.eliminar-btn{
    background:red;
    color:white;
    padding:10px 20px;
    text-decoration:none;
    border-radius:20px;
}
.map-section{
    width:100%;
    padding:20px;
}

.map-section iframe{
    width:100% !important;
    max-width:100%;
    height:400px;
    border:none;
    display:block;
}

@media (max-width:768px){
    .map-section iframe{
        height:250px;
    }
}
.menu-toggle{
    display:none;
    font-size:30px;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
}

/* móvil */
@media(max-width:768px){

    nav{
        display:none;
        flex-direction:column;
        background:black;
        position:absolute;
        top:70px;
        right:0;
        width:100%;
        text-align:center;
        padding:20px 0;
    }

    nav a{
        display:block;
        padding:15px;
    }

    nav.active{
        display:flex;
    }

    .menu-toggle{
        display:block;
    }

    header{
        position:relative;
    }
}