/* Fase 5 · identidad de los canales y comunidad */
.platform-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  vertical-align: middle;
}
.site-contact .platform-icon, .whatsapp-float .platform-icon, .p2-diagnostic-button .platform-icon {
  box-sizing: content-box;
  padding: 3px;
  background: white;
  border-radius: 50%;
}
.site-links .site-contact, .whatsapp-float, .p2-diagnostic-button, #contactForm button[type="submit"] {
  color: #fff;
  background: #096349;
  border-color: #096349;
}
.site-links .site-contact:hover, .whatsapp-float:hover, .p2-diagnostic-button:hover, #contactForm button[type="submit"]:hover {
  color: #fff;
  background: #074a37;
  border-color: #074a37;
}
.site-links .site-contact { gap: 8px; }
.p2-contact-link, .p2-empty-actions a[href^="https://wa.me/"] { color: #095841; }
.p2-contact-link:hover { background: #edf9f3; }
#contactForm button .platform-icon { background: white; border-radius: 50%; padding: 2px; }
.whatsapp-float {
  gap: 9px;
  min-height: 48px;
  box-shadow: 0 6px 18px #074a3729;
}
.site-links .site-contact:focus-visible, .whatsapp-float:focus-visible {
  outline: 3px solid #127456;
  outline-offset: 4px;
}
.p3-channel-heading .p3-eyebrow::before { background: #e3002d; }
.p3-channel-heading .p3-button { border-color: #e8bcc6; color: #a81435; }
.p3-channel-heading .p3-button:hover { background: #fff2f5; }
.p3-feature-link .platform-icon { margin-right: 5px; }
.p3-socials .platform-icon { margin-right: 2px; }
.p3-socials a[href*="youtube.com"] { border-color: #efd1d9; background: #fff7f8; }
.p3-socials a[href*="instagram.com"] { border-color: #ead1e5; background: #fff7fc; }
.p3-socials a[href*="wa.me"] { border-color: #c8e5d6; background: #f0faf4; }
.p3-socials a[href*="blogspot.com"] { border-color: #efdcc9; background: #fff9f2; }
.p3-socials a:hover { box-shadow: 0 3px 14px #17345616; border-color: #829cb8; }
.p5-social-title { margin: 24px 0 8px; font-size: 14px; color: #25456a; }
.p5-service-note { margin: 0 0 15px; color: #304e6e; font-size: 14px; }

.p5-reviews {
  padding: clamp(45px, 6vw, 86px) 0;
  background: linear-gradient(120deg, #eef6ff, #f8fbff 69%, #eaf5ff);
  border-block: 1px solid #dceafb;
}
.p5-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
}
.p5-reviews .h2 { margin: 15px 0; max-width: 600px; }
.p5-reviews .sub { max-width: 530px; margin: 0; }
.p5-review-panel {
  background: #fff;
  border: 1px solid #d4e4f6;
  border-radius: 25px;
  box-shadow: 0 14px 34px #244d7b10;
  padding: clamp(20px, 3vw, 32px);
}
.p5-review-source { display: flex; align-items: center; gap: 14px; }
.p5-review-source img { width: 38px; height: 38px; object-fit: contain; }
.p5-review-source strong { display: block; color: #193854; font-size: 17px; }
.p5-review-source small { display: block; margin-top: 3px; color: #476380; font-size: 13px; }
.p5-review-panel p { margin: 16px 0 19px; color: #36536f; font-size: 14px; line-height: 1.65; }
.p5-review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.p5-review-actions .btn { min-height: 46px; padding: 10px 16px; }

footer.p5-footer { background: #071e3a; padding-top: clamp(36px, 5vw, 58px); }
.p5-footer .footer-main { grid-template-columns: 1.25fr .85fr .9fr 1.22fr; gap: clamp(18px, 3vw, 38px); }
.p5-footer .footer-main h2 { color: #fff; font-size: 14px; }
.p5-footer .links a { color: #d5e4f6; min-height: 40px; gap: 9px; }
.p5-footer .links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.p5-footer .footer-info, .p5-footer .links span, .p5-footer .footer-bottom { color: #c3d7ee; }
.p5-footer .links a.p5-footer-wa { color: #c0f4d6; }
.p5-footer .p5-app { margin-top: 15px; }
.p5-footer .p5-app a { display: inline-flex; min-height: 48px; align-items: center; }
.p5-footer .p5-app img { width: 147px; height: auto; }
.p5-footer .footer-bottom { margin-top: 28px; padding-top: 19px; }
@media (max-width: 800px) {
  .p5-review-grid { grid-template-columns: 1fr; }
  .p5-footer .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 550px) {
  .p5-review-actions { display: grid; }
  .p5-review-actions .btn { width: 100%; }
  .p5-footer .footer-main > div:last-child { grid-column: 1 / -1; border-top: 1px solid #355071; padding-top: 17px; }
  .p5-footer .links a { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .p5-reviews *, .p5-footer *, .whatsapp-float, .p3-socials a { transition: none; }
}
