html {
  scroll-behavior: smooth;
}

#catalogo {
  scroll-margin-top: 140px;
}

:root{
  --primary:#ff4f7a;
}

body{
  margin:0;
  font-family:'Poppins',sans-serif;
  background:#fff;
  color:#111;
}

/* ===== HEADER ===== */

/* ===== HEADER ===== */
/* ===== HEADER ===== */

.header {
  width: 100%;
  background: #f6f4f4; /* gris clarito */
  border-bottom: 1px solid #eaeaea;
}

/* Contenedor */
.header-inner {
  max-width: 1400px;
  margin: 0 auto;

  height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 60px;
}

/* ===== LOGO ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  letter-spacing: 2px;
  color: #111;
}

/* Puntito rosa */
.logo-dot {
  width: 6px;
  height: 6px;
  background: #ff4d73;
  border-radius: 50%;
}

/* ===== BOTÓN ===== */

.btn-header {
  background: #111;
  color: #fff;
  text-decoration: none;

  font-size: 13px;
  padding: 10px 18px;

  border-radius: 999px;

  transition: 0.25s ease;
}

.btn-header:hover {
  background: #000;
}

@media (max-width: 768px) {

  .logo {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .btn-header {
    font-size: 12px;
    padding: 8px 14px;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffff;
  border-bottom: 1px solid #ccc;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);

  display: flex;
  align-items: center;

  background-image: url("images/hero.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

/* Overlay EXACTO como el diseño */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 40%,
    rgba(255, 255, 255, 0.85) 55%,
    rgba(255, 255, 255, 0.4) 70%,
    rgba(255, 255, 255, 0.1) 85%,
    transparent 100%
  );
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: flex-start;

  padding-left: clamp(20px, 6vw, 80px); /* 🔥 RESPONSIVE REAL */
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
    height: 70px;

    display: flex;
    flex-direction: row; /* 🔥 IMPORTANTE */
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 992px) {

  .header-inner{
    flex-direction: column;
    padding: 20px;
  }
}

/* Texto */
.hero-text {
  max-width: 520px;
  text-align: left; /* 🔥 CLAVE */
}



/* Título */
.hero-text h1 {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Texto */
.hero-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 28px;
}

/* Botón */
.btn-hero {
  display: inline-block;
  background: #ff4d73;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
}

/* GALERÍA */

.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  padding:40px;
}

/* CARD */

.card{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 40px rgba(0,0,0,0.08);
  transition:.4s;
}

.card:hover{
  transform:translateY(-6px);
}

/* imagen */

.card img{
  width:100%;
  height:300px;
  object-fit:cover;
}

/* info */

.card-info{
  padding:20px;
}

.label{
  font-size:11px;
  background:var(--primary);
  color:#fff;
  padding:4px 10px;
  border-radius:999px;
}

.card-info h3{
  margin:10px 0 4px;
}

.card-info p{
  color:#777;
  font-size:13px;
}

.card-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:16px;
}

.card-info .price{
  font-size:15px;
  color:#111;
  font-weight:500;

  margin-bottom:6px;
}

/* si quieres más lujo */
.card-info .price{
  font-size:15px;
  letter-spacing:0.3px;
}

/* botones */

.card-actions{
  display:flex;
  gap:10px;
  margin-top:15px;
}

.card-actions button{
  flex:1;
  padding:10px;
  border:none;
  border-radius:999px;
  cursor:pointer;
}

.card-actions button:first-child{
  background:#f5f5f5;
}

.whats{
  background:#25D366;
  color:#fff;
}

/* ===== MODAL PREMIUM ===== */

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:999;
}

.modal.active{
  display:flex;
}

/* CONTENEDOR */

.modal-content{
  width:90%;
  max-width:900px;
  border-radius:28px;
  overflow:hidden;

  background:#fff;

  display:grid;
  grid-template-columns:1fr 1fr;

  box-shadow:0 40px 120px rgba(0,0,0,0.25);

  animation:fadeUp .5s ease;
}

/* ANIMACIÓN */

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* IMAGEN LADO IZQUIERDO */

.modal-img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* LADO DERECHO (INFO) */

.modal-info{
  padding:50px 40px;

  display:flex;
  flex-direction:column;
  justify-content:center;
}

.modal-title{
  font-size:28px;
  margin-bottom:10px;
}

.modal-desc{
  font-size:15px;
  color:#555;
  line-height:1.7;
  margin-top:10px;
  margin-bottom:30px;
}

.modal-content{
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #fff5f7 100%
  );
    backdrop-filter: blur(20px);
}

.modal-img{
  position: relative;
  z-index: 2;
}

.modal-content::before{
  content:"";
  position:absolute;
  width:400px;
  height:400px;
  background: radial-gradient(circle, rgba(255,79,122,0.25), transparent 70%);
  filter: blur(60px);
  top:50%;
  left:10%;
  transform:translateY(-50%);
  z-index:1;
}

/* BOTÓN */

.modal-btn{
  padding:16px;
  border-radius:999px;
  border:none;

  background: linear-gradient(135deg, #ff4f7a, #ff8aa5);
  color:#fff;

  font-weight:500;
  letter-spacing:0.3px;

  box-shadow:0 10px 30px rgba(255,79,122,0.4);

  transition: all .3s ease;
  cursor: pointer;
}

.modal-btn:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow:0 20px 50px rgba(255,79,122,0.5);
}
/* CLOSE */

.close{
  position:absolute;
  top:30px;
  right:40px;
  font-size:28px;
  color:#fff;
  cursor:pointer;
}

/* MOBILE */

@media(max-width:768px){

  .modal-content{
    grid-template-columns:1fr;
    max-width:95%;
  }

  .modal-img{
    height:300px;
  }

  .modal-info{
    padding:30px;
  }

}

/* MOBILE */

@media(max-width:768px){
  .gallery{
    grid-template-columns:1fr;
  }
}

/* ===== CARDS PREMIUM ===== */

.card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;

  transition: all 0.5s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* imagen */

.card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* info */

.card-info {
  padding: 22px;
}

/* categoría */

.category {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

/* título */

.card-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

/* descripción */

.card-info p {
  font-size: 13px;
  color: #777;
  line-height: 2;
  display:-webkit-box;
  -webkit-line-clamp: 2; /* máximo 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* botones */

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.card-actions button {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.card-actions button:first-child {
  background: #f5f5f5;
}

.card-actions button:first-child:hover {
  background: #eee;
}

.whats {
  background: #25D366;
  color: white;
}

.whats:hover {
  transform: scale(1.05);
}



/* ===== MOBILE ===== */

@media(max-width:768px){

  .hero h1{
    font-size:36px;
  }

}


/* ===== FOOTER ===== */

.footer{
  background:#fafafa;
  border-top:1px solid #eee;
  margin-top:100px;
}

/* CONTENIDO */

.footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:60px 20px;

  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:40px;
}

/* MARCA */

.footer-brand h3{
  font-size:16px;
  margin-bottom:10px;
}

.footer-brand p{
  font-size:14px;
  color:#666;
  line-height:1.6;
}

/* CONTACTO */

.footer-contact{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-contact a{
  text-decoration:none;
  color:#111;
  font-size:14px;
  transition:0.3s;
}

.footer-contact a:hover{
  color:#ff4f7a;
}

.footer-contact span{
  font-size:13px;
  color:#777;
}

/* CTA */

.footer-btn{
  display:inline-block;
  padding:12px 22px;
  border-radius:999px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-size:14px;

  transition:0.3s;
}

.footer-btn:hover{
  background:#333;
}

/* BOTTOM */

.footer-bottom{
  border-top:1px solid #eee;
  text-align:center;
  padding:20px;
}

.footer-bottom p{
  font-size:12px;
  color:#888;
}

/* ===== MOBILE ===== */

@media(max-width:768px){

  .footer-inner{
    grid-template-columns:1fr;
    text-align:center;
    gap:30px;
  }

  .footer-cta{
    display:flex;
    justify-content:center;
  }

}

/* ===== FILTROS ===== */

.filters{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:40px 0;
  flex-wrap:wrap;
}

.filter{
  padding:8px 16px;
  border-radius:999px;
  border:1px solid #eee;
  background:#fff;
  cursor:pointer;
  font-size:13px;
  transition:.3s;
  color: #111;
}

.filter:hover{
  background:#f5f5f5;
}

.filter.active{
  background:#111;
  color:#fff;
}

/* ===== PAGINACIÓN ===== */

.pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  margin:60px 0;
}

.pagination button{
  border:none;
  background:#f2f2f2;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
}

.pagination span{
  font-size:14px;
  color:#555;
}