/*=============================================
  ASERRADERO INV. CARVAJAL C.A — Custom CSS
  Paleta: #698736 | #8aaf47 | #fff | #f6f6f6 | #333
===============================================*/

/* ---- Reemplaza el naranja #fe7c00 por verde Carvajal ---- */
::-moz-selection { background: #698736; }
::selection { background: #698736; }

/* Header top bar */
.hd-sec { background: #698736 !important; }
.hd-rgt li a i:hover { color: #8aaf47 !important; }

/* Menú activo y hover */
.mnmenu-sec { border-bottom: 3px solid #698736 !important; }
.main-menu ul li.active a { background: #698736 !important; }
.main-menu ul li a:hover { color: #698736 !important; }
.main-menu ul li ul li a:hover { background: #698736 !important; color: #fff !important; }

/* Header: centrado vertical uniforme */
.mnmenu-sec .row { display: flex; align-items: center; min-height: 90px; }
.logo { padding: 0 !important; display: flex; align-items: center; }
.logo a { display: flex !important; align-items: center !important; gap: 14px !important; }
.menu { display: flex; align-items: center; justify-content: flex-end; height: 100%; }
.main-menu ul { line-height: normal !important; display: flex; align-items: center; }
.main-menu ul li a { font-size: 13px !important; padding: 8px 14px !important; }

/* Scroll up button */
#scrollUp { background: #698736 !important; }
#scrollUp:hover { background: #8aaf47 !important; }

/* Barra intro de contacto — íconos */
.info-icon { background: #698736 !important; }
.info-icon i { color: #fff; }
.info-text a:hover, .info-text span { color: #698736 !important; }
.info-text h5 { color: #698736 !important; }

/* Botones hero */
.slider-text li a { border: 2px solid #fff; }
.slider-text li:last-child a { background: #698736 !important; border-color: #698736 !important; }
.slider-text li:last-child a:hover { background: #8aaf47 !important; border-color: #8aaf47 !important; }
.slider-text li:first-child a:hover { background: #698736 !important; }

/* Botones About */
.about-button a { background: #698736 !important; color: #fff !important; }
.about-button a:last-child { background: #8aaf47 !important; }
.about-button a:hover { background: #333 !important; }

/* Título de secciones */
.sec-title h1 span { color: #698736 !important; }
.border-shape { background: #698736 !important; }

/* Servicios */
.service-icon { background: #698736 !important; }
.service-item .inner:hover .service-icon { background: #fff !important; }
.service-item .inner:hover .service-icon i { color: #698736 !important; }
.media-body h2 a:hover { color: #698736 !important; }
.btn.readmore { background: #698736 !important; color: #fff !important; }
.btn.readmore:hover { background: #8aaf47 !important; }

/* Contadores */
.count-up-sec { background-color: #333 !important; }

/* FAQ / Accordion */
.panel-heading { border-left: 4px solid #698736 !important; }
.panel-title a { color: #698736 !important; }
.panel-title a.collapsed { color: #333 !important; }
.panel-title a.collapsed:hover { color: #698736 !important; }

/* Galería hover */
.project-hoverlay { background: rgba(105, 135, 54, 0.85) !important; }

/* Testimonios */
.client-comment li a:hover { background: #698736 !important; border-color: #698736 !important; }
.client-info h3 { color: #698736 !important; }

/* Equipo */
.team-thumb .team-overlay { background: rgba(105, 135, 54, 0.9) !important; }
.team-member h2:hover { color: #698736 !important; }
.team-member { border-bottom: 4px solid #698736 !important; }

/* Blog */
.readmore { color: #698736 !important; }
.readmore:hover { color: #8aaf47 !important; }
.single-post-text li a i { color: #698736 !important; }

/* Footer */
.footer-sec { background: #222 !important; }
.footer-wedget-one i { background: #698736 !important; }
.footer-wedget-two li a:hover { color: #698736 !important; }
.footer-wedget-two h2::after,
.footer-wedget-one h2::after,
.footer-wedget-newsletter h2::after { border-bottom: 3px solid #698736; }
.footer-wedget-newsletter input[type="submit"] { background: #698736 !important; border: 1px solid #698736 !important; }
.footer-wedget-newsletter input[type="submit"]:hover { background: #8aaf47 !important; }
.footer-bottom-sec { background: #111 !important; }

/* Call to action (si aparece en otras páginas) */
.call-action-sec { background: #698736 !important; }

/* Sidebar */
.sidebar ul li a:hover { color: #698736 !important; }
.widget-tag li a:hover { background: #698736 !important; border-color: #698736 !important; }

/* ---- Page heading banner (páginas internas) ---- */
.pagehding-sec {
  background-image: url("../../fotos/modern-sawmill-industry-sawing-boards-from-logs.jpg") !important;
  background-position: center 40% !important;
  background-size: cover !important;
  padding: 70px 0 !important;
}
.pagehding-overlay { background-color: rgba(0, 0, 0, 0.60) !important; }
.page-heading h1 { font-size: 36px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 2px; }

/* ---- HERO: altura y overlay ---- */
.slider { min-height: 600px; }
.single-slide { min-height: 600px; background-size: cover; background-position: center center; }
.slider-overlay { background: rgba(0, 0, 0, 0.52); }

/* Texto hero más grande e impactante */
.slider-text h2 {
  font-size: 18px;
  color: #8aaf47;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.slider-text h1 {
  font-size: 52px;
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}
.slider-text p {
  font-size: 17px;
  color: #ddd;
  max-width: 600px;
}

/* ---- Barra de contacto ---- */
.intro-sec { background: #f8f8f8; border-bottom: 3px solid #698736; padding: 18px 0; }
.contact-intro { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 0; }
.info-intro { display: flex; align-items: center; gap: 10px; padding: 6px 12px; flex: 1; }
.info-intro:not(:last-child) { border-right: 1px solid #e0e0e0; }

@media (max-width: 767px) {
  .contact-intro { flex-wrap: wrap; }
  .info-intro { flex: 0 0 50%; border-right: none !important; border-bottom: 1px solid #e0e0e0; }
}
.info-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.info-text h5 { margin: 0; font-size: 11px; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.info-text a, .info-text span { font-size: 13px; font-weight: 700; color: #333; }

/* ---- PRODUCTOS — Cards estilo WordPress ---- */
.products-cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.product-cv-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-cv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.16);
}

.product-cv-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.product-cv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-cv-card:hover .product-cv-img img {
  transform: scale(1.06);
}

.product-cv-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #698736;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-cv-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cv-code {
  font-size: 0.72rem;
  color: #999;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-cv-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 10px;
}

.product-cv-desc {
  font-size: 0.87rem;
  color: #777;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.product-cv-specs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-cv-spec {
  background: #f6f6f6;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #333;
}

.product-cv-footer {
  padding: 14px 22px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  gap: 10px;
}

.product-cv-btn {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s;
  display: block;
}

.product-cv-btn-outline {
  border: 2px solid #698736;
  color: #698736;
  background: transparent;
}

.product-cv-btn-outline:hover {
  background: #698736;
  color: #fff !important;
}

.product-cv-btn-primary {
  background: #698736;
  color: #fff !important;
  border: 2px solid #698736;
}

.product-cv-btn-primary:hover {
  background: #8aaf47;
  border-color: #8aaf47;
}

.product-cv-cta {
  background: #698736 !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
}

.product-cv-btn-white {
  background: #fff;
  color: #698736 !important;
  border: 2px solid #fff;
  display: inline-block;
  flex: none;
  padding: 12px 28px;
}

.product-cv-btn-white:hover {
  background: transparent;
  color: #fff !important;
}

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

/* ---- Logo text override (si no hay imagen de logo) ---- */
.logo-text {
  font-family: 'Fjalla One', 'Source Sans Pro', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #698736;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo-text span { display: none; }

/* ---- Contadores: fondo real ---- */
.count-up-sec {
  background-image: url("../../fotos/sawmill-warehouse-sawing-boards-sawmill-outdoors-wood-timber-stack-wooden-blanks-constru.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* ---- Testimonios: fondo real + avatares de iniciales ---- */
.testimonial-sec {
  background-image: url("../../fotos/stacks-boards-timber-mill-warehouse-outdoor-nobody-lumber-industry-carpentry-wood-processing-factory-forest-sawing-lumberyard-sawmill.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
}
.client-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #698736;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  letter-spacing: 1px;
  border: 3px solid #8aaf47;
}
