/* ---- Hero CTAs y badge ---- */
.hero-aniv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(76, 184, 232, 0.15);
  border: 1px solid rgba(76, 184, 232, 0.4);
  color: #4cb8e8;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.6rem !important;
  font-weight: 500;
  color: rgba(29, 29, 27, 0.9);
}

.hero-cta-wrap {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hero-btn--primary {
  background: #4cb8e8;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(76, 184, 232, 0.35);
}

.hero-btn--primary:hover {
  background: #2da8d8;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(76, 184, 232, 0.5);
}

.hero-btn--outline {
  background: transparent;
  color: rgba(29, 29, 27, 0.85) !important;
  border: 2px solid rgba(29, 29, 27, 0.35);
}

.hero-btn--outline:hover {
  border-color: #4cb8e8;
  color: #4cb8e8 !important;
  transform: translateY(-2px);
}

/* ---- Solutions index cards ---- */
.sol-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.sol-index-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid transparent;
  border-radius: 14px;
  padding: 32px 28px 24px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.sol-index-card:hover {
  background: rgba(76, 184, 232, 0.1);
  border-bottom-color: #4cb8e8;
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.sol-index-icon {
  font-size: 1.8rem;
  color: #4cb8e8;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: left center;
}

.sol-index-card:hover .sol-index-icon {
  transform: scale(1.15);
}

.sol-index-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sol-index-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.sol-index-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(76, 184, 232, 0.35);
  color: #4cb8e8;
  font-size: 0.85rem;
  margin-top: 18px;
  align-self: flex-start;
  transition: all 0.25s ease;
}

.sol-index-card:hover .sol-index-arrow {
  background: #4cb8e8;
  color: #fff;
  border-color: #4cb8e8;
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .sol-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .sol-index-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Marcas ---- */
#marcas {
  padding: 60px 0;
}

#marcas .owl-item img {
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
  padding: 0 10px;
}

#marcas .owl-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---- Proyectos carousel ---- */
#projects .section-header h2,
#projects .section-header p {
  color: #fff;
}

#projects .owl-item .item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 10px 4px 20px;
}

#projects .owl-item h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

#projects .owl-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

#projects .owl-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

#projects .owl-item img {
  display: block;
  max-height: 150px;
  width: auto !important;
  object-fit: contain;
  margin: 0 auto 20px;
}

#projects .col-md-6.offset-md-3 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

/* ---- Clientes carousel ---- */
#customers .section-header h2 {
  color: var(--meditech-dark);
}

#customers .owl-item .item {
  background: #fff;
  border: 1px solid #e8f0f8;
  border-radius: 14px;
  padding: 24px 16px 20px;
  margin: 8px 4px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#customers .owl-item:hover .item {
  box-shadow: 0 8px 28px rgba(76, 184, 232, 0.15);
  transform: translateY(-3px);
}

#customers .owl-item img {
  display: block;
  max-height: 120px;
  width: auto !important;
  object-fit: contain;
  margin: 0 auto 14px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#customers .owl-item:hover img {
  opacity: 1;
}

#customers .owl-item h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--meditech-dark);
  text-align: center;
  margin-bottom: 4px;
}

#customers .owl-item p {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin: 0;
}

/* ---- Contacto ---- */
#contact {
  background: var(--meditech-light, #f5f8fc);
  padding: 70px 0;
}

#contact .section-header {
  margin-bottom: 48px;
}

/* Layout dos columnas */
#contact>.container {
  max-width: 1100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

/* Columna izquierda */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

/* Chips de contacto */
.contact-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8f0f8;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-chip:hover {
  box-shadow: 0 6px 20px rgba(76, 184, 232, 0.15);
  transform: translateY(-2px);
}

.contact-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(76, 184, 232, 0.1);
  color: #4cb8e8;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-chip-body {
  display: flex;
  flex-direction: column;
}

.contact-chip-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  margin-bottom: 2px;
}

.contact-chip-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--meditech-dark);
}

/* Mapa */
.contact-map {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 4px;
}

.contact-map {
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 100% !important;
  min-height: 180px;
  display: block;
  border: 0;
}

/* Columna derecha — formulario */
.contact-right {
  background: #fff;
  border: 1px solid #e8f0f8;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

#contact .php-email-form input,
#contact .php-email-form textarea {
  border: 1px solid #dde6ef;
  border-radius: 8px;
  background: #f9fbfd;
  font-size: 0.9rem;
  color: var(--meditech-dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
  border-color: #4cb8e8;
  box-shadow: 0 0 0 3px rgba(76, 184, 232, 0.12);
  outline: none;
  background: #fff;
}

#contact .php-email-form button[type="submit"],
#contact #submitBtn {
  background: #4cb8e8;
  border: none;
  padding: 12px 40px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(76, 184, 232, 0.3);
}

#contact .php-email-form button[type="submit"]:hover,
#contact #submitBtn:hover {
  background: #2da8d8;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(76, 184, 232, 0.45);
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

#hero h1 {
  font-size: 72px !important;
  font-weight: 800 !important;
  color: #1d1d1b !important;
}

#hero h1 span {
  color: #59b2e7 !important;
}

#hero h1::after {
  content: '' !important;
  display: block !important;
  width: 60px !important;
  height: 5px !important;
  background: #59b2e7 !important;
  border-radius: 3px !important;
  margin: 12px auto 0 !important;
}

@media (max-width: 991px) {
  #hero h1 {
    font-size: 44px !important;
  }

  .hero-sub {
    font-size: 1rem !important;
  }
}