:root{
  --red:#ec111a;
  --dark:#263940;
  --text:#24343a;
  --muted:#56707a;
  --line:#e7ecef;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:#fff;
  color:var(--text);
  font-family:Poppins, Rubik, Arial, sans-serif;
}

a{text-decoration:none;color:inherit}

.hero-top{
  width:100%;
  padding:24px 12px 0;
  background:#fff;
}

.hero-top img{
  width:100%;
  display:block;
  object-fit:cover;
}

.family{
  padding:70px 20px 24px;
  background:#fff;
}

.family-title{
  text-align:center;
  margin:0 0 52px;
  color:#000;
  font-size:42px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.5px;
}

.cards{
  width:min(1120px,92vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:2px;
  overflow:hidden;
  position:relative;
  min-height:520px;
}

.card::after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:74px;
  height:74px;
  background:linear-gradient(135deg,transparent 50%,#f2f4f5 50%);
  opacity:.9;
}

.card-img{
  height:188px;
  overflow:hidden;
  background:#ddd;
}

.card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:grayscale(100%);
}

.card-body{
  padding:38px 39px 32px;
}

.card h2{
  margin:0 0 22px;
  color:#26343b;
  font-size:22px;
  line-height:1.45;
  font-weight:900;
}

.card p{
  margin:0;
  color:#57717c;
  font-size:17px;
  line-height:1.47;
  font-weight:400;
}

.card-btn{
  position:absolute;
  left:39px;
  bottom:42px;
  display:inline-flex;
  align-items:center;
  min-width:205px;
  height:41px;
  background:#263940;
  color:#fff;
  border-radius:5px;
  font-size:13px;
  font-weight:900;
  overflow:hidden;
  z-index:2;
}

.card-btn span:first-child{
  flex:1;
  text-align:center;
  padding:0 14px;
}

.card-btn .icon{
  width:34px;
  height:34px;
  margin-right:4px;
  background:#fff;
  color:#263940;
  border-radius:4px;
  display:grid;
  place-items:center;
  font-size:16px;
  line-height:1;
}

.marques{
  position:relative;
  min-height:610px;
  background:#263940;
  color:#fff;
  overflow:hidden;
  margin-top:0;
}

.marques::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--marques-bg);
  background-size:cover;
  background-position:center;
  opacity:.13;
  filter:grayscale(100%);
}

.marques::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(31,49,56,.88);
}

.marques-inner{
  position:relative;
  z-index:2;
  width:min(930px,90vw);
  margin:0 auto;
  min-height:610px;
  display:grid;
  grid-template-columns:430px 1fr;
  align-items:center;
  gap:88px;
}

.marques-photo{
  width:430px;
  height:350px;
  border:3px solid #111;
  object-fit:cover;
  display:block;
}

.marques-title{
  margin:0 0 22px;
  color:#fff;
  font-size:57px;
  line-height:1.38;
  font-weight:600;
  letter-spacing:-1px;
  word-break:break-word;
}

.marques-subtitle{
  margin:0 0 12px;
  color:#fff;
  font-size:39px;
  line-height:1.05;
  font-weight:900;
}

.white-line{
  width:40px;
  height:4px;
  background:#fff;
  margin:0 0 31px;
}

.marques-text{
  margin:0 0 38px;
  max-width:530px;
  color:#fff;
  font-size:16px;
  line-height:1.5;
  font-weight:800;
}

.insta-btn img{
  width:270px;
  height:auto;
  display:block;
}

.bottom-nav{
  background:#050505;
  border-bottom:3px solid var(--red);
  color:#fff;
}

.bottom-nav .socials{
  width:min(1180px,95vw);
  margin:0 auto;
  min-height:38px;
  display:flex;
  align-items:center;
  gap:32px;
  font-size:14px;
  font-weight:700;
}

.dot{
  display:inline-block;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#fff;
  vertical-align:-3px;
  margin-right:7px;
}

.menu{
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.11);
}

.menu-inner{
  width:min(920px,95vw);
  min-height:58px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:45px;
}

.menu a{
  color:#000;
  font-size:14px;
  font-weight:900;
}

.menu a:first-child{
  color:var(--red);
}

.logo-bottom{
  padding:38px 0 42px;
  text-align:center;
}

.logo-bottom img{
  width:min(480px,78vw);
}

.footer{
  background:#050505;
  color:#fff;
  text-align:center;
  padding:15px;
  font-size:13px;
  font-weight:600;
}

.admin-link{
  position:fixed;
  right:12px;
  bottom:12px;
  background:#000;
  color:#fff;
  padding:7px 10px;
  border-radius:4px;
  font-size:12px;
  opacity:.4;
  z-index:30;
}

.admin-link:hover{opacity:1}

@media(max-width:900px){
  .family{
    padding-top:45px;
  }

  .family-title{
    font-size:33px;
    margin-bottom:35px;
  }

  .cards{
    grid-template-columns:1fr;
    max-width:420px;
  }

  .card{
    min-height:500px;
  }

  .marques-inner{
    grid-template-columns:1fr;
    gap:30px;
    padding:55px 0;
  }

  .marques-photo{
    width:100%;
    height:auto;
  }

  .marques-title{
    font-size:39px;
  }

  .marques-subtitle{
    font-size:28px;
  }

  .menu-inner{
    flex-wrap:wrap;
    gap:0;
    padding:9px 0;
  }

  .menu a{
    width:50%;
    text-align:center;
    padding:8px 4px;
  }

  .bottom-nav .socials{
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    padding:8px 0;
  }
}

/* FIX HERO SUPERIOR: imagen original completa */
.hero-top{
  width:100%;
  padding:24px 12px 0;
  background:#fff;
}

.hero-top img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

/* HERO COMPUESTO REVSLIDER APLANADO */
.hero-top{
  width:100%;
  padding:0 !important;
  margin:0;
  background:#fff;
  display:block;
}

.hero-main-img{
  width:100%;
  height:auto;
  display:block !important;
  object-fit:contain;
}

/* HERO FINAL - banner externo convertido a webp */
.hero-top{
  width:100%;
  padding:0 !important;
  margin:0;
  background:#fff;
  display:block;
}

.hero-main-img{
  width:100%;
  height:auto;
  display:block !important;
  object-fit:contain;
}

/* MENU SIMPLE SUPERIOR */
.simple-top-menu{
  width:100%;
  background:#050505;
  color:#fff;
  border-bottom:4px solid #ec111a;
  position:sticky;
  top:0;
  z-index:50;
}

.simple-menu-inner{
  width:min(1180px,94vw);
  min-height:58px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.simple-brand{
  font-weight:900;
  font-size:20px;
  letter-spacing:.5px;
  color:#fff;
  white-space:nowrap;
}

.simple-brand span{
  color:#ec111a;
}

.simple-menu-links{
  display:flex;
  align-items:center;
  gap:34px;
}

.simple-menu-links a{
  color:#fff;
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.3px;
  transition:.2s ease;
}

.simple-menu-links a:hover{
  color:#ec111a;
}

@media(max-width:768px){
  .simple-menu-inner{
    min-height:auto;
    padding:12px 0;
    flex-direction:column;
    gap:10px;
  }

  .simple-menu-links{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .simple-menu-links a{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:8px;
    padding:10px 8px;
    text-align:center;
    font-size:12px;
  }
}
