/* =====================================================
   SURPIN - SOBRE NOSOTROS Y LEGALES (LIMPIO)
   El ancho global lo da surpin-base.css
   ===================================================== */

/* Contenedor común */
html body.page-id-1689 .gm-about-wrap,
html body.page-id-3 .gm-legal-wrap,
html body.page-id-46 .gm-legal-wrap {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 18px 24px 80px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* =====================================================
   SOBRE NOSOTROS (page-id-1689)
   ===================================================== */

html body.page-id-1689 .gm-about-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
  margin: 0 0 70px;
  background: linear-gradient(135deg, #0A1F44 0%, #0F2A5C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

html body.page-id-1689 .gm-about-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 800px;
}

html body.page-id-1689 .gm-about-tag {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FF6B7A;
  margin-bottom: 16px;
  font-weight: 600;
}

html body.page-id-1689 .gm-about-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 64px;
  color: #ffffff;
  margin: 0 0 12px;
  padding: 0;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.1;
}

html body.page-id-1689 .gm-about-hero p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  color: #D5DDEE;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

html body.page-id-1689 .gm-about-content {
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
}

html body.page-id-1689 .gm-about-title {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  color: #0A1F44;
  margin: 0 0 30px;
  padding: 0 0 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  text-align: center;
}

html body.page-id-1689 .gm-about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #E63946;
  border-radius: 2px;
}

html body.page-id-1689 .gm-about-content p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #5C7291;
  margin: 0 0 18px;
  text-align: center;
}

html body.page-id-1689 .gm-about-values {
  margin: 0 0 70px;
}

html body.page-id-1689 .gm-about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0 0;
}

html body.page-id-1689 .gm-about-value {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.06);
  border: 1px solid #E5EAF3;
  transition: all 0.3s ease;
}

html body.page-id-1689 .gm-about-value:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.15);
  border-color: #E63946;
}

html body.page-id-1689 .gm-about-value-icon {
  width: 64px;
  height: 64px;
  background: #F5F7FA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

html body.page-id-1689 .gm-about-value-icon svg {
  width: 28px;
  height: 28px;
  stroke: #E63946;
  fill: none;
  display: block;
}

html body.page-id-1689 .gm-about-value h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: #0A1F44;
  margin: 0 0 12px;
  font-weight: 600;
  text-transform: uppercase;
}

html body.page-id-1689 .gm-about-value p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  color: #5C7291;
  margin: 0;
  line-height: 1.6;
}

html body.page-id-1689 .gm-about-cta {
  background: linear-gradient(135deg, #0A1F44 0%, #0F2A5C 100%);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  margin: 0 0 80px;
  border-left: 6px solid #E63946;
}

html body.page-id-1689 .gm-about-cta h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  color: #ffffff;
  margin: 0 0 12px;
  font-weight: 600;
}

html body.page-id-1689 .gm-about-cta p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  color: #D5DDEE;
  margin: 0 0 24px;
}

html body.page-id-1689 .gm-about-btn {
  display: inline-block;
  background: #E63946;
  color: #ffffff;
  padding: 16px 42px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

html body.page-id-1689 .gm-about-btn:hover {
  background: #C42B38;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

/* =====================================================
   LEGALES (page-id-3 / page-id-46)
   ===================================================== */

html body.page-id-3 .gm-legal-hero,
html body.page-id-46 .gm-legal-hero {
  text-align: center;
  padding: 0 20px 50px;
  margin: 0 0 50px;
  border-bottom: 1px solid #E5EAF3;
}

html body.page-id-3 .gm-legal-tag,
html body.page-id-46 .gm-legal-tag {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #E63946;
  margin-bottom: 16px;
  font-weight: 600;
}

html body.page-id-3 .gm-legal-hero h1,
html body.page-id-46 .gm-legal-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  color: #0A1F44;
  margin: 0 0 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

html body.page-id-3 .gm-legal-hero p,
html body.page-id-46 .gm-legal-hero p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  color: #5C7291;
  margin: 0;
  font-style: italic;
}

html body.page-id-3 .gm-legal-content,
html body.page-id-46 .gm-legal-content {
  margin: 0 0 80px;
}

html body.page-id-3 .gm-legal-block,
html body.page-id-46 .gm-legal-block {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 40px;
  margin: 0 0 24px;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.06);
  border: 1px solid #E5EAF3;
}

html body.page-id-3 .gm-legal-block h2,
html body.page-id-46 .gm-legal-block h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: #0A1F44;
  margin: 0 0 18px;
  padding: 0 0 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #F5F7FA;
  position: relative;
}

html body.page-id-3 .gm-legal-block h2::before,
html body.page-id-46 .gm-legal-block h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #E63946;
}

html body.page-id-3 .gm-legal-block p,
html body.page-id-46 .gm-legal-block p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #5C7291;
  margin: 0 0 14px;
}

html body.page-id-3 .gm-legal-block ul,
html body.page-id-46 .gm-legal-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

html body.page-id-3 .gm-legal-block ul li,
html body.page-id-46 .gm-legal-block ul li {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #5C7291;
  padding-left: 30px;
  margin-bottom: 10px;
  position: relative;
}

html body.page-id-3 .gm-legal-block ul li::before,
html body.page-id-46 .gm-legal-block ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #E63946;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

html body.page-id-3 .gm-legal-block a,
html body.page-id-46 .gm-legal-block a {
  color: #E63946;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

html body.page-id-3 .gm-legal-block a:hover,
html body.page-id-46 .gm-legal-block a:hover {
  color: #C42B38;
  text-decoration: underline;
}

/* Ocultar H1 duplicado */
html body.page-id-3 h1.wp-block-post-title,
html body.page-id-46 h1.wp-block-post-title,
html body.page-id-1689 h1.wp-block-post-title,
html body.page-id-1279 h1.wp-block-post-title {
  display: none !important;
}

/* =====================================================
   RESPONSIVE (una sola vez)
   ===================================================== */

@media (max-width: 1100px) {
  html body.page-id-1689 .gm-about-values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 900px) {
  html body.page-id-1689 .gm-about-hero {
    height: 320px !important;
    margin: 20px 0 50px !important;
  }
  html body.page-id-1689 .gm-about-hero h1 { font-size: 48px !important; }
  html body.page-id-3 .gm-legal-hero h1,
  html body.page-id-46 .gm-legal-hero h1 { font-size: 36px !important; }
  html body.page-id-3 .gm-legal-block,
  html body.page-id-46 .gm-legal-block { padding: 28px 24px !important; }
}

@media (max-width: 768px) {
  html body.page-id-1689 .gm-about-wrap,
  html body.page-id-3 .gm-legal-wrap,
  html body.page-id-46 .gm-legal-wrap {
    padding: 0px 0px 0px !important;
  }
  html body.page-id-1689 .gm-about-hero { height: 260px !important; margin: 10px 0 40px !important; }
  html body.page-id-1689 .gm-about-hero h1 { font-size: 36px !important; letter-spacing: 2px !important; }
  html body.page-id-1689 .gm-about-hero p { font-size: 15px !important; }
  html body.page-id-1689 .gm-about-values-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  html body.page-id-1689 .gm-about-title { font-size: 26px !important; }
  html body.page-id-1689 .gm-about-content p { font-size: 15px !important; }
  html body.page-id-1689 .gm-about-cta { padding: 40px 20px !important; }
  html body.page-id-1689 .gm-about-cta h2 { font-size: 24px !important; }
  html body.page-id-3 .gm-legal-hero h1,
  html body.page-id-46 .gm-legal-hero h1 { font-size: 28px !important; }
  html body.page-id-3 .gm-legal-block,
  html body.page-id-46 .gm-legal-block { padding: 24px 20px !important; }
  html body.page-id-3 .gm-legal-block h2,
  html body.page-id-46 .gm-legal-block h2 { font-size: 20px !important; }
}
