
:root{
  --bg:#ffffff; --text:#1b1b1b; --muted:#6b6b6b; --accent:#99d92a; --accent-2:#0b8793; --card:#f7f7f7;
  --radius:12px; --max-w:1200px;
}
*{box-sizing:border-box}
body{font-family:'Poppins',system-ui,Arial;background:var(--bg);color:var(--text);margin:0;line-height:1.45}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:24px}
header{display:flex;align-items:center;justify-content:space-between;padding:18px 0;position:sticky;top:0;background:rgba(255,255,255,0.95);backdrop-filter: blur(4px);z-index:20}
.brand{display:flex;gap:14px;align-items:center}
.logo{width:56px;height:56px;background:linear-gradient(135deg,var(--accent),var(--accent-2));border-radius:10px;display:flex;align-items:center;justify-content:center;color:white;font-weight:700;font-family:'Montserrat';font-size:18px}
nav{display:flex;gap:14px;align-items:center}
nav a{padding:8px 12px;border-radius:8px;color:var(--muted);font-weight:600}
.cta{background:var(--accent);color:white;padding:10px 16px;border-radius:10px;font-weight:700}

/* Hero */
.hero{display:grid;grid-template-columns:1fr 480px;gap:28px;align-items:center;padding:32px 0}
.hero h1{font-family:'Montserrat';font-size:36px;margin:0 0 12px}
.hero p{color:var(--muted);margin:0 0 18px}
.hero .actions{display:flex;gap:12px}
.card{background:var(--card);padding:18px;border-radius:var(--radius);box-shadow:0 8px 24px rgba(0,0,0,0.06)}

/* Grid sections */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.service{padding:16px;border-radius:10px;background:white;border:1px solid #efefef}
.service h4{margin:8px 0}

/* Portfolio */
.portfolio{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.portfolio-item{background:#fff;border-radius:10px;overflow:hidden;border:1px solid #eee}
.portfolio-item img{width:100%;display:block}
.portfolio-item .meta{padding:12px}

/* gallery */
.grid-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.grid-gallery img{width:100%;height:200px;object-fit:cover;border-radius:10px;display:block;transition:transform .35s}

/* Responsive */
@media(max-width:980px){.hero{grid-template-columns:1fr;}.grid{grid-template-columns:repeat(2,1fr)}.portfolio{grid-template-columns:repeat(2,1fr)}.grid-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid{grid-template-columns:1fr}.portfolio{grid-template-columns:1fr}.hero h1{font-size:26px}.logo{width:44px;height:44px}.grid-gallery img{height:140px}}

/* Footer */
footer{margin-top:48px;padding:24px 0;border-top:1px solid #eee}

/* Contact form */
form input,form textarea, form select{width:100%;padding:10px;border-radius:8px;border:1px solid #ddd;margin-bottom:10px}
button.btn{background:var(--accent);color:white;padding:10px 14px;border-radius:8px;border:none;cursor:pointer}
.btn-primary{background:var(--accent);color:white;padding:12px 20px;border-radius:8px;display:inline-block}

/* Animations helpers */
.opacity-0{opacity:0}
.scale-0{transform:scale(0.92)}
.fade-in-up{opacity:0;transform:translateY(18px)}
.header-shadow{box-shadow:0 6px 24px rgba(11,135,147,0.06)}

/* small */
.muted{color:var(--muted)}
.tiny{font-size:13px}

/* Layout general */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.menu-btn {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* se activa en móvil */
}

/* MENU */
.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    font-size: 17px;
    color: #222;
}

/* --- RESPONSIVE --- */
@media(max-width: 768px) {

    .menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 70%;
        background: #fff;
        flex-direction: column;
        gap: 18px;
        border-left: 1px solid #eee;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);

        /* animación de apertura */
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease;
    }

    .nav.open {
        max-height: 400px;
    }

    .nav.closed {
        max-height: 0;
    }
}
.testimonios {
    padding: 80px 20px;
    background: #fafafa;
    text-align: center;
}

.testimonios h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #111;
}

.testimonios-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonio-card {
    background: white;
    width: 300px;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.testimonio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.testimonio-card img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.estrellas {
    color: #F8C200;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.testimonio-card p {
    font-size: 15px;
    color: #444;
}

/* Responsive */
@media(max-width: 768px) {
    .testimonio-card {
        width: 90%;
    }
}

/* =========================
   NOSOTROS – MEDIA (IMAGEN + TEXTO)
========================= */

.nosotros-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 22px;
}

/* Imagen / Galería */
.nosotros-gallery {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 10px;

}

.nosotros-gallery img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform .4s ease;
}

/* Overlay suave */
.nosotros-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.05)
    );
}

/* Hover ligero */
.nosotros-gallery:hover img {
    transform: scale(1.04);
}

/* Badge experiencia */
.badge-experience {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* Texto */
.nosotros-text h2 {
    font-family: 'Montserrat';
    font-size: 28px;
    margin: 0 0 10px;
}

.nosotros-text p {
    color: var(--muted);
    margin: 0;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nosotros-media {
        grid-template-columns: 1fr;
    }

    .nosotros-text h2 {
        font-size: 24px;
    }
}
/* ===== NOSOTROS ===== */
.nosotros-section{padding:40px 0}
.nosotros-content{display:flex;flex-direction:column;gap:28px}


/* Media (imagen + texto) */
.nosotros-media{
display:grid;
grid-template-columns:1fr 1fr;
gap:28px;
align-items:center;
background:rgba(255,255,255,0.55);
backdrop-filter:blur(8px);
border-radius:18px;
padding:24px;
}


.nosotros-gallery{
position:relative;
border-radius:12px;
overflow:hidden;
aspect-ratio:4/3;
}


.nosotros-gallery img{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
}


.nosotros-gallery img:first-child{opacity:1;position:relative}


.nosotros-gallery::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0.05));
}


.badge-experience{
position:absolute;
bottom:16px;
left:16px;
background:rgba(0,0,0,0.7);
color:#fff;
padding:8px 14px;
border-radius:999px;
font-size:14px;
font-weight:600;
z-index:2;
}


.nosotros-text h2{font-family:'Montserrat';font-size:28px;margin:0 0 10px}
.nosotros-text p{color:var(--muted);margin:0}


/* Intro */
.intro{max-width:760px}


/* Cards */
.nosotros-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.nosotros-card{background:var(--card);padding:18px;border-radius:var(--radius);box-shadow:0 8px 24px rgba(0,0,0,0.06)}
.nosotros-card h3{margin-top:0;font-family:'Montserrat'}
.nosotros-card ul{padding-left:16px}


/* Responsive */
@media(max-width:980px){
.nosotros-media{grid-template-columns:1fr}
.nosotros-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
.nosotros-grid{grid-template-columns:1fr}
.nosotros-text h2{font-size:24px}
}


.fade-on-scroll{opacity:0;transform:translateY(24px)}

/* Cards */
.blog-card{background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.08)}
.blog-card img{width:100%;height:200px;object-fit:cover}
.blog-card .content{padding:16px}
.blog-card h3{font-family:'Montserrat';margin:0 0 8px}
.blog-card p{font-size:14px;color:var(--muted)}
.btn{display:inline-block;background:#99d92a;color:#fff;padding:12px 20px;border-radius:10px;font-weight:700;margin-top:30px}

.related-content{margin-top:60px}
.related-content h2{font-family:'Montserrat';margin-bottom:16px}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.related-card{position:relative;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.related-card img{width:100%;height:220px;object-fit:cover;transition:transform .4s ease}
.related-card span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);color:#fff;font-weight:600;font-size:18px;opacity:0;transition:.3s}
.related-card:hover img{transform:scale(1.05)}
.related-card:hover span{opacity:1}
@media(max-width:768px){.related-grid{grid-template-columns:1fr}}

.blog-container {
  max-width: 1200px;
  margin: auto;
}

/* ===== INDEX DEL BLOG (CARDS) ===== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Tablets */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móviles */
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card img {
    height: 180px;
  }
}

/* ===== POSTS INDIVIDUALES ===== */

.blog-post {
  max-width: 900px;
  margin: auto;
  padding: 24px;
}

.blog-post h1 {
  font-family: 'Montserrat';
  font-size: 36px;
  line-height: 1.2;
}

/* Ajuste de texto en móvil */
@media (max-width: 640px) {
  .blog-post h1 {
    font-size: 26px;
  }

  .blog-post p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ===== IMÁGENES ===== */

.blog-post img,
.blog-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Evita CLS */
.blog-hero {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* ===== SECCIÓN RELACIONADOS ===== */

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA ===== */

.blog-cta {
  margin-top: 40px;
  text-align: center;
}

.blog-cta a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
}

  /* Estilo para el contenedor de imágenes del slider */
  .nosotros-gallery {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
  }

  .nosotros-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
  }

  .nosotros-gallery img:first-child {
    opacity: 1;
  }

  /* Efecto de transición de cambio de imagen */
  .nosotros-gallery img {
    transition: opacity 0.8s ease-in-out;
  }

/* Bloques imagen + texto */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-text h2 {
  font-family: 'Montserrat';
  margin-bottom: 10px;
}

.content-text p {
  color: var(--muted);
}

/* Imagen */
.content-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.info-card {
  background: var(--card);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.info-card h3 {
  margin-top: 0;
  font-size: 18px;
}

/* Bloque destacado */
.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 26px;
  border-radius: 18px;
  text-align: center;
  margin: 50px 0;
  font-size: 20px;
  font-weight: 600;
}

.highlight span {
  display: block;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .content-block {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .blog-content .lead {
    font-size: 16px;
  }
}

/* =========================
   LOGO HEADER
========================= */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 60px;
  height: auto;
  display: block;
}

.logo-text {
  font-family: 'Montserrat';
  font-weight: 800;
  font-size: 20px;
  color: inherit; /* mantiene colores actuales */
}

/* Responsive */
@media (max-width: 768px) {
  .logo img {
    width: 48px;
  }

  .logo-text {
    font-size: 18px;
  }
}

.quote-container {
  max-width: 520px;
  margin: 60px auto;
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.subtitle {
  color: #666;
  margin-bottom: 25px;
}

label {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.buttoncontact {
  margin-top: 28px;
  width: 100%;
  padding: 15px;
  background: #25d336;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

/* ===============================
   BLOG GRID AUTO-RESPONSIVE
================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 24px 64px;
  align-items: stretch;
}

/* ===============================
   BLOG CARD
================================ */

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* ===============================
   IMAGENES CONSISTENTES
================================ */

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #f3f3f3;
}

/* ===============================
   CONTENIDO
================================ */

.blog-card .content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.blog-card h3 {
  font-size: 18px;
  line-height: 1.25;
}

.blog-card p {
  font-size: 14px;
  opacity: .85;
  flex-grow: 1;
}

/* ===============================
   BOTON
================================ */

.blog-card .btn {
  align-self: flex-start;
  margin-top: 10px;
}

/* ===============================
   MOBILE AJUSTES
================================ */

@media (max-width: 480px) {
  .blog-grid {
    padding: 0 16px 48px;
    gap: 18px;
  }
}

/* ============================
   CATALOGO GALERIA INTERACTIVA
============================ */

.catalog-grid {
  padding: 40px 0 70px;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  padding: 0 24px;
}

/* CARD */
.catalog-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  padding-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.12);
}

/* IMAGEN */
.image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s ease;
}

/* TEXTO */
.catalog-card h3 {
  margin: 14px 16px 4px;
  font-size: 16px;
  font-weight: 700;
}

.image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}

/* Mostrar la primera imagen por defecto */
.image-wrapper img:first-child {
  opacity: 1;
}

/* Hover: mostrar la segunda imagen */
.catalog-card:hover .image-wrapper img:nth-child(2) {
  opacity: 1;
}

/* Hover prolongado: tercera imagen */
.catalog-card:hover .image-wrapper img:nth-child(3) {
  opacity: 1;
  transition-delay: .3s;
}

/* Mobile fallback */
@media (hover: none) {
  .catalog-card:hover .image-wrapper img {
    opacity: 0;
  }
  .image-wrapper img:first-child {
    opacity: 1;
  }
}

.view-more {
  display: block;
  margin-left: 16px;
  font-size: 13px;
  opacity: .75;
}

/* MOBILE */
@media (hover: none) {
  .catalog-card:hover {
    transform: none;
  }
}

/* =========================
   MAPA GOOGLE MAPS
========================= */

.map-section {
  margin-top: 64px;
  padding: 0 24px 40px;
}

.map-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.map-subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 18px;
  max-width: 520px;
}

/* CONTENEDOR MAPA */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #eaeaea;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* MAPA */
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .map-wrapper {
    height: 260px;
    border-radius: 14px;
  }
}

/* ================================
   RESET & BASE
================================ */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:#fff;
  color:#111;
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ================================
   HERO SCROLL STORY
================================ */
.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  padding:10px 8vw;
  align-items:center;
}
.hero h1{
  font-size:clamp(32px,4vw,54px);
  line-height:1.1;
}
.hero h1 span{
  display:block;
  opacity:.7;
}
.hero p{
  margin-top:14px;
  max-width:520px;
}
.actions{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap}
.btn-primary,.cta{
  padding:12px 22px;
  border-radius:24px;
  font-weight:600;
}
.btn-primary{background:#111;color:#fff}
.cta{border:1px solid #111}

.hero-image{
  position:relative;
}
.hero-image img{
  border-radius:18px;
  box-shadow:0 30px 70px rgba(0,0,0,.18);
  transform:translateY(0);
  transition:transform .4s ease;
}

/* ================================
   BENEFITS FLOAT
================================ */
.hero-benefits{
  margin-top:30px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.hero-benefits div{
  background:#f5f5f5;
  padding:14px;
  border-radius:14px;
  font-size:14px;
}

/* ================================
   SECTIONS
================================ */
section{
  padding:10px 8vw;
}
h2{
  font-size:clamp(26px,3vw,38px);
  margin-bottom:12px;
}

/* ================================
   PORTFOLIO SCROLL
================================ */
.portfolio{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}
.portfolio-item{
  position:relative;
  border-radius:18px;
  overflow:hidden;
}
.portfolio-item img{
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.portfolio-item:hover img{
  transform:scale(1.06);
}
.meta{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:16px;
  background:linear-gradient(transparent,rgba(0,0,0,.7));
  color:#fff;
}

/* ================================
   MAP
================================ */
.map-wrapper{
  margin-top:24px;
  height:320px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
}
.map-wrapper iframe{
  width:100%;
  height:100%;
  border:0;
}

/* ================================
   TESTIMONIOS SLIDE
================================ */
.testimonios-container{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:20px;
}
.testimonio-card{
  min-width:260px;
  background:#f6f6f6;
  padding:20px;
  border-radius:18px;
  scroll-snap-align:start;
}
.testimonio-card img{
  width:52px;
  height:52px;
  border-radius:50%;
  margin-bottom:8px;
}

/* ================================
   FAQ
================================ */
.faq-item{
  padding:18px;
  border-bottom:1px solid #eee;
  cursor:pointer;
}
.faq-item div{
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease;
  color:#555;
}
.faq-item.active div{
  max-height:200px;
  margin-top:8px;
}



ul {
  list-style: none; /* Oculta los marcadores por defecto */
  padding-left: 0; /* Elimina el padding inicial */
}

/* Estilo para cada elemento de la lista */
li {
  padding-left: 25px; /* Espacio para el icono */
  position: relative; /* Para posicionar el icono */
  margin-bottom: 5px;
}

/* Crea el icono con ::before */
li::before {
  content: ''; /* Necesario para que funcione el background */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Centra verticalmente */
  width: 16px; /* Tamaño del icono */
  height: 16px;
  background-image: url('ruta/a/tu/icono.png'); /* Cambia por tu imagen */
  background-size: contain;
  background-repeat: no-repeat;
}

/* ===== MASONRY PINTEREST REAL ===== */

.catalogo {
  padding: 24px;
}

.masonry {
  column-count: 4;
  column-gap: 16px;
}

.masonry img {
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid;
  border-radius: 14px;
  display: block;
}

/* Tablets */
@media (max-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}

/* CELULAR → 2 COLUMNAS */
@media (max-width: 768px) {
  .masonry {
    column-count: 2;
    column-gap: 12px;
  }

  .masonry img {
    margin-bottom: 12px;
    border-radius: 12px;
  }
}


.btn-volver {
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 999;
}
