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

:root {
  --guinda:#7b1235;
  --guinda2:#5c0c27;
  --dorado:#d6a23a;
  --blanco:#fff;
  --gris:#f4f4f4;
  --texto:#222;
  --borde:#e4e4e4
}

body {
  background:#fff;
  color:var(--texto);
  line-height:1.5
}

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

.topbar {
  background:#111;
  color:#fff;
  font-size:14px;
  padding:8px 40px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap
}

.topbar strong {
  color:#fff
}

.topbar span {
  margin-right:18px
}

.topbar a {
  color:#fff;
  font-weight:bold
}

header {
  background:var(--blanco);
  border-bottom:1px solid var(--borde);
  position:static;
  box-shadow:0 2px 10px rgba(0,0,0,.08)
}

.header-main {
  max-width:1250px;
  margin:auto;
  padding:18px 20px;
  display:grid;
  grid-template-columns:260px 1fr 190px;
  align-items:center;
  gap:20px
}

.logo h1 {
  color:var(--guinda);
  font-size:2rem;
  letter-spacing:.5px
}

.logo p {
  font-size:13px;
  color:#555;
  font-weight:bold;
  text-transform:uppercase
}

.search {
  display:flex;
  border:2px solid var(--guinda);
  border-radius:3px;
  overflow:hidden
}

.search input {
  width:100%;
  border:0;
  padding:13px;
  font-size:15px
}

.search button {
  background:var(--guinda);
  color:#fff;
  border:0;
  padding:0 22px;
  font-weight:bold;
  cursor:pointer
}

.callbox {
  text-align:right;
  font-weight:bold;
  color:var(--guinda)
}

.callbox small {
  display:block;
  color:#555;
  font-weight:normal
}

nav {
  background:var(--guinda);
  color:#fff
}

.nav-inner {
  max-width:1250px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 20px;
  flex-wrap:wrap
}

.nav-links {
  display:flex;
  align-items:center;
  flex-wrap:wrap
}

.nav-item {
  position:relative
}

.nav-links > .nav-item > a {
  display:inline-block;
  padding:15px 14px;
  font-weight:bold;
  font-size:14px
}

.nav-links > .nav-item > a:hover {
  background:var(--guinda2)
}

.dropdown {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  min-width:230px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  border-top:4px solid var(--dorado);
  z-index:100
}

.dropdown a {
  display:block;
  color:#222;
  padding:12px 15px;
  border-bottom:1px solid var(--borde);
  font-weight:bold;
  font-size:14px
}

.dropdown a:hover {
  background:#f7f7f7;
  color:var(--guinda)
}

.nav-item:hover .dropdown {
  display:block
}

.nav-cta {
  background:#fff;
  color:var(--guinda);
  padding:9px 14px;
  border-radius:3px;
  font-weight:bold
}

.layout {
  max-width:1250px;
  margin:25px auto;
  display:grid;
  grid-template-columns:270px 1fr;
  gap:24px;
  padding:0 20px
}

.sidebar {
  border:1px solid var(--borde);
  height:max-content;
  background:#fff
}

.side-title {
  background:var(--guinda);
  color:#fff;
  padding:14px;
  font-weight:bold;
  text-transform:uppercase
}

.sidebar a {
  display:block;
  padding:13px 16px;
  border-bottom:1px solid var(--borde);
  font-weight:bold;
  color:#333
}

.sidebar a:hover {
  color:var(--guinda);
  background:#fafafa
}

.hero {
  display:grid;
  grid-template-columns:1fr;
  gap:18px
}

.banner {
  background:linear-gradient(135deg,rgba(123,18,53,.94),rgba(62,5,25,.92)),url('https://via.placeholder.com/900x500?text=SIMEC+Ingenieria');
  background-size:cover;
  background-position:center;
  color:#fff;
  min-height:460px; width:100%; border-radius:8px;
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:center
}

.banner .tag {
  color:var(--dorado);
  font-weight:bold;
  text-transform:uppercase;
  margin-bottom:8px
}

.banner h2 {
  font-size:2.8rem;
  line-height:1.05;
  margin-bottom:15px;
  text-transform:uppercase
}

.banner p {
  font-size:1.05rem;
  margin-bottom:22px;
  max-width:650px
}

.btn {
  display:inline-block;
  background:var(--guinda);
  color:#fff;
  padding:12px 20px;
  border-radius:3px;
  font-weight:bold;
  text-transform:uppercase
}

.btn.blanco {
  background:#fff;
  color:var(--guinda)
}

.btn:hover {
  opacity:.9
}

.mini-banners {
  display:grid;
  gap:18px
}

.mini {
  background:#f8f8f8;
  border:1px solid var(--borde);
  padding:25px;
  border-left:6px solid var(--guinda);
  display:flex;
  flex-direction:column;
  justify-content:center
}

.mini small {
  color:var(--guinda);
  font-weight:bold;
  text-transform:uppercase
}

.mini h3 {
  font-size:1.6rem;
  margin:8px 0
}

.mini p {
  color:#555;
  margin-bottom:15px
}

.beneficios {
  max-width:1250px;
  margin:25px auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  padding:0 20px
}

.beneficio {
  background:#fff;
  border:1px solid var(--borde);
  padding:18px;
  text-align:center
}

.beneficio strong {
  display:block;
  color:var(--guinda);
  font-size:1.05rem
}

.beneficio span {
  font-size:13px;
  color:#666
}

section {
  max-width:1250px;
  margin:auto;
  padding:45px 20px
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  border-bottom:3px solid var(--guinda);
  margin-bottom:22px;
  gap:15px
}

.section-head h2 {
  color:var(--guinda);
  font-size:1.9rem;
  text-transform:uppercase
}

.section-head p {
  color:#666;
  margin-bottom:8px
}

.categorias,.productos,.servicios {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px;
  align-items:start
}

.categoria,.producto,.servicio {
  border:1px solid var(--borde);
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.06)
}

.categoria img,.producto img {
  width:100%;
  height:190px;
  object-fit:cover;
  background:#eee
}

.categoria div,.producto div,.servicio {
  padding:18px
}

.categoria h3,.producto h3,.servicio h3 {
  color:var(--guinda);
  margin-bottom:8px
}

.producto .precio {
  color:#111;
  font-weight:bold;
  margin:10px 0
}

.producto .badge {
  display:inline-block;
  background:var(--dorado);
  color:#111;
  font-size:12px;
  font-weight:bold;
  padding:4px 7px;
  margin-bottom:9px
}

.empresa {
  background:var(--gris);
  max-width:none
}

.empresa-inner {
  max-width:1250px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  align-items:center;
  padding:0 20px
}

.empresa h2 {
  color:var(--guinda);
  font-size:2rem;
  margin-bottom:12px
}

.empresa ul {
  margin:18px 0 0 20px
}

.empresa li {
  margin-bottom:8px
}

.form-card {
  background:#fff;
  border-top:6px solid var(--guinda);
  padding:25px;
  box-shadow:0 4px 18px rgba(0,0,0,.12)
}

.form-card input,.form-card textarea {
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border:1px solid var(--borde)
}

.form-card textarea {
  height:100px;
  resize:none
}

.form-card button {
  width:100%;
  border:0;
  background:var(--guinda);
  color:#fff;
  padding:13px;
  font-weight:bold;
  cursor:pointer
}

.whatsapp-float {
  position:fixed;
  right:18px;
  bottom:18px;
  background:#25D366;
  color:#fff;
  padding:15px 20px;
  border-radius:50px;
  font-weight:bold;
  box-shadow:0 6px 18px rgba(0,0,0,.28);
  z-index:99
}

footer {
  background:#111;
  color:#ddd;
  margin-top:40px
}

.footer-inner {
  max-width:1250px;
  margin:auto;
  padding:32px 20px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:25px
}

footer h3 {
  color:#fff;
  margin-bottom:10px
}

footer p,footer a {
  font-size:14px;
  color:#ccc;
  display:block;
  margin-bottom:6px
}

.copy {
  text-align:center;
  border-top:1px solid #333;
  padding:15px;
  font-size:13px;
  color:#aaa
}

@media(max-width:900px) {
  .header-main {
  grid-template-columns:1fr
  }

  .callbox {
  text-align:left
  }

  .layout,.hero,.empresa-inner,.footer-inner {
  grid-template-columns:1fr
  }

  .beneficios {
  grid-template-columns:1fr 1fr
  }

  .banner h2 {
  font-size:2.1rem
  }

  .nav-inner {
  display:block
  }

  .nav-cta {
  display:inline-block;
    margin:10px 0
  }

  .sidebar {
  display:none
  }
}

@media(max-width:560px) {
  .topbar {
  padding:8px 16px
  }

  .beneficios {
  grid-template-columns:1fr
  }

  .banner {
  padding:28px 20px
  }

  .header-main {
  padding:15px
  }

  .nav-links {
  display:block
  }

  .nav-links > .nav-item > a {
  display:block;
    border-bottom:1px solid rgba(255,255,255,.15)
  }

  .dropdown {
  position:static;
    box-shadow:none;
    border-top:0;
    min-width:100%
  }

  .nav-item:hover .dropdown {
  display:block
  }
}

.product-section {
  display:none;
}

.product-section.activa {
  display:block;
}

.btn-tipos {
  border:0;
  cursor:pointer;
  display:inline-block;
}

.tipos-material {
  display:none;
  margin-top:12px;
  padding:12px !important;
  background:#fafafa;
  border:1px solid var(--borde);
  border-left:4px solid var(--dorado);
}

.tipos-material.abierto {
  display:block;
}

.tipos-material h4 {
  color:var(--guinda);
  margin-bottom:8px;
}

.tipos-material ul {
  padding-left:18px;
  margin-bottom:10px;
}

.tipos-material li {
  margin-bottom:7px;
}

.tipos-material li img {
  display:block;
  width:100%;
  max-width:180px;
  height:120px;
  object-fit:cover;
  margin-top:6px;
  border:1px solid var(--borde);
  background:#eee;
}

.link-whatsapp {
  color:var(--guinda);
  font-weight:bold;
}

body{
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body{
    background-image:
        linear-gradient(rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.72)),
        url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1600&auto=format&fit=crop') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    color: #111;
}

section,
.container,
.hero,
.materiales,
.catalogo,
.productos,
.products,
#catalogo,
#materiales{
    position: relative;
}

.card,
.product-card,
.material-card,
.service-card,
.info-card,
.feature,
.features > div,
.benefit,
.benefits > div,
.categoria-card,
.category-card,
section .box{
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 14px 35px rgba(0,0,0,0.22) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.hero,
.banner,
.cta,
.intro,
section[id],
.main-section{
    background-color: rgba(255,255,255,0.08);
}

h1, h2, .section-title{
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.card h1, .card h2, .card h3,
.product-card h1, .product-card h2, .product-card h3,
.material-card h1, .material-card h2, .material-card h3,
.categoria-card h1, .categoria-card h2, .categoria-card h3,
.category-card h1, .category-card h2, .category-card h3{
    text-shadow: none !important;
}

section > p,
.section-subtitle,
.subtitle{
    color: rgba(255,255,255,0.88) !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.45);
}

.card p,
.product-card p,
.material-card p,
.categoria-card p,
.category-card p,
.info-card p,
.feature p,
.benefit p{
    color: #333 !important;
    text-shadow: none !important;
}

.features,
.benefits,
.stats,
.info-row{
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.20) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

main,
.content-wrapper,
.page-wrapper{
    background: rgba(255,255,255,0.03);
}

.card img,
.product-card img,
.material-card img,
.categoria-card img,
.category-card img{
    display: block;
    width: 100%;
    object-fit: cover;
}

.dropdown,
.dropdown-menu{
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 12px 25px rgba(0,0,0,0.18) !important;
}

button,
.btn,
a.btn,
.ver-tipos-btn,
.whatsapp-btn{
    box-shadow: 0 6px 15px rgba(0,0,0,0.22);
}

.tipos-material,
.material-types,
.types-panel{
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.16) !important;
    border-radius: 8px !important;
}

body p,
body li,
body span:not(h1):not(h2):not(h3):not(h4),
.section-subtitle,
.subtitle{
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8) !important;
}

h1,h2,h3,h4,h5,
.section-title,
.card-title{
    color: #8b0d3a !important;
}

.card p,
.service-card p,
.product-card p,
.material-card p,
.services div p,
.servicios div p{
    color: #222 !important;
    text-shadow: none !important;
}

.services,
.servicios,
.services-grid,
.servicios-grid{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
}

.services > div,
.servicios > div,
.services-grid > div,
.servicios-grid > div,
.service-card{
    background: rgba(255,255,255,0.96) !important;
    min-height: 220px !important;
    height: 220px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 22px !important;
    box-sizing: border-box !important;
}

@media(max-width:1100px){
    .services,
    .servicios,
    .services-grid,
    .servicios-grid{
        grid-template-columns: repeat(2, minmax(250px, 1fr)) !important;
    }
}

@media(max-width:700px){
    .services,
    .servicios,
    .services-grid,
    .servicios-grid{
        grid-template-columns: 1fr !important;
    }
}

.card p,
.card li,
.service-card p,
.service-card li,
.product-card p,
.product-card li,
.material-card p,
.material-card li,
.services div p,
.services div li,
.servicios div p,
.servicios div li{
    color: #111 !important;
    text-shadow: none !important;
}

.servicio p,
.servicio li,
.categoria p,
.categoria li,
.material-card p,
.material-card li,
article p,
article li{
    color:#111111 !important;
    text-shadow:none !important;
}

.servicio h3,
.categoria h3,
article h3{
    color:#8b0d3a !important;
}

.servicios{
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:20px !important;
    align-items:stretch !important;
}

.servicio{
    background:rgba(255,255,255,0.96) !important;
    padding:22px !important;
    min-height:230px !important;
    height:230px !important;
    display:flex !important;
    flex-direction:column !important;
    box-sizing:border-box !important;
}

.categorias{
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:20px !important;
}

.categoria{
    min-height:320px !important;
    height:320px !important;
}

@media(max-width:1100px){
    .servicios,
    .categorias{
        grid-template-columns:repeat(2,1fr) !important;
    }
}

@media(max-width:700px){
    .servicios,
    .categorias{
        grid-template-columns:1fr !important;
    }
}

.categorias{
    display: grid !important;
    grid-template-columns: repeat(4, minmax(230px, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
}

.categoria{
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.96) !important;
}

.categoria > img{
    height: 190px !important;
    width: 100% !important;
    object-fit: cover !important;
    flex: 0 0 auto !important;
}

.categoria > div{
    background: rgba(255,255,255,0.96) !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

.categoria p,
.categoria li,
.servicio p,
.servicio li,
.producto p,
.producto li,
.form-card p,
.form-card li,
.beneficio span{
    color: #111 !important;
    text-shadow: none !important;
}

.categoria h3,
.servicio h3,
.producto h3,
.form-card h3{
    color: #8b0d3a !important;
    text-shadow: none !important;
}

.categoria .btn,
.ver-productos,
.btn-tipos{
    color: #ffffff !important;
    text-shadow: none !important;
    position: relative !important;
    z-index: 5 !important;
    cursor: pointer !important;
    margin-top: auto !important;
    width: fit-content !important;
}

.product-section{
    display: none !important;
}

.product-section.activa{
    display: block !important;
}

.productos{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
    align-items: start !important;
}

.producto{
    align-self: start !important;
    height: auto !important;
}

.tipos-material{
    display: none !important;
}

.tipos-material.abierto{
    display: block !important;
}

.servicios{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(230px, 1fr)) !important;
    gap:20px !important;
    align-items:stretch !important;
}

.servicio{
    height:auto !important;
    min-height:210px !important;
    background:rgba(255,255,255,0.96) !important;
    padding:22px !important;
    box-sizing:border-box !important;
}

section > .section-head p,
.empresa p,
.empresa li{
    color:#ffffff !important;
    text-shadow:0 1px 6px rgba(0,0,0,.8) !important;
}

@media(max-width:1100px){
    .categorias,
    .servicios{
        grid-template-columns:repeat(2, minmax(230px, 1fr)) !important;
    }
}
@media(max-width:700px){
    .categorias,
    .servicios{
        grid-template-columns:1fr !important;
    }
}

html { scroll-behavior: smooth; }
body {
  background-image:
    linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.68)),
    url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1600&auto=format&fit=crop') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

.topbar,
.header-main,
.sidebar,
.beneficios,
.beneficio,
.categoria,
.categoria > div,
.producto,
.producto > div,
.servicio,
.form-card,
.dropdown,
.dropdown-menu,
.info-card,
.card,
section .box,
.tipos-material {
  color: #111 !important;
  text-shadow: none !important;
}

.topbar *,
.header-main *,
.sidebar *,
.beneficios *,
.beneficio *,
.categoria *,
.producto *,
.servicio *,
.form-card *,
.dropdown *,
.dropdown-menu *,
.info-card *,
.card *,
section .box *,
.tipos-material * {
  color: #111 !important;
  text-shadow: none !important;
}

.categoria h1, .categoria h2, .categoria h3, .categoria h4,
.producto h1, .producto h2, .producto h3, .producto h4,
.servicio h1, .servicio h2, .servicio h3, .servicio h4,
.form-card h1, .form-card h2, .form-card h3, .form-card h4,
.card h1, .card h2, .card h3, .card h4,
.info-card h1, .info-card h2, .info-card h3, .info-card h4 {
  color: #8b0d3a !important;
  text-shadow: none !important;
}

main > p,
section > p,
.section-head p,
.empresa p,
.empresa li,
.hero p,
.banner p,
.section-subtitle,
.subtitle {
  color: #fff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,.75) !important;
}

section h2,
.empresa h2,
.section-head h2,
.banner h2 {
  color: #8b0d3a !important;
  text-shadow: 0 1px 5px rgba(0,0,0,.45) !important;
}

.btn,
button,
input[type="button"],
input[type="submit"],
.nav-cta,
.whatsapp-float,
.btn-tipos,
.ver-productos,
a.btn,
.link-whatsapp.btn {
  background: #8b0d3a !important;
  color: #ffffff !important;
  text-shadow: none !important;
  border: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 3px !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.20) !important;
  position: relative !important;
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
  white-space: normal !important;
}

.btn *,
button *,
.nav-cta *,
.whatsapp-float *,
.btn-tipos *,
.ver-productos * {
  color: #ffffff !important;
  text-shadow: none !important;
}

.nav-cta {
  background: #ffffff !important;
  color: #8b0d3a !important;
}
.nav-cta * { color:#8b0d3a !important; }

.badge,
.producto .badge {
  background: #d99a23 !important;
  color: #111 !important;
  text-shadow: none !important;
  display: inline-block !important;
}

.categorias {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(230px, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.categoria {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
}

.categoria img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover !important;
  flex: 0 0 auto !important;
}

.categoria > div {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  background: rgba(255,255,255,.98) !important;
}

.categoria ul {
  margin: 0 0 14px 18px !important;
  padding: 0 !important;
}

.categoria li {
  margin-bottom: 4px !important;
  line-height: 1.35 !important;
}

.categoria .btn,
.categoria .ver-productos {
  margin-top: auto !important;
  width: fit-content !important;
}

.product-section {
  display: none !important;
  margin-top: 28px !important;
  padding-top: 10px !important;
}
.product-section.activa {
  display: block !important;
}

.productos {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)) !important;
  gap: 20px !important;
  align-items: start !important;
}

.producto {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
}

.producto img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover !important;
}

.producto > div {
  padding: 20px !important;
  background: rgba(255,255,255,.98) !important;
}

.producto p,
.producto li,
.producto .precio {
  color: #111 !important;
  text-shadow: none !important;
}

.producto .precio {
  font-weight: 700 !important;
}

.tipos-material {
  display: none !important;
  background: #ffffff !important;
  border: 1px solid #ddd !important;
  border-left: 4px solid #d99a23 !important;
  border-radius: 8px !important;
  margin-top: 12px !important;
  padding: 14px !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12) !important;
}

.tipos-material.abierto {
  display: block !important;
}

.tipos-material h4 {
  color: #8b0d3a !important;
}

.tipos-material li,
.tipos-material span,
.tipos-material p {
  color: #111 !important;
  text-shadow: none !important;
}

.tipos-material img {
  max-width: 170px !important;
  height: 120px !important;
  object-fit: cover !important;
  display: block !important;
  margin-top: 6px !important;
}

.tipos-material .link-whatsapp,
.link-whatsapp {
  color: #8b0d3a !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}

.servicios {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(230px, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.servicio {
  background: rgba(255,255,255,.96) !important;
  min-height: 210px !important;
  height: auto !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
}

.form-card {
  background: rgba(255,255,255,.98) !important;
}
.form-card p,
.form-card label {
  color: #111 !important;
  text-shadow: none !important;
}
.form-card input,
.form-card textarea {
  color: #111 !important;
  background: #fff !important;
  text-shadow: none !important;
}

.sidebar a,
.sidebar .side-title {
  color: #111 !important;
  text-shadow: none !important;
}

.hero-card,
.hero-side,
.banner + div,
.hero .card {
  background: rgba(255,255,255,.96) !important;
}
.hero-card *,
.hero-side *,
.banner + div *,
.hero .card * {
  color: #111 !important;
  text-shadow: none !important;
}
.hero-card h1, .hero-card h2, .hero-card h3,
.hero-side h1, .hero-side h2, .hero-side h3 {
  color:#8b0d3a !important;
}

.banner {
  background: rgba(139,13,58,.92) !important;
}
.banner *,
.banner p {
  color: #ffffff !important;
  text-shadow: none !important;
}
.banner h1,
.banner h2,
.banner h3 {
  color: #ffffff !important;
  text-shadow: none !important;
}
.banner .tag {
  color: #d99a23 !important;
}

.beneficio strong {
  color:#8b0d3a !important;
}
.beneficio span {
  color:#111 !important;
}

@media (max-width: 1200px) {
  .categorias,
  .servicios {
    grid-template-columns: repeat(2, minmax(230px, 1fr)) !important;
  }
}
@media (max-width: 720px) {
  .categorias,
  .servicios,
  .productos {
    grid-template-columns: 1fr !important;
  }
  .categoria img,
  .producto img {
    height: 170px !important;
  }
}

.sidebar{
  background: rgba(255,255,255,.98) !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 35px rgba(0,0,0,.24) !important;
  padding: 0 !important;
}

.sidebar .side-title{
  background: #8b0d3a !important;
  color: #ffffff !important;
  padding: 16px 20px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .4px !important;
  text-transform: uppercase !important;
  border: 0 !important;
}

.sidebar a{
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 15px 20px !important;
  background: #ffffff !important;
  color: #111111 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  border-left: 4px solid transparent !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: all .18s ease !important;
}

.sidebar a:hover{
  background: #f7eef2 !important;
  color: #8b0d3a !important;
  border-left-color: #8b0d3a !important;
  padding-left: 24px !important;
}

.sidebar a:last-child{
  border-bottom: 0 !important;
}

.sidebar a.ver-productos{
  min-height: auto !important;
  justify-content: flex-start !important;
}

.hero .btn,
.info-card .btn,
.cta .btn,
.banner .btn,
a.btn{
    background: #8b0d3a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: .3px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.18) !important;
    transition: all .2s ease !important;
}

.hero .btn *,
.info-card .btn *,
.cta .btn *,
.banner .btn *,
a.btn *{
    color: #ffffff !important;
    text-shadow: none !important;
}

.hero .btn:hover,
.info-card .btn:hover,
.cta .btn:hover,
.banner .btn:hover,
a.btn:hover{
    background: #6f0a2f !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,.22) !important;
}

.logo-img{
    display:flex !important;
    align-items:center !important;
}

.logo-img img{
    width: 320px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display:block !important;
}

.header-main{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:40px !important;
    padding: 18px 20px !important;
}

@media(max-width:900px){
    .header-main{
        flex-direction:column !important;
        text-align:center !important;
    }

    .logo-img img{
        width:260px !important;
    }
}

.header-main{
    background: rgba(255,255,255,.97) !important;
    min-height: 110px !important;
    padding: 10px 35px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:25px !important;
}

.logo-img{
    display:flex !important;
    align-items:center !important;
    flex:0 0 auto !important;
}

.logo-img img{
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display:block !important;
}

.callbox{
    text-align:right !important;
    font-size:15px !important;
    line-height:1.35 !important;
    color:#111 !important;
    flex:0 0 auto !important;
}

.callbox strong,
.callbox b{
    color:#8b0d3a !important;
}

.callbox small{
    display:block !important;
    color:#666 !important;
    font-size:13px !important;
    margin-top:2px !important;
}

nav{
    min-height:54px !important;
}

.nav-inner{
    max-width:1250px !important;
    margin:auto !important;
    padding:0 20px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
}

.nav-links{
    display:flex !important;
    align-items:center !important;
    gap:30px !important;
}

.nav-links a{
    font-size:15px !important;
    font-weight:700 !important;
}

.nav-cta{
    padding:10px 22px !important;
    font-size:15px !important;
    border-radius:4px !important;
}

@media(max-width:900px){

    .header-main{
        flex-direction:column !important;
        justify-content:center !important;
        text-align:center !important;
        padding:18px 20px !important;
    }

    .logo-img img{
        width:220px !important;
    }

    .callbox{
        text-align:center !important;
    }

    .nav-inner{
        flex-direction:column !important;
        gap:10px !important;
        padding:10px 20px !important;
    }
}

/* Corrección menú desplegable PRODUCTOS */
.nav-item .dropdown{
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 245px !important;
  width: max-content !important;
  max-width: 280px !important;
  background: #8b0d3a !important;
  border-top: 4px solid #d99a23 !important;
  box-shadow: 0 12px 25px rgba(0,0,0,.22) !important;
  z-index: 9999 !important;
  padding: 0 !important;
  border-radius: 0 0 3px 3px !important;
}

.nav-item:hover > .dropdown{
  display: block !important;
}

.nav-item .dropdown a,
.nav-item .dropdown a.ver-productos{
  display: block !important;
  width: 100% !important;
  min-height: auto !important;
  box-sizing: border-box !important;
  padding: 13px 18px !important;
  background: #8b0d3a !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: none !important;
  justify-content: flex-start !important;
}

.nav-item .dropdown a:hover,
.nav-item .dropdown a.ver-productos:hover{
  background: #6f0a2f !important;
  color: #ffffff !important;
}

@media(max-width:900px){
  .nav-item .dropdown{
    position: static !important;
    width: 100% !important;
    max-width: none !important;
  }
  .nav-item .dropdown a,
  .nav-item .dropdown a.ver-productos{
    white-space: normal !important;
  }
}


.mini-banners{
    display:none !important;
}

.hero{
    width:100% !important;
}

.banner{
    width:100% !important;
    max-width:100% !important;
}

.banner h2{
    font-size:4.2rem !important;
    max-width:850px;
}

.banner p{
    font-size:1.2rem !important;
    max-width:760px;
}

.cards .btn,
.card .btn{
    display:inline-block !important;
    width:100%;
    text-align:center;
    margin-top:18px;
}


.categoria > div{
  display:flex;
  flex-direction:column;
  height:100%;
}

.categoria .ver-material{
  width:100%;
  margin-top:auto;
  padding:14px 18px;
  text-align:center;
  box-sizing:border-box;
}

.categoria{
  display:flex;
  flex-direction:column;
}

.categoria ul{
  margin-bottom:22px;
}


.ver-material{
  cursor:pointer;
}

.product-section.activa{
  display:block !important;
}
