/* WEB-013 — capa final de jerarquía y ritmo visual. */
html body .sc-home-solutions__grid { align-items:start !important; }
html body .sc-home-solutions__grid > .sc-home-solution {
  height:auto !important;
  min-height:0 !important;
  padding:44px 42px 40px !important;
}
.sc-home-solution .sc-home-service-card__icon { width:60px !important; max-width:60px !important; margin:0 auto 26px !important; }
.sc-home-solution .sc-home-service-card__icon .elementor-icon { width:60px !important; height:60px !important; font-size:26px !important; }
.sc-home-solution .sc-home-service-card__icon svg { width:26px !important; height:26px !important; }
.sc-home-solution .elementor-widget-heading { width:100% !important; max-width:100% !important; margin:0 auto 20px !important; }
.sc-home-solution .elementor-heading-title,
.sc-home-solutions__grid > .sc-home-solution:nth-child(2) .elementor-heading-title { font-size:34px !important; line-height:1.15 !important; font-weight:700 !important; }
.sc-home-solution .elementor-widget-text-editor { width:100% !important; max-width:560px !important; margin:0 auto !important; }
.sc-home-solution .elementor-widget-text-editor,
.sc-home-solution .elementor-widget-text-editor p { color:#6b7280 !important; font-size:18px !important; line-height:1.55 !important; }
.sc-home-solution .sc-home-service-card__arrow { margin:32px auto -20px !important; margin-top:32px !important; }

.sc-premium-footer { padding-top:64px !important; }
.sc-footer-main-grid { gap:38px !important; padding-bottom:56px !important; }
.sc-footer-column { gap:14px !important; }
.sc-footer-contact-list .elementor-icon-list-items { gap:14px !important; }
.sc-footer-contact-list .elementor-icon-list-item,
.sc-footer-contact-list .elementor-icon-list-item a { min-height:30px !important; }
.sc-footer-contact-list .elementor-icon-list-text { color:#fff !important; white-space:nowrap; }
.sc-footer-contact-list .elementor-icon-list-icon { color:#c7a655 !important; }

.sc-floating-whatsapp .e-contact-buttons__top-bar { min-height:0 !important; padding:9px 13px !important; }
.sc-floating-whatsapp .e-contact-buttons__profile-image { width:34px !important; height:34px !important; }
.sc-floating-whatsapp .e-contact-buttons__top-bar-title { font-size:14px !important; }
.sc-floating-whatsapp .e-contact-buttons__top-bar-subtitle { font-size:11px !important; }

@media (min-width:768px) and (max-width:1024px) {
  html body .sc-home-solutions__grid > .sc-home-solution { padding:40px 34px 36px !important; }
  .sc-home-solution .elementor-heading-title,
  .sc-home-solutions__grid > .sc-home-solution:nth-child(2) .elementor-heading-title { font-size:29px !important; }
  .sc-footer-main-grid { gap:38px 44px !important; padding-bottom:44px !important; }
}

@media (max-width:767px) {
  html body .sc-home-solutions__grid > .sc-home-solution { padding:34px 26px 30px !important; }
  .sc-home-solution .elementor-heading-title,
  .sc-home-solutions__grid > .sc-home-solution:nth-child(2) .elementor-heading-title { font-size:25px !important; }
  .sc-home-solution .sc-home-service-card__arrow { margin:26px auto -10px !important; margin-top:26px !important; }
  .sc-footer-main-grid { gap:32px !important; padding-bottom:32px !important; }
  .sc-footer-contact-list .elementor-icon-list-text { white-space:normal; }
}

/* Corrección final — popup WhatsApp y Footer global. */
.sc-floating-whatsapp .e-contact-buttons { right:0 !important; bottom:20px !important; }
.sc-floating-whatsapp .e-contact-buttons__content-wrapper {
  width:380px !important;
  max-width:calc(100vw - 44px) !important;
  margin-right:22px !important;
  margin-bottom:-10px !important;
}
.sc-floating-whatsapp .e-contact-buttons__top-bar {
  min-height:78px !important;
  padding:10px 46px 10px 19px !important;
  gap:14px !important;
  background:#0b5e55 !important;
}
.sc-floating-whatsapp .e-contact-buttons__profile-image {
  display:flex !important;
  width:56px !important;
  height:56px !important;
  flex:0 0 56px !important;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50% !important;
  background:#fff !important;
}
.sc-floating-whatsapp .e-contact-buttons__profile-image-el {
  width:38px !important;
  height:38px !important;
  object-fit:contain !important;
}
.sc-floating-whatsapp .e-contact-buttons__top-bar-details { min-width:0; gap:3px !important; }
.sc-floating-whatsapp .e-contact-buttons__top-bar-title {
  overflow:visible !important;
  margin:0 !important;
  white-space:nowrap !important;
  font-size:19px !important;
  line-height:1.2 !important;
}
.sc-floating-whatsapp .e-contact-buttons__top-bar-subtitle { margin:0 !important; font-size:14px !important; line-height:1.3 !important; }
.sc-floating-whatsapp .e-contact-buttons__close-button { top:10px !important; right:10px !important; }
.sc-floating-whatsapp .e-contact-buttons__message-bubble { padding:23px 23px 10px !important; }
.sc-floating-whatsapp .e-contact-buttons__message-bubble-name,
.sc-floating-whatsapp .e-contact-buttons__message-bubble-time { display:none !important; }
.sc-floating-whatsapp .e-contact-buttons__bubble { padding:0 !important; background:transparent !important; box-shadow:none !important; }
.sc-floating-whatsapp .e-contact-buttons__bubble::before,
.sc-floating-whatsapp .e-contact-buttons__bubble::after { display:none !important; content:none !important; }
.sc-floating-whatsapp .e-contact-buttons__message-bubble-body {
  margin:0 !important;
  white-space:pre-line;
  color:#374151 !important;
  font-size:16px !important;
  line-height:1.5 !important;
}
.sc-floating-whatsapp .e-contact-buttons__send-button { padding:6px 17px 17px !important; }
.sc-floating-whatsapp .e-contact-buttons__send-cta {
  min-height:50px !important;
  padding:12px 20px !important;
  border-radius:12px !important;
  font-size:16px !important;
}
.sc-floating-whatsapp .e-contact-buttons__send-cta svg { width:23px !important; height:23px !important; }

.sc-footer-main-grid {
  grid-template-columns:minmax(0,30fr) minmax(0,18fr) minmax(0,30fr) minmax(0,22fr) !important;
  gap:44px !important;
  padding-bottom:40px !important;
}
.sc-footer-column { min-width:0 !important; }
.sc-footer-services,
.sc-footer-contact { width:100% !important; max-width:100% !important; }
.sc-footer-services .elementor-icon-list-item,
.sc-footer-services .elementor-icon-list-item a { width:100%; max-width:100%; }
.sc-footer-services .elementor-icon-list-text {
  max-width:100%;
  overflow-wrap:normal;
  white-space:normal !important;
  font-size:16px !important;
  line-height:1.5 !important;
}
.sc-footer-contact-list .elementor-icon-list-items { gap:17px !important; }
.sc-footer-contact-list .elementor-icon-list-item { width:100%; min-height:30px !important; }
.sc-footer-contact-list .elementor-icon-list-icon { width:24px !important; flex:0 0 24px; font-size:19px !important; }
.sc-footer-contact-list .elementor-icon-list-text { min-width:0; font-size:16px !important; line-height:1.45 !important; }
.sc-footer-contact__subheading { width:100% !important; margin-top:4px; }
html body .sc-premium-footer .sc-footer-contact__subheading .elementor-heading-title {
  color:#fff !important;
  font-size:14px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  letter-spacing:.04em;
  text-transform:none;
}
.sc-footer-socials-ready { display:block !important; width:auto !important; }
.sc-footer-socials-ready .elementor-social-icons-wrapper { display:flex; gap:14px; }
.sc-footer-socials-ready .elementor-social-icon {
  width:32px !important;
  height:32px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:19px !important;
  pointer-events:none;
}
.sc-footer-socials-ready .elementor-social-icon:hover { color:#86b8aa !important; transform:translateY(-2px); }
.sc-footer-newsletter { width:100% !important; }
.sc-footer-newsletter .elementor-field-label {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.sc-footer-newsletter .elementor-form-fields-wrapper { display:flex; flex-direction:column; gap:9px; }
.sc-footer-newsletter .elementor-field-group { width:100% !important; margin:0 !important; padding:0 !important; }
.sc-footer-newsletter .elementor-field {
  min-height:42px;
  padding:10px 12px !important;
  border:1px solid rgba(255,255,255,.22) !important;
  border-radius:9px !important;
  background:rgba(255,255,255,.07) !important;
  color:#fff !important;
  font-size:14px !important;
  box-shadow:none !important;
}
.sc-footer-newsletter .elementor-field::placeholder { color:#b9c5c7; opacity:1; }
.sc-footer-newsletter .elementor-button {
  min-height:40px;
  padding:9px 15px !important;
  border:1px solid rgba(255,255,255,.24) !important;
  border-radius:9px !important;
  background:#0b5e55 !important;
  color:#fff !important;
  font-size:14px !important;
  box-shadow:none !important;
}
.sc-footer-newsletter .elementor-button:hover { background:#084842 !important; }
.sc-footer-legal-inner { padding-block:20px !important; flex-wrap:nowrap !important; }
.sc-footer-copyright .elementor-widget-container { white-space:nowrap !important; font-size:13px !important; line-height:1.4 !important; }
.sc-footer-legal-links { flex-wrap:nowrap !important; gap:25px !important; }
.sc-footer-legal-link .elementor-button { white-space:nowrap !important; font-size:13px !important; line-height:1.4 !important; }

@media (min-width:768px) and (max-width:1024px) {
  .sc-footer-main-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:36px 44px !important; padding-bottom:38px !important; }
  .sc-footer-legal-inner { flex-wrap:wrap !important; }
}

@media (max-width:767px) {
  .sc-floating-whatsapp .e-contact-buttons { bottom:18px !important; }
  .sc-floating-whatsapp .e-contact-buttons__content-wrapper { width:min(340px,calc(100vw - 32px)) !important; margin-right:16px !important; margin-bottom:-4px !important; }
  .sc-floating-whatsapp .e-contact-buttons__top-bar { min-height:74px !important; padding:9px 42px 9px 16px !important; gap:12px !important; }
  .sc-floating-whatsapp .e-contact-buttons__profile-image { width:52px !important; height:52px !important; flex-basis:52px !important; }
  .sc-floating-whatsapp .e-contact-buttons__profile-image-el { width:36px !important; height:36px !important; }
  .sc-floating-whatsapp .e-contact-buttons__top-bar-title { font-size:17px !important; }
  .sc-floating-whatsapp .e-contact-buttons__top-bar-subtitle { font-size:13px !important; }
  .sc-floating-whatsapp .e-contact-buttons__message-bubble { padding:20px 20px 8px !important; }
  .sc-floating-whatsapp .e-contact-buttons__message-bubble-body { font-size:15px !important; }
  .sc-floating-whatsapp .e-contact-buttons__send-button { padding:6px 16px 16px !important; }
  .sc-footer-main-grid { grid-template-columns:1fr !important; gap:32px !important; padding-bottom:36px !important; }
  .sc-footer-contact-list .elementor-icon-list-text { white-space:normal; }
  .sc-footer-legal-inner { flex-direction:column !important; flex-wrap:nowrap !important; }
  .sc-footer-copyright .elementor-widget-container { white-space:normal !important; text-align:center; }
  .sc-footer-legal-links { flex-wrap:wrap !important; justify-content:center !important; gap:4px 18px !important; }
}

/* WEB-014 — alineación definitiva de la franja legal. */
@media (min-width:1025px) {
  .sc-footer-legal-inner {
    gap:16px !important;
    padding-right:32px !important;
  }
  .sc-footer-copyright {
    flex:1 1 auto !important;
    min-width:0 !important;
  }
  .sc-footer-copyright,
  .sc-footer-copyright .elementor-widget-container {
    white-space:nowrap !important;
    font-size:13px !important;
    line-height:1.4 !important;
    letter-spacing:-.01em;
    word-spacing:-.02em;
  }
  .sc-footer-legal-links {
    flex:0 0 auto !important;
    gap:22px !important;
    margin-right:0 !important;
  }
}

/* WEB-015 — uniformidad vertical de las tarjetas de servicios. */
html body .sc-home-solutions__grid { align-items:stretch !important; grid-auto-rows:1fr; }
html body .sc-home-solutions__grid > .sc-home-solution { display:flex !important; height:100% !important; flex-direction:column !important; }
.sc-home-solution .elementor-widget-heading { min-height:78px; display:flex; align-items:flex-start; justify-content:center; }
.sc-home-solution .elementor-widget-text-editor { margin-top:0 !important; }
.sc-home-solution .sc-home-service-card__arrow { margin-top:auto !important; }
.sc-footer-socials-ready .elementor-social-icons-wrapper { align-items:center; gap:14px; }

@media (min-width:768px) and (max-width:1024px) {
  .sc-home-solution .elementor-widget-heading { min-height:67px; }
}

@media (max-width:767px) {
  html body .sc-home-solutions__grid { grid-auto-rows:auto; }
  html body .sc-home-solutions__grid > .sc-home-solution { height:auto !important; }
  .sc-home-solution .elementor-widget-heading { min-height:58px; }
}
