/* =====================================================================
   Bloques .cp-page (descripciones de producto y páginas de ciudad)
   Antes en el CSS adicional. Solo se carga en las páginas que los usan.
   ===================================================================== */

.cp-page, .cp-page * { box-sizing: border-box; }
.cp-page { width: 100%; margin: 0 !important; padding: 0 !important; color: #172033; font-size: 15.5px; line-height: 1.6; overflow-x: clip; }
.cp-page h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.03em; color: #0f172a; }
.cp-page h3 { margin: 0 0 8px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; color: #0f172a; }
.cp-page p { margin: 0 0 14px; }
.cp-page a { color: #0b63ce; font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.cp-strip { position: relative; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; margin-top: 0 !important; margin-bottom: 0 !important; padding: 100px 0; }
.cp-inner { width: min(1160px, calc(100vw - 32px)); margin: 0 auto; }
.cp-inner-narrow { width: min(900px, calc(100vw - 32px)); margin: 0 auto; }
.cp-strip-hero { background: linear-gradient(135deg, #eef6ff 0%, #ffffff 72%); }
.cp-strip-nav { background: #ffffff; padding: 22px 0; }
.cp-strip-blue { background: #eef6ff; }
.cp-strip-white { background: #ffffff; }
.cp-strip-soft { background: #f8fafc; }
.cp-strip-light { background: #fbfdff; }
.cp-strip-price { background: #f5f9ff; }
.cp-strip-reviews { background: #f8fafc; }
.cp-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr); gap: 40px; align-items: center; }
.cp-kicker, .cp-section-eyebrow { display: inline-flex; margin: 0 0 12px; padding: 7px 12px; border-radius: 999px; background: #dbeafe; color: #0b63ce; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.cp-lead { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.45; color: #334155; }
.cp-hero-main { max-width: 780px; }
.cp-hero-side { padding: 24px; background: #ffffff; border-left: 4px solid #0b63ce; border-radius: 14px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cp-btn { display: inline-flex !important; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 8px; font-size: 14px; font-weight: 900; line-height: 1; text-decoration: none !important; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.cp-btn:hover { transform: translateY(-1px); }
.cp-btn-primary { background: #ffd200; border: 1px solid #d9b300; color: #111111 !important; }
.cp-btn-primary:hover { background: #f2c600; border-color: #c9a500; color: #111111 !important; }
.cp-btn-secondary { background: #ffffff; border: 1px solid #d7dce3; color: #111111 !important; }
.cp-btn-secondary:hover { background: #f8fafc; color: #111111 !important; }
.cp-btn-primary-main { min-height: 50px; padding: 0 24px; font-size: 15px; }
.cp-anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-anchor-nav a { padding: 8px 13px; border: 1px solid #e2e8f0; border-radius: 999px; background: #ffffff; color: #334155; text-decoration: none; font-size: 13px; white-space: nowrap; }
.cp-section-head { max-width: 860px; margin-bottom: 34px; }
.cp-section-head p { color: #475569; font-size: 18px; line-height: 1.55; }
.cp-section-head-left { margin-bottom: 20px; }
.cp-card-grid { display: grid; gap: 18px; }
.cp-card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cp-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-card { padding: 22px; background: #ffffff; border: 1px solid #dbeafe; border-radius: 14px; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.cp-card strong { display: block; margin-bottom: 10px; color: #0b63ce; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.cp-card p, .cp-use-body p, .cp-work-body p, .cp-step-body p, .cp-table, .cp-check-list li, .cp-list-clean li { font-size: 15.5px; }
.cp-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cp-use-card { overflow: hidden; background: #ffffff; border: 1px solid #dbe3ef; border-radius: 16px; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.cp-use-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eaf2fb, #ffffff); border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; font-weight: 900; text-align: center; padding: 20px; }
.cp-use-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-use-body { padding: 20px; }
.cp-use-body strong { display: block; margin-bottom: 10px; color: #0b63ce; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.cp-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cp-work-card { overflow: hidden; background: #ffffff; border: 1px solid #dbe3ef; border-radius: 16px; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.cp-work-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eaf2fb, #ffffff); border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; font-weight: 900; text-align: center; padding: 20px; }
.cp-work-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-work-body { padding: 18px; }
.cp-table-wrap { width: 100%; overflow-x: auto; background: #ffffff; border: 1px solid #dbe3ef; border-radius: 12px; }
.cp-table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 14px; }
.cp-table caption { padding: 12px 14px; background: #f8fafc; color: #0f172a; text-align: left; font-weight: 900; }
.cp-table th, .cp-table td { padding: 12px 14px; border-top: 1px solid #e2e8f0; text-align: left; }
.cp-table th { background: #0f172a; color: #ffffff; font-weight: 900; }
.cp-table tbody tr:nth-child(even) { background: #fafcff; }
.cp-row-highlight { background: #fff8d6 !important; }
.cp-row-highlight td { font-weight: 900; }
.cp-two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 36px; align-items: start; }
.cp-side-box { padding: 22px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; }
.cp-list-clean, .cp-check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cp-list-clean li, .cp-check-list li { position: relative; padding-left: 24px; }
.cp-list-clean li::before, .cp-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 900; }
.cp-measures-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: start; }
.cp-measure-figure { margin: 0; text-align: center; }
.cp-measure-figure img { width: 100%; max-width: 180px; height: auto; border: 1px solid #e2e8f0; border-radius: 10px; background: #ffffff; }
.cp-measure-figure figcaption { margin-top: 8px; color: #64748b; font-size: 12px; }
.cp-price-action { margin-top: 20px; }
.cp-step-card { overflow: hidden; padding: 0; background: #ffffff; border: 1px solid #dbe3ef; border-radius: 14px; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.cp-step-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef6ff, #ffffff); border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 13px; font-weight: 900; text-align: center; padding: 18px; }
.cp-step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-step-body { padding: 22px; }
.cp-step-body strong { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%; background: #ffd200; color: #111111; font-weight: 900; }
.cp-reviews-box { padding: 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; }
.cp-faq details { padding: 18px 0; border-top: 1px solid #e2e8f0; }
.cp-faq details:first-child { border-top: 0; }
.cp-faq summary { cursor: pointer; font-weight: 900; color: #0f172a; }
.cp-faq p { margin-top: 10px; margin-bottom: 0; color: #475569; }
@media (max-width: 1024px) {
  .cp-strip { padding: 74px 0; }
  .cp-hero, .cp-two-col, .cp-measures-grid { grid-template-columns: 1fr; }
  .cp-card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-card-grid-3, .cp-use-grid, .cp-work-grid { grid-template-columns: 1fr; }
  .cp-measure-figure { text-align: left; }
  .cp-measure-figure img { max-width: 150px; }
}
@media (max-width: 640px) {
  .cp-strip { padding: 54px 0; }
  .cp-strip-nav { padding: 16px 0; }
  .cp-inner, .cp-inner-narrow { width: calc(100vw - 24px); }
  .cp-actions { align-items: stretch; }
  .cp-btn { width: 100%; min-height: 44px; }
  .cp-actions .cp-btn-secondary { display: none !important; }
  .cp-anchor-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .cp-anchor-nav::-webkit-scrollbar { display: none; }
  .cp-card-grid-4, .cp-card-grid-3, .cp-use-grid, .cp-work-grid { grid-template-columns: 1fr; }
  .cp-card, .cp-side-box, .cp-use-body, .cp-work-body, .cp-step-body { padding: 16px; }
  .cp-table { min-width: 400px; font-size: 13px; }
  .cp-table th, .cp-table td { padding: 9px 11px; }
  .cp-strip { padding: 42px 0; }
  .cp-strip-nav { padding: 12px 0; }
  .cp-section-head { margin-bottom: 22px; }
  .cp-section-head p { font-size: 15.5px; line-height: 1.5; }
  .cp-page h2 { font-size: 24px; line-height: 1.12; }
  .cp-page h3 { font-size: 17px; }
  .cp-use-media, .cp-step-media { aspect-ratio: 16 / 9; min-height: 150px; }
  .cp-work-media { aspect-ratio: 16 / 9; min-height: 145px; }
  .cp-use-body, .cp-work-body, .cp-step-body { padding: 15px; }
  .cp-use-body p, .cp-work-body p, .cp-step-body p, .cp-card p { font-size: 14.5px; line-height: 1.5; }
  #trabajos-realizados .cp-work-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  #trabajos-realizados .cp-work-grid::-webkit-scrollbar { display: none; }
  #trabajos-realizados .cp-work-card { min-width: 82%; scroll-snap-align: start; }
  .cp-card { padding: 16px; }
  .cp-btn { width: 100%; min-height: 46px; }
  .cp-actions { gap: 10px; }
  .cp-mobile-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 10px 14px; background: #ffffff; border-top: 1px solid #e2e8f0; box-shadow: 0 -8px 24px rgba(15, 23, 42, .12); }
  .cp-mobile-sticky-cta a { width: 100%; min-height: 48px; border-radius: 8px; background: #ffd200; border: 1px solid #d9b300; color: #111111 !important; font-size: 15px; font-weight: 900; text-decoration: none !important; display: flex; align-items: center; justify-content: center; }
}
@media (min-width: 641px) {
  .cp-mobile-sticky-cta { display: none !important; }
}
