:root {
  --primary: #e0053f;
  --light: #f3f3f3;
  --dark: #333;
  --slider-height: 140px;
  --card-slider-height: 220px;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #555;
}

a {
  text-decoration: none;
}

/* TOPBAR */

/* HEADER */

#siteHeader {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* TOPBAR */

.topbar {
  background: #e0053f;
  padding: 8px 0;
  transition: all 0.35s ease;
}

.topbar-content {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
}

.topbar-content a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.topbar-content i {
  margin-right: 8px;
}

/* NAVBAR */

.navbar {
  background: #ffffff;
  min-height: 80px;
  transition: all 0.35s ease;
  border-top: 4px solid #e0053f;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-main {
  height: 70px;
  max-height: 70px;
  width: auto;
  transition: transform 0.35s ease;
}

.navbar-nav {
  gap: 25px;
}

.navbar .nav-link {
  color: #6c757d !important;
  font-size: 16px;
  font-weight: 700;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #e30613 !important;
}

.navbar-light .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* DROPDOWN */

.dropdown-menu {
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
  padding: 12px 18px;
}

.dropdown-item:hover {
  background: #f3f3f3;
}

/* DESKTOP HOVER */

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* SCROLL */

.header-scrolled .logo-main {
  transform: scale(0.72);
}

.header-scrolled .navbar {
  min-height: 75px;
}

/* SLIDER */

.carousel-inner,
.hero {
  width: 100%;
}

.hero-image {
  width: 100%;
  height: var(--slider-height);
  object-fit: cover;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* BENEFICIOS */

.benefits {
  background: #f3f3f3;
  padding: 15px 0;
}

.benefits img {
  width: 180px;
  max-width: 100%;
  height: auto;
}
.benefits img:hover {
  transform: scale(1.05);
}

/* SERVICIOS */

.services-section {
  background: #ffffff;
  padding: 70px 0;
}
.service-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
}

.service-icon {
  width: 95px;
  flex-shrink: 0;
}

.service-card h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.8rem;
}

.service-card p,
.service-card li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.service-card ul {
  padding-left: 20px;
  margin: 0;
}

.service-card li {
  margin-bottom: 8px;
}

/* MARCAS */
.brands {
  background: #f3f3f3;
  padding: 50px 0;
}
.page-bombas .brands,
.page-calefaccion .brands {
  background: #ffffff;
}
.brand-logo {
  max-height: 55px;
  filter: grayscale(0%);
  transition: 0.3s;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.booster-card .card-title {
  text-transform: uppercase;
  font-weight: 700;
}

/* MAPA */

.map-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

/* CONTACTO */

.contact-section {
  background: #ffffff;
  padding: 70px 0;
}
.contact-title {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  color: var(--primary);
  font-size: 1.4rem;
}

.form-control {
  border-radius: 0;
  padding: 12px;
}

.btn-danger {
  background: var(--primary);
  border: none;
  border-radius: 0;
  padding: 12px 25px;
}

/* FOOTER */

.footer {
  background: #333;
  color: white;
  padding: 25px 0;
}

/* SLIDER_Booster */
.iso-section {
  padding: 3rem 0;
}

.iso-slider-wrap {
  position: relative;
  height: var(--slider-height);
  overflow: hidden;
  border-radius: 3px;
  background: #eee;
}

.iso-slider-wrap .carousel,
.iso-slider-wrap .carousel-inner,
.iso-slider-wrap .carousel-item {
  height: 100%;
}

.iso-slider-wrap .carousel-item img {
  width: 100%;
  height: var(--slider-height);
  object-fit: cover;
  display: block;
}

.slider-outer {
  position: relative;
}

.iso-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition:
    background 0.15s,
    transform 0.12s;
}

.iso-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.02);
}

.iso-arrow-prev {
  left: 8px;
}
.iso-arrow-next {
  right: 8px;
}

.section-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1rem;
  margin-top: 0;
}

.section-body {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  text-align: left;
  margin: 0;
}

.iso-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 3rem 0;
}

/* Make slider and text columns match height inside iso-section */
.iso-section .row {
  align-items: stretch;
}

.iso-section .col-md-6,
.iso-section .col-md-7,
.iso-section .col-md-5 {
  display: flex;
  flex-direction: column;
}

.iso-section .section-body {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
}

/* unify card and section title color */
.booster-card .card-title {
  /* adopt iso-section title style */
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1rem;
  margin-top: 0;
}
.booster-card .card-slider-wrap {
  position: relative;
  height: var(--card-slider-height);
  overflow: hidden;
  border-radius: 3px;
  background: #eee;
  margin-bottom: 0.75rem;
}

.booster-card .card-slider-wrap .carousel,
.booster-card .card-slider-wrap .carousel-inner,
.booster-card .card-slider-wrap .carousel-item {
  height: 100%;
}

.booster-card .card-slider-wrap .carousel-item img {
  width: 100%;
  height: var(--card-slider-height);
  object-fit: cover;
  display: block;
}

/* adopt iso-section paragraph style for card text */
.booster-card .card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin: 0;
}

.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.82);
  border: none;
  color: #333;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: background 0.15s;
}

.card-arrow:hover {
  background: #fff;
}
.card-arrow-prev {
  left: 6px;
}
.card-arrow-next {
  right: 6px;
}

/* Style bootstrap carousel controls inside booster cards to match main slider */
/* Cards: make controls minimal (no dark circle) */
.booster-card .carousel-control-prev,
.booster-card .carousel-control-next {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: none;
  border: none;
  padding: 6px;
}

.booster-card .carousel-control-prev {
  left: 8px;
}
.booster-card .carousel-control-next {
  right: 8px;
}

.booster-card .carousel-control-prev-icon,
.booster-card .carousel-control-next-icon {
  background-image: none;
  width: auto;
  height: auto;
  display: inline-block;
}
.booster-card .carousel-control-prev-icon i,
.booster-card .carousel-control-next-icon i {
  font-size: 18px;
  color: #333;
}

/* Style carousel controls inside iso sliders to match main slider */
/* Iso sliders: minimal controls (no dark circle) to match cards */
.iso-slider-wrap .carousel-control-prev,
.iso-slider-wrap .carousel-control-next {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: none;
  border: none;
  padding: 6px;
}

.iso-slider-wrap .carousel-control-prev {
  left: 8px;
}
.iso-slider-wrap .carousel-control-next {
  right: 8px;
}

.iso-slider-wrap .carousel-control-prev-icon,
.iso-slider-wrap .carousel-control-next-icon {
  background-image: none;
  width: auto;
  height: auto;
  display: inline-block;
}
.iso-slider-wrap .carousel-control-prev-icon i,
.iso-slider-wrap .carousel-control-next-icon i {
  font-size: 18px;
  color: #333;
}

/* ICONS GRID (under benefits) */
.page-bombas .icons-grid {
  background: #f3f3f3;
}
.page-calefaccion .icons-grid {
  background: #f3f3f3;
}
.icons-grid .feature-item {
  text-align: center;
}
.icons-grid .feature-icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.icons-grid .feature-icon-circle img,
.icons-grid .feature-icon-circle i {
  width: 54%;
  height: auto;
  color: #fff;
}
.icons-grid h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}
