/* ADT card corner + icon styles copied/trimmed from canonical estilos_extras.css */

/* Service / feature cards */
.serv-card,
.card,
.proteccion .card,
.cards-mobile .card,
.feature-card,
.pack-card,
.detail-item,
.icon-box {
  border-radius: 25px !important;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25) !important;
  overflow: hidden !important;
}

/* Use ADT primary font in all card elements */
.feature-card h3,
.feature-card p,
.pack-card h3,
.pack-card p,
.pack-card .pack-label,
.detail-item h3,
.detail-item p,
.serv-card h3,
.serv-card p,
.card h3,
.card p,
.icon-box,
.detail-icon {
  font-family: "Roboto Condensed", sans-serif !important;
}

/* Card typography: heading (first), body (second), label/link (third) */
/* First text: headings */
.feature-card h3,
.pack-card h3,
.detail-item h3,
.serv-card h3,
.card h3 {
  color: #000 !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  line-height: 20px !important;
}

/* Second text: paragraph / descriptive text */
.feature-card p,
.pack-card p,
.detail-item p,
.serv-card p,
.card p,
.pack-card .pack-list li span,
.detail-text p {
  color: #000 !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 22px !important;
}

/* Third text: labels, small links or emphasized line */
.feature-card .feature-link,
.pack-card .pack-label,
.pack-card .smart-arming,
.detail-item .detail-text a,
.detail-item .detail-text .muted-link {
  color: #245FA4 !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 20px !important;
}

/* Make top image area have rounded top corners when present */
.serv-card .serv-photo,
.card .card-media,
.pack-card .pack-image img,
.details-image img {
  border-radius: 25px 25px 0 0 !important;
  display: block;
}

/* Badge / footer rounding */
.serv-card .content,
.card .content,
.pack-card .pack-content,
.detail-item .detail-text {
  border-radius: 0 0 25px 25px !important;
}

/* Icon styles: use ADT circular icon look */
.serv-icon,
.card-icon,
.card-svg-icon {
  width: 72px !important;
  height: 72px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25) !important;
  overflow: hidden !important;
}

.serv-icon img,
.card-icon img,
.card-svg-icon img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
}

/* Ensure example icon containers use ADT sizing */
.icon-box img,
.detail-icon img,
.pack-icon-row img,
.pack-icon-row img[alt="Icon"] {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
}

/* Remove circular background and shadow from icons (use transparent background) */
.icon-box,
.detail-icon {
  width: 72px !important;
  height: 72px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.icon-box img,
.detail-icon img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
}

/* Full-bleed titulo2 (use ADT image as background spanning full viewport width) */
.titulo2 {
  position: relative;
  /* break out of any centered container and span the viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  box-sizing: border-box;
  text-align: center;
  background: url("../img/titulo1-2.png") no-repeat center/cover;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1rem;
  overflow: hidden;
}

.titulo2 p {
  position: relative;
  color: white;
  font-size: 65px !important;
  font-weight: bold !important;
  text-align: center;
  margin: 0 0 0.25rem 0 !important;
  line-height: 1 !important;
  z-index: 5;
}

.titulo2 span {
  position: relative;
  color: white;
  font-size: 35px !important;
  font-weight: bold !important;
  text-align: center;
  margin: 0 !important;
  line-height: 1.1 !important;
  z-index: 5;
}

/* Separation between the full-bleed title and the packs grid */
.titulo2 + .packs-grid,
.titulo2 + .packs-grid.grid-cols-3,
.titulo2 + .packs-grid.grid-cols-2 {
  margin-top: 3rem !important; /* desktop spacing */
}

@media (max-width: 768px) {
  .titulo2 + .packs-grid,
  .titulo2 + .packs-grid.grid-cols-3,
  .titulo2 + .packs-grid.grid-cols-2 {
    margin-top: 1.25rem !important; /* reduced spacing on mobile */
  }
}

@media (max-width: 768px) {
  .titulo2 p { font-size: 22px !important; }
  .titulo2 span { font-size: 14px !important; }
}

/* Pack icon rows: remove circular padding/background */
.pack-icon-row img {
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-block !important;
  object-fit: contain !important;
}

/* Smaller rounded variant used on mobile */
@media (max-width: 768px) {
  .serv-card,
  .card,
  .cards-mobile .card {
    border-radius: 12px !important;
      box-shadow: 0px 4px 4px rgba(0,0,0,0.25) !important;
  }
  .serv-icon,
  .card-icon { width:56px; height:56px; }
  .serv-icon img,
  .card-icon img { width:36px; height:36px; }
}

/* Make the packs grid area have a white background so it reads on top of the full-bleed title */
.packs-grid,
.packs-grid.grid-cols-3,
.packs-grid.grid-cols-2 {
  background: #ffffff !important;
  padding: 2rem 1rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .packs-grid,
  .packs-grid.grid-cols-3,
  .packs-grid.grid-cols-2 {
    padding: 1rem 0.75rem !important;
  }
}

/* Center pack icons and ensure consistent sizing inside the packs area (desktop + mobile) */
.packs-container .pack-icon-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

.packs-container .pack-icon-row .serv-icon {
  display: block !important;
  margin: 0 auto !important;
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .packs-container .pack-icon-row .serv-icon { width:56px !important; height:56px !important; }
}

/* Ensure the whole #packs section is white */
#packs {
  background-color: #ffffff !important;
}

/* Smart Arming style specific for packs (ADT canonical) */
.packs-container .pack-card .smart-arming,
.packs-container .smart-arming {
  color: #44A0E3 !important;
  font-weight: 700 !important;
  font-size: 25px !important;
  align-self: center !important;
  text-align: center !important;
  margin-top: auto !important;
}

/* Ensure this overrides the generic "third text" rule that applies italic blue */
.packs-container .pack-card .smart-arming,
.packs-container .smart-arming {
  font-family: "Roboto Condensed", sans-serif !important;
  font-style: normal !important;
  line-height: 1 !important;
}

/* Strong override scoped to #packs to beat other rules with same specificity */
#packs .packs-container .pack-card .smart-arming,
#packs .packs-container .smart-arming {
  color: #44A0E3 !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 25px !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Badge shown on the top-left corner of each pack */
.pack-card { position: relative !important; }
.pack-card .serv-badge {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: #245FA4 !important;
  color: #ffffff !important;
  padding: 6px 10px !important;
  border-radius: 12px !important;
  font-family: "Roboto Condensed", sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  z-index: 30 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

@media (max-width: 768px) {
  .pack-card .serv-badge { top: 8px !important; left: 8px !important; font-size: 11px !important; padding: 5px 8px !important; }
}

/* Make the inner pack content area a light gray background */
.pack-card .pack-content {
  background-color: #f5f5f5 !important;
}
