:root {
  --psmc-navy: #071a35;
  --psmc-blue: #0b57d0;
  --psmc-blue-2: #2377f2;
  --psmc-cyan: #40d5e8;
  --psmc-green: #1ebd65;
  --psmc-ink: #10213b;
  --psmc-muted: #607089;
  --psmc-soft: #f3f7fc;
  --psmc-line: #dce6f2;
}

body.psmc-active { background: #fff; color: var(--psmc-ink); }
body.psmc-active .psmc-origin-hidden { display: none !important; }

.psmc-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 15%, rgba(64,213,232,.23), transparent 27rem),
    radial-gradient(circle at 88% 85%, rgba(35,119,242,.28), transparent 24rem),
    linear-gradient(135deg, #06152c 0%, #0a2857 56%, #0d3e82 100%);
  padding: clamp(54px, 7vw, 94px) 24px 66px;
  isolation: isolate;
}
.psmc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: linear-gradient(to right, #000, transparent 72%);
}
.psmc-hero-inner { width: min(1160px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr); gap: clamp(42px, 6vw, 78px); align-items: center; }
.psmc-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #bdeeff; font-size: 14px; line-height: 1.3; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.psmc-eyebrow span { width: 28px; height: 3px; background: var(--psmc-cyan); border-radius: 99px; }
.psmc-hero h1 { color: #fff !important; font-size: clamp(38px, 4.6vw, 66px) !important; line-height: 1.05 !important; letter-spacing: -.035em !important; font-weight: 850 !important; margin: 0 0 22px !important; max-width: 800px; text-align: left !important; text-transform: none !important; }
.psmc-subtitle { color: #dbe9fb; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; margin: 0 0 28px; max-width: 690px; }
.psmc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.psmc-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; border-radius: 12px; font-size: 15px; line-height: 1.2; font-weight: 800; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.psmc-button:hover { transform: translateY(-2px); }
.psmc-button-primary { color: #fff !important; background: var(--psmc-green); box-shadow: 0 12px 30px rgba(30,189,101,.28); }
.psmc-button-primary:hover { color: #fff !important; background: #18a958; box-shadow: 0 15px 34px rgba(30,189,101,.35); }
.psmc-button-ghost { color: #fff !important; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.psmc-button-ghost:hover { color: #fff !important; background: rgba(255,255,255,.15); }
.psmc-wa { width: 21px; height: 21px; flex: none; }
.psmc-badges { display: flex; flex-wrap: wrap; gap: 18px; color: #b8cbe5; font-size: 13px; font-weight: 700; margin-top: 23px; }
.psmc-visual { position: relative; min-height: 480px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; padding: 11px; background: rgba(255,255,255,.09); box-shadow: 0 30px 80px rgba(0,0,0,.28); transform: rotate(1.2deg); }
.psmc-visual::after { content: ""; position: absolute; width: 116px; height: 116px; border-radius: 50%; right: -42px; top: -38px; background: linear-gradient(135deg, var(--psmc-cyan), var(--psmc-blue-2)); opacity: .8; z-index: -1; }
.psmc-visual img { display: block; width: 100%; height: 456px; object-fit: cover; border-radius: 20px; }
.psmc-float-card { position: absolute; left: -34px; bottom: 28px; display: flex; flex-direction: column; gap: 3px; max-width: 280px; padding: 15px 18px; border-radius: 15px; color: var(--psmc-ink); background: rgba(255,255,255,.96); box-shadow: 0 18px 44px rgba(3,20,46,.28); }
.psmc-float-card b { font-size: 15px; }
.psmc-float-card span { font-size: 12px; color: var(--psmc-muted); }

.psmc-trust { position: relative; z-index: 3; padding: 0 24px; background: transparent; }
.psmc-trust-inner { width: min(1040px, 100%); margin: -28px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--psmc-line); border-radius: 17px; background: #fff; box-shadow: 0 18px 50px rgba(20,48,88,.12); overflow: hidden; }
.psmc-trust-item { min-height: 82px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; font-size: 15px; font-weight: 800; text-align: center; color: var(--psmc-ink); }
.psmc-trust-item + .psmc-trust-item { border-left: 1px solid var(--psmc-line); }
.psmc-trust-item i { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 10px; color: var(--psmc-blue); background: #eaf2ff; font-style: normal; font-weight: 900; }

body.psmc-active main, body.psmc-active article { scroll-margin-top: 28px; }
body.psmc-active .elementor h2, body.psmc-active .psm-l h2, body.psmc-active article h2 { color: var(--psmc-ink); line-height: 1.18; letter-spacing: -.02em; }
body.psmc-active .elementor-widget-heading h2 { text-wrap: balance; }
body.psmc-active .elementor-widget-text-editor, body.psmc-active article p, body.psmc-active .psm-l p, body.psmc-active .psm-l li { line-height: 1.72; }
body.psmc-active .elementor-widget-image img, body.psmc-active .elementor-image-box-img img { border-radius: 16px; }
body.psmc-active .elementor-image-box-wrapper, body.psmc-active .elementor-icon-box-wrapper { transition: transform .2s ease, box-shadow .2s ease; }
body.psmc-active .elementor-image-box-wrapper:hover, body.psmc-active .elementor-icon-box-wrapper:hover { transform: translateY(-3px); }
body.psmc-active .cs-faq-b2b { border-radius: 22px; overflow: hidden; }
.psmc-faq-question { line-height: 1.35 !important; }

.page-id-10629 .site-content > .ast-container { max-width: 1180px; }
.page-id-10629 .entry-header { margin: 0 !important; }
.page-id-10629 .psm-l { max-width: 980px !important; margin: 34px auto 72px !important; padding: 0 24px !important; color: var(--psmc-ink) !important; }
.page-id-10629 .psm-l h2 { margin-top: 56px !important; font-size: clamp(27px, 3vw, 39px) !important; text-align: center; }
.page-id-10629 .psm-l h2 + p { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.page-id-10629 .psm-l ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; padding: 0 !important; list-style: none !important; }
.page-id-10629 .psm-l li { padding: 18px 20px 18px 48px; position: relative; border: 1px solid var(--psmc-line); border-radius: 14px; background: var(--psmc-soft); }
.page-id-10629 .psm-l li::before { content: "✓"; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--psmc-green); font-size: 12px; font-weight: 900; }
.page-id-10629 .psm-l h3 { margin: 18px 0 7px !important; padding-top: 19px; border-top: 1px solid var(--psmc-line); font-size: 18px !important; }

.psmc-final { width: min(1160px, calc(100% - 48px)); margin: 72px auto; padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 34px; border-radius: 24px; color: #fff; background: linear-gradient(125deg, #0a244d, #0b57d0); box-shadow: 0 24px 60px rgba(16,58,122,.2); }
.psmc-final-kicker { display: block; color: #9feaf4; font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.psmc-final-title { color: #fff; font-size: clamp(27px, 3vw, 42px); font-weight: 850; line-height: 1.13; letter-spacing: -.025em; }
.psmc-final p { color: #d7e5fa; margin: 10px 0 0; max-width: 650px; }
.psmc-button-light { flex: none; color: var(--psmc-blue) !important; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.psmc-button-light:hover { color: var(--psmc-blue) !important; background: #f5f9ff; }
.psmc-mobile-cta { display: none; }

@media (max-width: 900px) {
  .psmc-hero { padding-top: 54px; }
  .psmc-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .psmc-visual { min-height: 380px; max-width: 620px; width: 100%; margin: 0 auto; transform: none; }
  .psmc-visual img { height: 356px; }
  .psmc-float-card { left: 18px; }
  .psmc-final { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  body.psmc-active { padding-bottom: 72px; }
  .psmc-hero { padding: 43px 18px 54px; }
  .psmc-hero h1 { font-size: clamp(34px, 10vw, 46px) !important; }
  .psmc-subtitle { font-size: 17px; line-height: 1.58; }
  .psmc-actions { align-items: stretch; flex-direction: column; }
  .psmc-button { width: 100%; }
  .psmc-badges { gap: 8px 16px; }
  .psmc-visual { min-height: 325px; padding: 8px; border-radius: 22px; }
  .psmc-visual img { height: 309px; border-radius: 16px; }
  .psmc-float-card { left: 17px; right: 17px; bottom: 17px; max-width: none; }
  .psmc-trust { padding: 0 18px; }
  .psmc-trust-inner { grid-template-columns: 1fr; margin-top: -22px; }
  .psmc-trust-item { min-height: 66px; justify-content: flex-start; text-align: left; }
  .psmc-trust-item + .psmc-trust-item { border-left: 0; border-top: 1px solid var(--psmc-line); }
  .page-id-10629 .psm-l { padding: 0 18px !important; }
  .page-id-10629 .psm-l ul { grid-template-columns: 1fr; }
  .psmc-final { width: calc(100% - 36px); margin: 48px auto 32px; padding: 27px 22px; border-radius: 20px; }
  .psmc-mobile-cta { position: fixed; z-index: 99999; left: 12px; right: 12px; bottom: 10px; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; color: #fff !important; background: var(--psmc-green); box-shadow: 0 12px 34px rgba(7,31,65,.32); font-size: 15px; font-weight: 850; text-decoration: none !important; }
  body.psmc-active #ht-ctc-chat { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .psmc-button, body.psmc-active .elementor-image-box-wrapper, body.psmc-active .elementor-icon-box-wrapper { transition: none; }
}

/* Fichas de producto: capa separada para no mezclar el diseño de servicios. */
body.psmc-product-active { background: linear-gradient(180deg, #f3f7fc 0, #fff 620px); color: var(--psmc-ink); }
.psmc-product-active .site-content > .ast-container { max-width: 1220px; padding-top: clamp(32px, 5vw, 70px); }
.psmc-product-active div.product { display: flow-root; }
.psmc-product-active div.product .woocommerce-product-gallery { padding: clamp(16px, 2.5vw, 28px); border: 1px solid var(--psmc-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 54px rgba(24,53,89,.1); }
.psmc-product-active div.product .woocommerce-product-gallery img { border-radius: 16px; }
.psmc-product-active div.product .summary { padding: clamp(25px, 3.4vw, 42px) !important; border: 1px solid var(--psmc-line); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 18px 54px rgba(24,53,89,.1); }
.psmc-product-label { display: inline-flex; padding: 7px 11px; margin-bottom: 13px; border-radius: 99px; color: var(--psmc-blue); background: #eaf2ff; font-size: 12px; line-height: 1; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.psmc-product-active .product_title { margin: 0 0 18px !important; color: var(--psmc-ink); font-size: clamp(31px, 3.4vw, 48px) !important; line-height: 1.08 !important; letter-spacing: -.03em; }
.psmc-product-active .summary .price { margin: 0 0 21px !important; color: var(--psmc-blue) !important; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 850; }
.psmc-product-active .woocommerce-product-details__short-description { color: #43536b; font-size: 15px; line-height: 1.72; }
.psmc-product-active .summary form.cart { display: flex; align-items: stretch; gap: 10px; margin: 26px 0 18px !important; padding-top: 24px; border-top: 1px solid var(--psmc-line); scroll-margin-top: 30px; }
.psmc-product-active .summary form.cart .quantity input { height: 52px; border: 1px solid #cdd9e8; border-radius: 10px; }
.psmc-product-active .summary .single_add_to_cart_button { min-height: 52px; flex: 1; border-radius: 11px !important; background: var(--psmc-green) !important; box-shadow: 0 12px 26px rgba(30,189,101,.22); font-size: 15px !important; font-weight: 850 !important; }
.psmc-product-active .summary .single_add_to_cart_button:hover { background: #18a958 !important; transform: translateY(-1px); }
.psmc-product-trust { display: grid; gap: 10px; margin: 19px 0; padding: 17px 18px; border-radius: 14px; background: var(--psmc-soft); color: #40516b; font-size: 13px; font-weight: 750; }
.psmc-product-trust span { display: flex; align-items: center; gap: 9px; }
.psmc-product-trust b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--psmc-green); font-size: 11px; }
.psmc-product-active .product_meta { padding-top: 16px; border-top: 1px solid var(--psmc-line); color: var(--psmc-muted); }
.psmc-product-active .woocommerce-tabs, .psmc-product-active .related.products, .psmc-product-active .up-sells { margin-top: 60px; padding: clamp(25px, 4vw, 44px); border: 1px solid var(--psmc-line); border-radius: 22px; background: #fff; }
.psmc-product-active .related.products li.product, .psmc-product-active .up-sells li.product { border: 1px solid var(--psmc-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(25,54,90,.08); }
.psmc-product-active .related.products li.product img, .psmc-product-active .up-sells li.product img { border-radius: 0; }
.psmc-product-mobile { display: none; }

@media (max-width: 768px) {
  body.psmc-product-active { padding-bottom: 78px; }
  .psmc-product-active .site-content > .ast-container { padding: 22px 16px 40px; }
  .psmc-product-active div.product .woocommerce-product-gallery,
  .psmc-product-active div.product .summary { width: 100% !important; float: none !important; }
  .psmc-product-active div.product .summary { margin-top: 18px; padding: 24px 20px !important; }
  .psmc-product-active .product_title { font-size: 32px !important; }
  .psmc-product-active .summary form.cart { flex-wrap: wrap; }
  .psmc-product-active .summary form.cart .quantity { width: 72px; }
  .psmc-product-active .summary .single_add_to_cart_button { width: calc(100% - 82px); }
  .psmc-product-active .woocommerce-tabs, .psmc-product-active .related.products, .psmc-product-active .up-sells { margin-top: 34px; padding: 21px 17px; }
  .psmc-product-mobile { position: fixed; z-index: 99999; left: 11px; right: 11px; bottom: 9px; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 17px; border-radius: 14px; color: #fff !important; background: var(--psmc-green); box-shadow: 0 12px 34px rgba(7,31,65,.32); text-decoration: none !important; }
  .psmc-product-mobile span { font-size: 15px; font-weight: 850; }
  .psmc-product-mobile b { font-size: 11px; }
  body.psmc-product-active #ht-ctc-chat { display: none !important; }
}
