/*
Theme Name: Jito Repara V3
Theme URI: https://jitorepara.es
Author: Jito Repara
Description: Tema base para WordPress con enfoque oscuro, técnico y premium.
Version: 0.1.0
Text Domain: jito-repara
*/

:root {
  --wp--preset--color--bg: #070D17;
  --wp--preset--color--bg-soft: #0D1627;
  --wp--preset--color--panel: #111D2E;
  --wp--preset--color--primary: #76A1FF;
  --wp--preset--color--primary-strong: #4B7EF5;
  --wp--preset--color--text: #EDF3FF;
  --wp--preset--color--text-soft: #BFD2F5;
  --wp--preset--color--muted: #8EA5C9;
  --wp--preset--color--border: rgba(118, 161, 255, 0.25);
  --wp--style--root--padding-right: 0;
  --wp--style--root--padding-left: 0;
}

html {
  background: var(--wp--preset--color--bg);
}

body {
  background:
    radial-gradient(circle at top left, rgba(118, 161, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #050b13 0%, #0b1320 100%);
  color: var(--wp--preset--color--text);
  font-family: "Montserrat", sans-serif;
}

body,
button,
input,
textarea,
select {
  font-family: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wp-block-button__link {
  background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-strong));
  color: #071424;
  border-radius: 999px;
}

.wp-block-button__link:hover {
  filter: brightness(1.05);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--wp--preset--color--primary);
  outline-offset: 3px;
}

header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 13, 23, 0.86);
  backdrop-filter: blur(12px);
}

header.wp-block-template-part > .wp-block-group > .wp-block-group {
  min-height: 68px;
  gap: 18px;
}

header .wp-block-site-title,
header .wp-block-site-title a {
  margin: 0;
  color: var(--wp--preset--color--text);
  font-size: 1rem !important;
  font-weight: 800;
  letter-spacing: 0.02em !important;
  line-height: 1;
  white-space: nowrap;
}

header .wp-block-navigation {
  margin-left: auto;
  color: var(--wp--preset--color--text-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

header .wp-block-navigation__container {
  gap: 22px;
}

header .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--text);
}

header .jr-header-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
}

header .jr-header-actions .wp-block-button__link {
  min-height: 38px;
  padding: 10px 16px;
  font-size: 0.72rem;
  white-space: nowrap;
}

body.page .entry-content.wp-block-post-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-block: clamp(3rem, 8vw, 5rem);
}

body.page .entry-content.wp-block-post-content > .wp-block-group {
  width: 100%;
}

body.page .entry-content h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

body.page .entry-content h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
}

body.page .entry-content .wp-block-columns {
  gap: 16px;
  margin-top: 2rem;
}

body.page .entry-content .wp-block-column {
  min-width: 0;
}

body.page .entry-content .wp-block-column > p,
body.page .entry-content > .wp-block-group > p {
  color: var(--wp--preset--color--text-soft);
}

body.page-id-17 .entry-content > .wp-block-group > p {
  padding: 24px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background: rgba(15, 23, 36, 0.82);
}

body.page-id-17 .entry-content > .wp-block-group > p {
  margin-top: 0;
}

body.page-id-17 .entry-content > .wp-block-group > p {
  max-width: 760px;
}

.wpforms-container {
  max-width: 760px;
  margin: 2rem 0 0 !important;
  padding: 24px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background: rgba(15, 23, 36, 0.82);
}

.wpforms-container .wpforms-field {
  padding: 0 0 18px;
}

.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel {
  color: var(--wp--preset--color--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.wpforms-container input.wpforms-field-medium,
.wpforms-container input.wpforms-field-large,
.wpforms-container select.wpforms-field-medium,
.wpforms-container select.wpforms-field-large,
.wpforms-container textarea.wpforms-field-medium,
.wpforms-container textarea.wpforms-field-large {
  width: 100%;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 10px;
  background: #0b1422;
  color: var(--wp--preset--color--text);
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
  border-color: var(--wp--preset--color--primary);
  box-shadow: 0 0 0 2px rgba(118, 161, 255, 0.2);
  outline: none;
}

.wpforms-container .wpforms-submit {
  min-height: 48px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-strong));
  color: #071424;
  font-weight: 700;
}

.wpforms-container .wpforms-error {
  color: #ffb4b4;
}

.jr-page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.jr-page-shell > h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

.jr-page-shell > p {
  max-width: 640px;
  color: var(--wp--preset--color--text-soft);
}

.jr-blog-card {
  margin-top: 1.5rem;
  padding: 24px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background: rgba(15, 23, 36, 0.82);
}

.jr-blog-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem !important;
  letter-spacing: 0 !important;
}

.jr-blog-card p {
  color: var(--wp--preset--color--text-soft);
}

.jr-post-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.jr-post-shell > h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

.jr-post-shell .wp-block-post-date {
  margin-bottom: 2rem;
  color: var(--wp--preset--color--muted);
  font-size: 0.85rem;
}

.jr-post-shell .wp-block-post-featured-image {
  margin-bottom: 2rem;
}

.jr-post-shell .wp-block-post-content {
  color: var(--wp--preset--color--text-soft);
}

header .jr-header-actions .is-style-outline .wp-block-button__link {
  border: 1px solid var(--wp--preset--color--border);
  background: transparent;
  color: var(--wp--preset--color--text);
}

/* Home layout aligned with the approved visual reference. */
.jr-home {
  width: 100%;
}

.jr-home > .wp-block-group {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.jr-hero {
  padding: 64px 0 40px;
}

.jr-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 42px;
  margin: 0;
}

.jr-hero-copy,
.jr-hero-visual {
  min-width: 0;
}

.jr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px;
  padding: 6px 12px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 999px;
  background: rgba(16, 24, 38, 0.65);
  color: var(--wp--preset--color--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jr-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wp--preset--color--primary);
  box-shadow: 0 0 12px rgba(118, 161, 255, 0.9);
  content: "";
}

.jr-hero-title {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(3rem, 5vw, 5rem) !important;
  font-weight: 900;
  letter-spacing: 0 !important;
  line-height: 0.98 !important;
}

.jr-hero-lead,
.jr-section-lead {
  max-width: 610px;
  color: var(--wp--preset--color--text-soft);
  font-size: 1rem;
}

.jr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.jr-hero-actions .wp-block-button__link,
.jr-cta-band .wp-element-button {
  min-height: 48px;
  padding: 14px 22px;
}

.jr-hero-actions .is-style-outline .wp-block-button__link {
  border: 1px solid var(--wp--preset--color--border);
  background: transparent;
  color: var(--wp--preset--color--text);
}

.jr-trust {
  gap: 10px;
  margin-top: 24px;
  color: var(--wp--preset--color--muted);
  font-size: 12px;
}

.jr-trust p {
  margin: 0;
}

.jr-trust-dots {
  color: var(--wp--preset--color--primary);
  letter-spacing: -3px;
}

.jr-visual-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 22, 35, 0.9), rgba(10, 16, 25, 0.9));
  box-shadow: 0 20px 60px rgba(4, 8, 15, 0.45);
}

.jr-visual-surface {
  position: relative;
  min-height: 420px;
  padding: 32px 42px 46px;
  gap: 0;
  background: linear-gradient(135deg, rgba(118, 161, 255, 0.18), rgba(118, 161, 255, 0.04)), radial-gradient(circle at top left, rgba(93, 131, 210, 0.3), transparent 40%), linear-gradient(180deg, #101c2d, #0a1220);
}

.jr-device {
  position: relative;
  height: 342px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 27, 40, 0.9), rgba(8, 13, 21, 0.55));
}

.jr-device-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 60px 22px 22px;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  background: linear-gradient(135deg, #0f1a29, #101f30);
}

.jr-screen-bar {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 126px;
  height: 12px;
  margin: 0;
  border-radius: 999px;
  background: rgba(118, 161, 255, 0.35);
}

.jr-screen-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  height: 100%;
  margin: 0 !important;
}

.jr-screen-grid > .wp-block-group {
  min-width: 0;
  margin: 0 !important;
}

.jr-screen-panel {
  min-height: 0;
  border: 1px solid rgba(118, 161, 255, 0.18);
  border-radius: 18px;
  background: rgba(118, 161, 255, 0.05);
}

.jr-screen-panel-large {
  padding: 18px;
}

.jr-mini-chip {
  width: 100px;
  height: 18px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: rgba(118, 161, 255, 0.35);
}

.jr-mini-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.jr-mini-block {
  height: 76px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(118, 161, 255, 0.22), rgba(118, 161, 255, 0.06));
}

.jr-floating-badge {
  position: absolute;
  right: -16px;
  bottom: 38px;
  padding: 14px 16px;
  border: 1px solid rgba(118, 161, 255, 0.22);
  border-radius: 16px;
  background: rgba(7, 13, 23, 0.9);
  box-shadow: 0 20px 60px rgba(4, 8, 15, 0.45);
}

.jr-floating-badge p,
.jr-floating-badge h3 {
  display: block;
  margin: 0;
}

.jr-floating-badge p {
  color: var(--wp--preset--color--text-soft);
  font-size: 11px;
}

.jr-floating-badge h3 {
  color: var(--wp--preset--color--primary);
  font-size: 1.35rem;
}

.jr-floating-badge .jr-floating-badge-title {
  color: var(--wp--preset--color--primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.jr-section {
  padding: 90px 0;
}

.jr-section h2 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.2vw, 3.1rem) !important;
  letter-spacing: 0 !important;
  line-height: 1.04 !important;
}

body.page .entry-content .jr-section h2 {
  margin-top: 0;
}

.jr-service-grid,
.jr-process-grid,
.jr-stats {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
}

.jr-service-grid,
.jr-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jr-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jr-service-grid > .wp-block-column,
.jr-process-grid > .wp-block-column,
.jr-stats > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}

.jr-card,
.jr-stat {
  height: 100%;
  padding: 24px 20px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  background: rgba(15, 23, 36, 0.82);
}

.jr-card-icon {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.jr-card h3,
.jr-step h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.jr-card p,
.jr-stat span {
  color: var(--wp--preset--color--text-soft);
}

.jr-card p:last-child {
  margin-bottom: 0;
}

.jr-stats {
  margin-top: 16px;
}

.jr-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--wp--preset--color--primary);
  font-size: 1.15rem;
}

.jr-stat span {
  font-size: 12px;
}

.jr-step-number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(118, 161, 255, 0.12);
  color: var(--wp--preset--color--primary);
  font-weight: 800;
}

.jr-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 28px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(118, 161, 255, 0.1), rgba(118, 161, 255, 0.03));
}

.jr-cta-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem) !important;
}

.jr-cta-band p {
  margin: 8px 0 0;
  color: var(--wp--preset--color--text-soft);
}

@media (max-width: 900px) {
  .jr-hero-grid,
  .jr-service-grid,
  .jr-process-grid,
  .jr-stats {
    grid-template-columns: 1fr;
  }

  .jr-hero-visual {
    max-width: 640px;
  }

  .jr-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  header.wp-block-template-part > .wp-block-group > .wp-block-group {
    gap: 10px;
  }

  header .wp-block-navigation {
    margin-left: 0;
  }
}

@media (max-width: 540px) {
  .jr-home > .wp-block-group {
    width: min(100% - 32px, 1180px);
  }

  .jr-hero {
    padding: 40px 0 28px;
  }

  body.page .entry-content h1.jr-hero-title {
    font-size: clamp(2rem, 10vw, 3.6rem) !important;
  }

  .jr-section {
    padding: 72px 0;
  }

  .jr-visual-surface {
    min-height: 330px;
    padding: 24px 28px 34px;
  }

  .jr-device {
    height: 270px;
    padding: 16px;
  }

  .jr-device-screen {
    padding: 48px 14px 14px;
  }

  .jr-screen-grid {
    gap: 10px;
  }

  .jr-screen-panel-large {
    padding: 12px;
  }

  .jr-mini-blocks {
    gap: 8px;
  }

  .jr-mini-blocks span {
    height: 56px;
  }

  .jr-mini-block {
    height: 56px;
  }

  .jr-floating-badge {
    right: 12px;
    bottom: 20px;
  }

  .jr-cta-band {
    padding: 28px 20px;
  }

  header.wp-block-template-part > .wp-block-group > .wp-block-group {
    min-height: 58px;
  }

  header.wp-block-template-part > .wp-block-group {
    width: calc(100% - 16px);
    margin-left: auto;
    margin-right: auto;
  }

  header .wp-block-site-title,
  header .wp-block-site-title a {
    font-size: 0.9rem !important;
  }

  header .jr-header-actions .is-style-outline {
    display: none;
  }

  header .jr-header-actions .wp-block-button__link {
    min-height: 36px;
    padding: 9px 12px;
    font-size: 0.65rem;
  }

  header .wp-block-navigation__responsive-container-open {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  body.page .entry-content.wp-block-post-content {
    width: calc(100% - 32px);
    padding-block: 3.5rem;
  }

  .wpforms-container {
    padding: 18px;
  }

  .jr-page-shell {
    width: calc(100% - 32px);
    padding-block: 3.5rem;
  }
}

/* Keep the Home flowing vertically when blocks are regrouped in the editor. */
body.home .entry-content > .wp-block-group.is-nowrap.is-layout-flex:has(> .jr-home) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

body.home .entry-content > .wp-block-group.is-nowrap.is-layout-flex:has(> .jr-home) > .jr-home {
  display: contents !important;
}

.jr-home > .jr-hero {
  order: 0;
}

.jr-home > .jr-services-section {
  order: 1;
}

body.home .entry-content > .wp-block-group.is-nowrap.is-layout-flex:has(> .jr-home) > .jr-card {
  order: 2;
  width: min(760px, calc(100% - 32px));
  align-self: center;
  margin: 24px 0 0;
}

.jr-home > .jr-difference-section {
  order: 3;
}

.jr-home > .jr-process-section {
  order: 4;
}

.jr-home > .jr-guarantee-section {
  order: 5;
}

.jr-home > .jr-data-section {
  order: 6;
}

.jr-home > .jr-cta-section {
  order: 7;
}

.jr-services-section .jr-service-grid > .wp-block-group.is-nowrap.is-layout-flex:has(> .jr-card) {
  display: contents !important;
}

.jr-services-section .jr-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.jr-services-section .jr-service-grid > .jr-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  margin-top: 0 !important;
}

.jr-services-section .jr-card blockquote {
  margin: 14px 0 0;
  padding-left: 12px;
}

.jr-services-section .jr-card > .jr-service-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.jr-services-section .jr-card > .jr-service-list + .jr-service-list {
  margin-top: 8px;
}

.jr-services-section .jr-card > .jr-service-list > li {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(118, 161, 255, 0.22);
  border-radius: 8px;
  background: rgba(118, 161, 255, 0.08);
  color: var(--wp--preset--color--text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.jr-services-section .jr-service-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.jr-services-section .jr-service-grid > .wp-block-group:has(> .jr-service-accordion-item) {
  display: contents !important;
}

.jr-services-section .jr-service-accordion-item {
  display: block;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(118, 161, 255, 0.2);
  border-radius: 16px;
  background: rgba(5, 20, 50, 0.52);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.jr-services-section .jr-service-accordion-item[open] {
  border-color: #2483ff;
  background: rgba(7, 28, 57, 0.78);
}

.jr-services-section .jr-service-accordion-item > summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  padding: 12px 28px;
  color: #f2f5fb;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
}

.jr-services-section .jr-service-accordion-item > summary::-webkit-details-marker {
  display: none;
}

.jr-services-section .jr-service-accordion-item > summary::marker {
  content: "";
}

.jr-services-section .jr-service-accordion-item > summary::before {
  width: 36px;
  height: 44px;
  flex: 0 0 36px;
  background: #76a1ff;
  content: "";
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.jr-services-section .jr-service-accordion-item--phone > summary::before {
  -webkit-mask-image: url("assets/images/jr-icon-service-phone.svg");
  mask-image: url("assets/images/jr-icon-service-phone.svg");
}

.jr-services-section .jr-service-accordion-item--computer > summary::before {
  width: 42px;
  flex-basis: 42px;
  -webkit-mask-image: url("assets/images/jr-icon-service-computer.svg");
  mask-image: url("assets/images/jr-icon-service-computer.svg");
}

.jr-services-section .jr-service-accordion-item--console > summary::before {
  width: 44px;
  flex-basis: 44px;
  -webkit-mask-image: url("assets/images/jr-icon-service-console.svg");
  mask-image: url("assets/images/jr-icon-service-console.svg");
}

.jr-services-section .jr-service-accordion-item--watch > summary::before {
  -webkit-mask-image: url("assets/images/jr-icon-service-watch.svg");
  mask-image: url("assets/images/jr-icon-service-watch.svg");
}

.jr-services-section .jr-service-accordion-item--chip > summary::before {
  -webkit-mask-image: url("assets/images/jr-icon-service-chip.svg");
  mask-image: url("assets/images/jr-icon-service-chip.svg");
}

.jr-services-section .jr-service-accordion-item > summary::after {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-left: auto;
  border-right: 3px solid #4a8dff;
  border-bottom: 3px solid #4a8dff;
  content: "";
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.jr-services-section .jr-service-accordion-item[open] > summary::after {
  transform: translateY(3px) rotate(225deg);
}

.jr-services-section .jr-service-accordion-item > summary:focus-visible {
  outline: 2px solid #76a1ff;
  outline-offset: -4px;
}

.jr-services-section .jr-service-accordion-item[open] > summary {
  background: linear-gradient(100deg, rgba(12, 51, 112, 0.48), rgba(5, 20, 50, 0.3));
}

.jr-services-section .jr-service-accordion-item > blockquote {
  margin: 18px 28px 12px;
  padding: 2px 0 2px 14px;
  border-left: 3px solid #76a1ff;
  color: #c3d2e8;
}

.jr-services-section .jr-service-accordion-item > blockquote p {
  margin: 0;
}

.jr-services-section .jr-service-accordion-item > .jr-service-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  margin: 0 28px 8px;
  padding: 0;
  list-style: none;
}

.jr-services-section .jr-service-accordion-item > .jr-service-list:last-child {
  margin-bottom: 18px;
}

.jr-services-section .jr-service-accordion-item > .jr-service-list > li {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(118, 161, 255, 0.2);
  border-radius: 12px;
  background: rgba(118, 161, 255, 0.06);
  color: #c3d2e8;
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.jr-technical-photo {
  margin-block-start: 32px !important;
}

@media (max-width: 900px) {
  .jr-services-section .jr-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jr-technical-photo {
    margin-block-start: 24px !important;
  }
}

@media (max-width: 600px) {
  .jr-services-section .jr-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jr-services-section .jr-service-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .jr-services-section .jr-service-accordion-item > summary {
    min-height: 64px;
    gap: 18px;
    padding: 10px 16px;
    font-size: 1rem;
  }

  .jr-services-section .jr-service-accordion-item > summary::before {
    width: 30px;
    height: 38px;
    flex-basis: 30px;
  }

  .jr-services-section .jr-service-accordion-item--computer > summary::before,
  .jr-services-section .jr-service-accordion-item--console > summary::before {
    width: 34px;
    flex-basis: 34px;
  }

  .jr-services-section .jr-service-accordion-item > blockquote {
    margin: 14px 16px 10px;
  }

  .jr-services-section .jr-service-accordion-item > .jr-service-list {
    gap: 7px;
    margin: 0 16px 7px;
  }

  .jr-services-section .jr-service-accordion-item > .jr-service-list:last-child {
    margin-bottom: 16px;
  }

  .jr-services-section .jr-service-accordion-item > .jr-service-list > li {
    padding: 7px 11px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Badge "Especializado en Apple" junto al título de Servicios disponibles */
.jr-services-section .jr-services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 14px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.jr-services-section .jr-services-head > h2.wp-block-heading {
  margin: 0 !important;
}

.jr-services-section .jr-services-title-accent {
  color: var(--wp--preset--color--primary);
}

.jr-services-section .jr-badge-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(118, 161, 255, 0.55);
  border-radius: 999px;
  background: rgba(118, 161, 255, 0.12);
  color: #76a1ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.jr-services-section .jr-badge-apple::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 13px;
  background: #76a1ff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.jr-process-section .jr-process-pills {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 16px 0 0;
}

.jr-home > .jr-process-section {
  padding-top: 36px;
  padding-bottom: 24px;
}

.jr-process-section .jr-process-pill {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 8px 15px;
  border: 1px solid rgba(118, 161, 255, 0.52);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(25, 46, 78, 0.5), rgba(15, 23, 36, 0.72));
  box-shadow: inset 0 1px 4px rgba(118, 161, 255, 0.08);
}

.jr-process-section .jr-process-pill:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  color: rgba(118, 161, 255, 0.85);
  content: "›";
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.jr-process-section .jr-process-pill-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  margin: 0;
  color: #76a1ff;
  font-size: 1rem;
  line-height: 1;
}

.jr-process-section .jr-process-pill-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  white-space: nowrap;
}

.jr-process-section .jr-process-pill-copy h3 {
  margin: 0;
  color: #f2f5fb;
  font-size: 0.9rem;
  line-height: 1.1;
}

.jr-process-section .jr-process-pill-copy p {
  margin: 0;
  color: #aab6ca;
  font-size: 0.54rem;
  line-height: 1.1;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .jr-process-section .jr-process-pills {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 20px 58px;
  }

  .jr-process-section .jr-process-pill:nth-child(2)::after {
    top: calc(100% + 1px);
    left: 50%;
    content: "⌄";
    font-size: 0.9rem;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .jr-home > .jr-process-section {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .jr-process-section .jr-process-pills {
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
    gap: 12px;
    margin-top: 14px;
  }

  .jr-process-section .jr-process-pill {
    width: max-content;
    min-height: 46px;
  }

  .jr-process-section .jr-process-pill:not(:last-child)::after {
    top: calc(100% + 1px);
    left: 50%;
    content: "⌄";
    font-size: 0.8rem;
    transform: translateX(-50%);
  }
}

.jr-home > .jr-quality-warranty-section {
  order: 2;
  padding-top: 46px;
  padding-bottom: 42px;
}

.jr-quality-warranty-section {
  scroll-margin-top: 84px;
}

.jr-quality-warranty-section .jr-quality-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 6px;
}

.jr-quality-warranty-section .jr-quality-intro h2 {
  margin: 0;
  max-width: 720px;
}

.jr-quality-warranty-section .jr-quality-summary {
  max-width: 720px;
  margin: 0 0 4px;
  color: #b7c1d2;
  font-size: 0.9rem;
  line-height: 1.55;
}

.jr-quality-warranty-section .jr-quality-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.jr-quality-warranty-section .jr-quality-card {
  min-width: 0;
  min-height: 118px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(118, 161, 255, 0.32);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16, 31, 53, 0.92), rgba(9, 17, 30, 0.9));
}

.jr-quality-warranty-section .jr-quality-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin: 0 0 8px;
  border: 1px solid rgba(118, 161, 255, 0.38);
  border-radius: 50%;
  background: rgba(118, 161, 255, 0.1);
  color: #76a1ff;
  font-size: 1rem;
  line-height: 1;
}

.jr-quality-warranty-section .jr-quality-card h3 {
  margin: 0 0 4px;
  color: #f2f5fb;
  font-size: 0.98rem;
  line-height: 1.25;
}

.jr-quality-warranty-section .jr-quality-card-copy {
  margin: 0;
  color: #b7c1d2;
  font-size: 0.78rem;
  line-height: 1.4;
}

.jr-quality-warranty-section .jr-brand-label {
  margin: 18px 0 6px;
  color: #9aa9c1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jr-quality-warranty-section .jr-brand-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 26px;
  overflow-x: auto;
  margin: 0;
  padding: 8px 2px 12px;
  border-bottom: 1px solid rgba(118, 161, 255, 0.16);
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(118, 161, 255, 0.5) rgba(15, 23, 36, 0.8);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-name {
  flex: 0 0 auto;
  margin: 0;
  color: #e0e7f2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.jr-quality-warranty-section .jr-warranty-band {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(118, 161, 255, 0.22);
  border-radius: 14px;
  background: rgba(7, 16, 29, 0.86);
}

.jr-quality-warranty-section .jr-warranty-heading,
.jr-quality-warranty-section .jr-warranty-item {
  min-width: 0;
  margin: 0;
  padding: 0 14px;
}

.jr-quality-warranty-section .jr-warranty-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.jr-quality-warranty-section .jr-warranty-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(118, 161, 255, 0.5);
  border-radius: 50%;
  background: rgba(118, 161, 255, 0.12);
  color: #76a1ff;
  font-size: 1rem;
}

.jr-quality-warranty-section .jr-warranty-heading h3 {
  margin: 0;
  color: #eef3fc;
  font-size: 0.84rem;
  line-height: 1.25;
}

.jr-quality-warranty-section .jr-warranty-item {
  min-height: 42px;
  border-left: 1px solid rgba(118, 161, 255, 0.18);
}

.jr-quality-warranty-section .jr-warranty-item h3 {
  margin: 0 0 3px;
  color: #76a1ff;
  font-size: 1rem;
  line-height: 1.15;
}

.jr-quality-warranty-section .jr-warranty-copy {
  margin: 0;
  color: #b7c1d2;
  font-size: 0.68rem;
  line-height: 1.35;
}

.jr-quality-warranty-section .jr-warranty-note {
  margin: 8px 0 0;
  color: #8f9db2;
  font-size: 0.68rem;
  line-height: 1.4;
}

.jr-quality-warranty-section .jr-warranty-link-wrap {
  margin-top: 4px;
}

.jr-quality-warranty-section .jr-warranty-link-wrap .wp-block-button__link {
  min-height: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #91b2ff;
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 780px) {
  .jr-home > .jr-quality-warranty-section {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .jr-quality-warranty-section .jr-quality-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .jr-quality-warranty-section .jr-quality-options {
    gap: 10px;
  }

  .jr-quality-warranty-section .jr-quality-card {
    padding: 14px;
  }

  .jr-quality-warranty-section .jr-warranty-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
    padding: 14px 12px;
  }

  .jr-quality-warranty-section .jr-warranty-heading {
    grid-column: 1 / -1;
    padding: 0 0 10px;
  }

  .jr-quality-warranty-section .jr-warranty-item:first-of-type {
    border-left: 0;
    padding-left: 0;
  }

  .jr-quality-warranty-section .jr-warranty-item {
    padding: 0 10px;
  }
}

@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-quality-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 16px;
  }

  .jr-quality-warranty-section .jr-quality-card {
    min-height: 0;
    padding: 12px 14px;
  }

  .jr-quality-warranty-section .jr-quality-icon {
    display: none;
  }

  .jr-quality-warranty-section .jr-warranty-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .jr-quality-warranty-section .jr-warranty-heading {
    grid-column: auto;
    padding-bottom: 8px;
  }

  .jr-quality-warranty-section .jr-warranty-item,
  .jr-quality-warranty-section .jr-warranty-item:first-of-type {
    min-height: 0;
    padding: 0;
    border-left: 0;
  }
}

/* Apoyo visual local, sin alterar contenido ni geometría de las tarjetas */
.jr-quality-warranty-section .jr-quality-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.jr-quality-warranty-section .jr-quality-card::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 66%;
  height: 72%;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.9;
  pointer-events: none;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 170'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2376a1ff' stop-opacity='.64'/%3E%3Cstop offset='1' stop-color='%23091220' stop-opacity='.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M103 22 282 0l74 142-176 28z' fill='url(%23g)' opacity='.38'/%3E%3Cpath d='m147 13 125-13 75 140-125 22z' fill='%230d1b2e' stroke='%2376a1ff' stroke-opacity='.56' stroke-width='2'/%3E%3Cpath d='m166 25 92-10 53 102-92 13z' fill='%23121f31' stroke='%239dbbff' stroke-opacity='.26'/%3E%3Cg fill='%23050b13' stroke='%2376a1ff' stroke-opacity='.48' stroke-width='3'%3E%3Ccircle cx='202' cy='53' r='18'/%3E%3Ccircle cx='245' cy='48' r='18'/%3E%3Ccircle cx='216' cy='92' r='15'/%3E%3C/g%3E%3Ccircle cx='202' cy='53' r='8' fill='%234b82d6' opacity='.6'/%3E%3Ccircle cx='245' cy='48' r='8' fill='%234b82d6' opacity='.6'/%3E%3Cpath d='m137 34-88 92 80 44 46-88z' fill='%2376a1ff' opacity='.12'/%3E%3C/svg%3E");
}

.jr-quality-warranty-section .jr-quality-card:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 170'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%234e8ff4' stop-opacity='.54'/%3E%3Cstop offset='1' stop-color='%2309111d' stop-opacity='.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='m66 22 159-22 98 35-159 25z' fill='url(%23g)' opacity='.6'/%3E%3Cpath d='m102 33 127-20 96 43-127 22z' fill='%23101b2b' stroke='%2376a1ff' stroke-opacity='.6' stroke-width='2'/%3E%3Cpath d='m198 78 108-18 42 81-111 20z' fill='%230b1421' stroke='%2376a1ff' stroke-opacity='.48' stroke-width='2'/%3E%3Cpath d='m218 92 62-10 25 48-63 11z' fill='%231c2b3f' stroke='%239dbbff' stroke-opacity='.4'/%3E%3Cpath d='m233 102 31-5 12 24-31 5z' fill='%23050b13' stroke='%2376a1ff' stroke-opacity='.55'/%3E%3Cpath d='m112 50 82-13 78 35-84 14z' fill='%231d2e44' stroke='%2376a1ff' stroke-opacity='.35'/%3E%3Cpath d='m85 65 90-14 77 35-91 15z' fill='%230d1725' stroke='%239dbbff' stroke-opacity='.25'/%3E%3Cpath d='m95 115 94-15' stroke='%2376a1ff' stroke-opacity='.55' stroke-width='3'/%3E%3C/svg%3E");
}

.jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 170'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2376a1ff' stop-opacity='.46'/%3E%3Cstop offset='1' stop-color='%2307101b' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='m46 27 192-24 122 38-196 29z' fill='url(%23g)' opacity='.44'/%3E%3Cpath d='m97 39 145-20 91 31-144 23z' fill='%230d1928' stroke='%2376a1ff' stroke-opacity='.48' stroke-width='2'/%3E%3Cpath d='m70 81 72-10m-60 27 55-8m-44 26 40-6m101-70 68-10m-57 24 76-11m-62 25 85-12' stroke='%2376a1ff' stroke-opacity='.52' stroke-width='3'/%3E%3Crect x='160' y='61' width='94' height='77' rx='5' transform='rotate(-8 160 61)' fill='%23101d2d' stroke='%2376a1ff' stroke-opacity='.8' stroke-width='3'/%3E%3Crect x='183' y='79' width='49' height='39' rx='3' transform='rotate(-8 183 79)' fill='%23040a12' stroke='%239dbbff' stroke-opacity='.62' stroke-width='2'/%3E%3Cpath d='m158 58-7-16m27 14-2-18m30 14 3-18m30 16 8-17m-94 92-18 8m46-12-3 19m34-24 3 18m26-28 17 8' stroke='%2376a1ff' stroke-opacity='.75' stroke-width='3'/%3E%3C/svg%3E");
}

.jr-quality-warranty-section .jr-quality-card > * {
  position: relative;
  z-index: 1;
}

.jr-quality-warranty-section .jr-quality-icon {
  position: relative;
  font-size: 0;
}

.jr-quality-warranty-section .jr-quality-icon::before {
  width: 18px;
  height: 18px;
  background: #76a1ff;
  content: "";
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(1) .jr-quality-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 20 6v5.2c0 5.2-3.4 8.8-8 10.3-4.6-1.5-8-5.1-8-10.3V6zM12 6l2.1 4.1 4.5.7-3.3 3.2.8 4.5-4.1-2.1-4.1 2.1.8-4.5-3.3-3.2 4.5-.7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5 20 6v5.2c0 5.2-3.4 8.8-8 10.3-4.6-1.5-8-5.1-8-10.3V6zM12 6l2.1 4.1 4.5.7-3.3 3.2.8 4.5-4.1-2.1-4.1 2.1.8-4.5-3.3-3.2 4.5-.7z'/%3E%3C/svg%3E");
}

.jr-quality-warranty-section .jr-quality-card:nth-child(2) .jr-quality-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 10 5-10 5L2 7zm-8 9 8 4 8-4 2 1-10 5-10-5zm0 5 8 4 8-4 2 1-10 5-10-5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 10 5-10 5L2 7zm-8 9 8 4 8-4 2 1-10 5-10-5zm0 5 8 4 8-4 2 1-10 5-10-5z'/%3E%3C/svg%3E");
}

.jr-quality-warranty-section .jr-quality-card:nth-child(3) .jr-quality-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 2h2v3h4V2h2v3h2a3 3 0 0 1 3 3v2h2v2h-2v4h2v2h-2v2a3 3 0 0 1-3 3h-2v2h-2v-2h-4v2H8v-2H6a3 3 0 0 1-3-3v-2H1v-2h2v-4H1v-2h2V8a3 3 0 0 1 3-3h2zm-2 5v12h12V7zm3 3h6v6H9z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 2h2v3h4V2h2v3h2a3 3 0 0 1 3 3v2h2v2h-2v4h2v2h-2v2a3 3 0 0 1-3 3h-2v2h-2v-2h-4v2H8v-2H6a3 3 0 0 1-3-3v-2H1v-2h2v-4H1v-2h2V8a3 3 0 0 1 3-3h2zm-2 5v12h12V7zm3 3h6v6H9z'/%3E%3C/svg%3E");
}

.jr-quality-warranty-section .jr-brand-strip {
  scrollbar-width: none;
}

.jr-quality-warranty-section .jr-brand-strip::-webkit-scrollbar {
  display: none;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-name {
  color: #e8eef9;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 0 12px rgba(118, 161, 255, 0.14);
}

.jr-quality-warranty-section .jr-brand-name:nth-child(2n) {
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jr-quality-warranty-section .jr-brand-name:nth-child(5n) {
  color: #b9ceff;
  letter-spacing: 0.015em;
}

.jr-quality-warranty-section .jr-brand-name:nth-child(7n) {
  font-weight: 600;
  letter-spacing: 0.035em;
}

@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-quality-icon {
    display: grid;
    position: absolute;
    z-index: 0;
    top: 12px;
    right: 12px;
    margin: 0;
  }
}

/* Fotografías aportadas para las tarjetas de calidad y garantía */
.jr-quality-warranty-section .jr-quality-card:nth-child(1) {
  background-image:
    linear-gradient(90deg, rgba(8, 16, 29, 0.97) 0%, rgba(8, 16, 29, 0.9) 46%, rgba(8, 16, 29, 0.42) 70%, rgba(8, 16, 29, 0.04) 100%),
    url("assets/images/repuesto-original-destacado.jpg");
  background-position: center, center right;
  background-size: cover, cover;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(2) {
  background-image:
    linear-gradient(90deg, rgba(8, 16, 29, 0.97) 0%, rgba(8, 16, 29, 0.9) 46%, rgba(8, 16, 29, 0.42) 70%, rgba(8, 16, 29, 0.04) 100%),
    url("assets/images/repuesto-compatible-destacado.jpg");
  background-position: center, center right;
  background-size: cover, cover;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(3) {
  background-image:
    linear-gradient(90deg, rgba(8, 16, 29, 0.97) 0%, rgba(8, 16, 29, 0.9) 46%, rgba(8, 16, 29, 0.42) 70%, rgba(8, 16, 29, 0.04) 100%),
    url("assets/images/repuesto-reparacion-destacado.jpg");
  background-position: center, center right;
  background-size: cover, cover;
}

.jr-quality-warranty-section .jr-quality-card::after,
.jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
.jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
.jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
  top: 8%;
  right: 6%;
  width: 42%;
  height: 68%;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: none !important;
  opacity: 1;
}

.jr-quality-warranty-section .jr-quality-icon {
  width: 40px;
  height: 40px;
}

.jr-quality-warranty-section .jr-quality-icon::before {
  width: 24px;
  height: 24px;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-name {
  display: grid;
  width: 68px;
  height: 30px;
  flex: 0 0 68px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(118, 161, 255, 0.16);
  border-radius: 5px;
  background: rgba(118, 161, 255, 0.025);
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  text-shadow: none;
  text-transform: none;
}

@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-quality-card:nth-child(1),
  .jr-quality-warranty-section .jr-quality-card:nth-child(2),
  .jr-quality-warranty-section .jr-quality-card:nth-child(3) {
    background-position: center, 68% center;
    background-size: cover, cover;
  }

  .jr-quality-warranty-section .jr-quality-icon {
    width: 36px;
    height: 36px;
  }

  .jr-quality-warranty-section .jr-quality-icon::before {
    width: 22px;
    height: 22px;
  }

  .jr-quality-warranty-section .jr-quality-card::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
    right: 58px;
    width: 34%;
  }
}

/* Logos de marcas: monocromos claros, sin fondo */
.jr-quality-warranty-section .jr-brand-strip {
  align-items: center;
  gap: 36px;
  padding: 14px 2px 16px;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-logo {
  display: flex;
  width: auto;
  height: 26px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  align-items: center;
  background: none;
  box-shadow: none;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 92px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-logo:hover img {
  opacity: 1;
}

@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-brand-strip {
    gap: 28px;
  }

  .jr-quality-warranty-section .jr-brand-strip > .jr-brand-logo {
    height: 22px;
  }

  .jr-quality-warranty-section .jr-brand-strip > .jr-brand-logo img {
    max-width: 76px;
  }
}
/* Logos con detalle interno: se pasan a gris claro en lugar de silueta para no perder el dibujo */
.jr-quality-warranty-section .jr-brand-logo img[src*="amaoe.png"],
.jr-quality-warranty-section .jr-brand-logo img[src*="jcid.png"],
.jr-quality-warranty-section .jr-brand-logo img[src*="maant.png"],
.jr-quality-warranty-section .jr-brand-logo img[src*="mechanic.png"],
.jr-quality-warranty-section .jr-brand-logo img[src*="ycs-mr-yang.png"] {
  filter: grayscale(1) brightness(1.5);
}

.jr-quality-warranty-section .jr-brand-logo img[src*="amaoe.png"],
.jr-quality-warranty-section .jr-brand-logo img[src*="ycs-mr-yang.png"] {
  filter: grayscale(1) brightness(0.7) contrast(1.8);
}

.jr-quality-warranty-section .jr-brand-logo img[src*="2uul.png"] {
  filter: grayscale(1) invert(1) brightness(1.5);
}

/* Carrusel automático: lo mueve assets/js/brand-marquee.js (en el editor la tira sigue siendo una fila normal) */
.jr-quality-warranty-section .jr-brand-strip {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.jr-quality-warranty-section .jr-brand-strip.is-dragging {
  cursor: grabbing;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-logo {
  height: calc(34px * var(--k, 1));
  justify-content: center;
  overflow: visible;
}

.jr-quality-warranty-section .jr-brand-strip > .jr-brand-logo img {
  max-width: none;
  max-height: none;
  flex: none;
  pointer-events: none;
}
/* Tira de marcas: cada logo se normaliza por su caja visible real (sin modificar los archivos originales) */
.jr-quality-warranty-section .jr-brand-strip{--k:1}
@media (max-width:560px){.jr-quality-warranty-section .jr-brand-strip{--k:0.85}}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="2uul.png"]){width:calc(72.8px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="2uul.png"]{width:calc(80.1px*var(--k));height:calc(32.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="aifen.png"]){width:calc(107.4px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="aifen.png"]{width:calc(131.0px*var(--k));height:calc(131.0px*var(--k));transform:translate(calc(2.6px*var(--k)),calc(0.3px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="aixun.png"]){width:calc(32.2px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="aixun.png"]{width:calc(59.2px*var(--k));height:calc(39.5px*var(--k));transform:translate(calc(0.8px*var(--k)),calc(2.1px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="amaoe.png"]){width:calc(30.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="amaoe.png"]{width:calc(42.9px*var(--k));height:calc(42.9px*var(--k));transform:translate(calc(0.1px*var(--k)),calc(0.6px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="jcid.png"]){width:calc(20.4px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="jcid.png"]{width:calc(35.0px*var(--k));height:calc(35.0px*var(--k));transform:translate(calc(0.2px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="maant.png"]){width:calc(52.4px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="maant.png"]{width:calc(56.3px*var(--k));height:calc(56.3px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.2px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="mechanic.png"]){width:calc(39.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="mechanic.png"]{width:calc(52.8px*var(--k));height:calc(52.8px*var(--k));transform:translate(calc(-2.0px*var(--k)),calc(-0.4px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="ycs-mr-yang.png"]){width:calc(29.9px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="ycs-mr-yang.png"]{width:calc(33.6px*var(--k));height:calc(33.6px*var(--k));transform:translate(calc(0.0px*var(--k)),calc(0.2px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="AQ7.png"]){width:calc(59.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="AQ7.png"]{width:calc(88.5px*var(--k));height:calc(88.5px*var(--k));transform:translate(calc(-0.3px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="X07-symbol.png"]){width:calc(51.7px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="X07-symbol.png"]{width:calc(51.7px*var(--k));height:calc(26.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="ampsentrix.png"]){width:calc(108.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="ampsentrix.png"]{width:calc(118.0px*var(--k));height:calc(40.9px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="jk.png"]){width:calc(34.4px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="jk.png"]{width:calc(49.1px*var(--k));height:calc(26.8px*var(--k));transform:translate(calc(0.2px*var(--k)),calc(0.2px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="ARCTIC.png"]){width:calc(26.8px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="ARCTIC.png"]{width:calc(34.2px*var(--k));height:calc(37.4px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="ThermalGrizzly.png"]){width:calc(70.5px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="ThermalGrizzly.png"]{width:calc(70.5px*var(--k));height:calc(22.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="amtech.png"]){width:calc(59.6px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="amtech.png"]{width:calc(66.4px*var(--k));height:calc(29.9px*var(--k));transform:translate(calc(0.3px*var(--k)),calc(0.7px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="owon.png"]){width:calc(93.3px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="owon.png"]{width:calc(106.4px*var(--k));height:calc(48.4px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(0.1px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="qianli.png"]){width:calc(82.1px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="qianli.png"]{width:calc(94.6px*var(--k));height:calc(94.6px*var(--k));transform:translate(calc(-2.2px*var(--k)),calc(2.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="quick.png"]){width:calc(76.2px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="quick.png"]{width:calc(76.2px*var(--k));height:calc(22.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="relife.png"]){width:calc(108.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="relife.png"]{width:calc(158.1px*var(--k));height:calc(52.7px*var(--k));transform:translate(calc(0.0px*var(--k)),calc(0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="rigol.png"]){width:calc(96.1px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="rigol.png"]{width:calc(105.5px*var(--k));height:calc(31.1px*var(--k));transform:translate(calc(-1.1px*var(--k)),calc(-2.4px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="apple.svg"]){width:calc(24.4px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="apple.svg"]{width:calc(30.0px*var(--k));height:calc(30.0px*var(--k));transform:translate(calc(0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="google.svg"]){width:calc(29.2px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="google.svg"]{width:calc(30.0px*var(--k));height:calc(30.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="lg.svg"]){width:calc(49.9px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="lg.svg"]{width:calc(49.9px*var(--k));height:calc(49.9px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="motorola.svg"]){width:calc(30.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="motorola.svg"]{width:calc(30.0px*var(--k));height:calc(30.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="oneplus.svg"]){width:calc(30.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="oneplus.svg"]{width:calc(30.0px*var(--k));height:calc(30.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="oppo.svg"]){width:calc(92.5px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="oppo.svg"]{width:calc(92.5px*var(--k));height:calc(92.5px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="samsung.svg"]){width:calc(108.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="samsung.svg"]{width:calc(108.0px*var(--k));height:calc(108.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}
.jr-quality-warranty-section .jr-brand-logo:has(img[src$="xiaomi.svg"]){width:calc(30.0px*var(--k))}
.jr-quality-warranty-section .jr-brand-logo img[src$="xiaomi.svg"]{width:calc(30.0px*var(--k));height:calc(30.0px*var(--k));transform:translate(calc(-0.0px*var(--k)),calc(-0.0px*var(--k)))}

/* Evita el scroll vertical interno: las cajas de los logos son más altas que su parte visible */
.jr-quality-warranty-section .jr-brand-strip {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

/* Reseñas de clientes (contenido provisional) */
.jr-home > .jr-reviews-section { order: 5; padding-top: 46px; padding-bottom: 42px; }
.jr-reviews-section .jr-reviews-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); align-items: center; gap: 20px 40px; margin-top: 6px; }
.jr-reviews-section .jr-reviews-intro h2 { margin: 0 0 12px; max-width: 560px; }
.jr-reviews-section .jr-reviews-summary { margin: 0; max-width: 480px; color: #b7c1d2; font-size: 0.9rem; line-height: 1.55; }
.jr-reviews-section .jr-reviews-google { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; align-items: center; column-gap: 12px; row-gap: 2px; margin: 0; padding: 14px 18px; text-align: left; border: 1px solid rgba(118, 161, 255, 0.32); border-radius: 14px; background: linear-gradient(145deg, rgba(16, 31, 53, 0.92), rgba(9, 17, 30, 0.9)); }
.jr-reviews-section .jr-reviews-glogo { grid-column: 1; grid-row: 1 / 4; display: block; width: 40px; height: 40px; margin: 0; background: transparent url("assets/logos/other/Google__G__logo.svg") center / contain no-repeat; color: transparent; font-size: 0; }
.jr-reviews-section .jr-review-g { display: grid; place-items: center; width: 28px; height: 28px; margin: 0; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 800; font-size: 0.95rem; line-height: 1; }
.jr-reviews-section .jr-reviews-score { margin: 0; font-size: 2.6rem; font-weight: 800; line-height: 1.1; color: #fff; }
.jr-reviews-section .jr-reviews-score { grid-column: 2; grid-row: 1; }
.jr-reviews-section .jr-reviews-score-stars, .jr-reviews-section .jr-review-stars { margin: 0; color: #76a1ff; letter-spacing: 3px; line-height: 1; }
.jr-reviews-section .jr-reviews-score-stars { grid-column: 2; grid-row: 2; font-size: 1.05rem; }
.jr-reviews-section .jr-reviews-count { grid-column: 2; grid-row: 3; margin: 0; color: #b7c1d2; font-size: 0.76rem; }
.jr-reviews-section .jr-reviews-google .wp-block-buttons { grid-column: 3; grid-row: 1 / 4; justify-content: center; }
.jr-reviews-section .jr-reviews-google .wp-block-button__link { padding: 9px 14px; white-space: nowrap; font-size: 0.8rem; }
.jr-reviews-section .jr-reviews-carousel { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.jr-reviews-section .jr-reviews-widget { margin-top: 24px; }
.jr-reviews-section .jr-reviews-widget .ti-widget.ti-goog[data-layout-category="slider"] .ti-review-item .ti-inner { background: rgba(15, 23, 36, 0.82) !important; border: 1px solid var(--wp--preset--color--border) !important; color: #fff !important; }
.jr-reviews-section .jr-reviews-widget .ti-widget.ti-goog[data-layout-category="slider"] .ti-inner .ti-name,
.jr-reviews-section .jr-reviews-widget .ti-widget.ti-goog[data-layout-category="slider"] .ti-inner .ti-date,
.jr-reviews-section .jr-reviews-widget .ti-widget.ti-goog[data-layout-category="slider"] .ti-inner .ti-review-content,
.jr-reviews-section .jr-reviews-widget .ti-widget.ti-goog[data-layout-category="slider"] .ti-inner .ti-read-more { color: #fff !important; }
.jr-reviews-section .jr-reviews-widget .ti-widget.ti-goog[data-layout-category="slider"] .ti-controls .ti-next,
.jr-reviews-section .jr-reviews-widget .ti-widget.ti-goog[data-layout-category="slider"] .ti-controls .ti-prev { background-color: #051432 !important; outline-color: #76A1FF !important; }
.jr-reviews-section .jr-reviews-track { display: flex; flex: 1 1 auto; min-width: 0; gap: 14px; margin: 24px 0 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.jr-reviews-section .jr-reviews-carousel .jr-reviews-track { margin: 0; }
.jr-reviews-section .jr-reviews-track::-webkit-scrollbar { display: none; }
.jr-reviews-section .jr-review-card { flex: 0 0 calc((100% - 42px) / 4); min-width: 0; margin: 0; padding: 12px 14px; scroll-snap-align: start; border: 1px solid rgba(118, 161, 255, 0.28); border-radius: 14px; background: rgba(7, 16, 29, 0.86); }
.jr-reviews-section .jr-review-head { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; }
.jr-reviews-section .jr-review-avatar { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; margin: 0; border-radius: 50%; background: rgba(118, 161, 255, 0.18); border: 1px solid rgba(118, 161, 255, 0.45); color: #76a1ff; font-weight: 700; }
.jr-reviews-section .jr-review-who { flex: 1 1 auto; min-width: 0; margin: 0; }
.jr-reviews-section .jr-review-name { margin: 0; font-size: 0.88rem; font-weight: 700; color: #fff; }
.jr-reviews-section .jr-review-date { margin: 0; font-size: 0.74rem; color: #8d9ab0; }
.jr-reviews-section .jr-review-g { flex: 0 0 22px; width: 22px; height: 22px; font-size: 0.75rem; }
.jr-reviews-section .jr-review-stars { margin-bottom: 6px; font-size: 0.88rem; }
.jr-reviews-section .jr-review-text { margin: 0; color: #d5dbe6; font-size: 0.82rem; line-height: 1.4; }
.jr-reviews-section .jr-reviews-arrow { flex: 0 0 34px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(118, 161, 255, 0.4); border-radius: 50%; background: rgba(7, 16, 29, 0.9); color: #76a1ff; font: 700 1.2rem/1 Montserrat, sans-serif; cursor: pointer; }
.jr-reviews-section .jr-reviews-arrow:hover:not(:disabled), .jr-reviews-section .jr-reviews-arrow:focus-visible { background: rgba(118, 161, 255, 0.18); }
.jr-reviews-section .jr-reviews-arrow:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 1024px) { .jr-reviews-section .jr-review-card { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 782px) {
  .jr-reviews-section .jr-reviews-top { grid-template-columns: minmax(0, 1fr); }
  .jr-reviews-section .jr-reviews-google { grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: 10px; padding: 13px 14px; }
  .jr-reviews-section .jr-reviews-glogo { width: 34px; height: 34px; }
  .jr-reviews-section .jr-reviews-google .wp-block-buttons { grid-column: 1 / -1; grid-row: 4; justify-content: flex-start; margin-top: 6px; }
  .jr-reviews-section .jr-review-card { flex-basis: 82%; }
  .jr-reviews-section .jr-reviews-arrow { display: none; }
}
@media (min-width: 601px) and (max-width: 782px) {
  .jr-reviews-section .jr-reviews-google { grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; }
  .jr-reviews-section .jr-reviews-google .wp-block-buttons { grid-column: 3; grid-row: 1 / 4; margin-top: 0; }
  .jr-reviews-section .jr-review-card { flex-basis: calc((100% - 14px) / 2); }
}

.jr-home > .jr-location-section {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: 16px;
  row-gap: 14px;
  order: 6;
  padding-top: 46px;
  padding-bottom: 42px;
}

.jr-location-section > .jr-eyebrow {
  grid-column: 1 / -1;
  grid-row: 1;
  width: fit-content;
  margin: 0;
}

.jr-location-section .jr-location-intro {
  display: contents;
}

.jr-location-section .jr-location-copy {
  display: contents;
}

.jr-location-section .jr-location-copy h2 {
  grid-column: 1 / span 2;
  grid-row: 2;
  max-width: 660px;
  margin: 14px 0 0;
  font-size: clamp(2rem, 4.2vw, 3.35rem) !important;
  line-height: 1.04 !important;
}

.jr-location-section .jr-location-summary {
  grid-column: 1 / span 2;
  grid-row: 3;
  max-width: 590px;
  margin: -4px 0 12px;
  color: #b7c1d2;
  font-size: 1rem;
  line-height: 1.45;
}

.jr-location-section .jr-location-cards {
  display: contents;
}

.jr-location-section .jr-location-map {
  position: relative;
  display: block;
  grid-column: 1;
  grid-row: 4;
  min-height: 260px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(118, 161, 255, 0.3);
  border-radius: 14px;
  background: #081321;
}

.jr-location-section .jr-location-map .jr-location-map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 0;
}

.jr-location-section .jr-location-map-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jr-location-section .jr-location-map-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(118, 161, 255, 0.48);
  border-radius: 999px;
  background: rgba(5, 15, 29, 0.96);
  color: #f2f5fb;
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.jr-location-section .jr-location-map-label a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #edf3ff;
  font-weight: 700;
  text-decoration: none;
}

.jr-location-section .jr-location-map-label a::before {
  color: #76a1ff;
  content: "⌖";
  font-size: 1.05rem;
  line-height: 1;
}

.jr-location-section .jr-location-map-label a::after {
  color: #76a1ff;
  content: "↗";
  font-size: 0.9rem;
}

.jr-location-section .jr-location-card.jr-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-row: 4;
  align-content: start;
  align-items: start;
  gap: 12px 16px;
  min-width: 0;
  min-height: 260px;
  box-sizing: border-box;
  height: auto;
  margin: 0 !important;
  padding: 16px;
  overflow: hidden;
}

.jr-location-section .jr-location-card--hours {
  grid-column: 2;
  align-content: stretch;
}

.jr-location-section .jr-location-card--hours .jr-location-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

.jr-location-section .jr-location-card--shipping {
  grid-column: 3;
}

.jr-location-section .jr-location-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(118, 161, 255, 0.32);
  border-radius: 50%;
  background-color: rgba(118, 161, 255, 0.1);
  color: #76a1ff;
  font-size: 1.65rem;
  line-height: 1;
}

.jr-location-section .jr-location-icon--shipping {
  background-image: url("assets/images/jr-icon-truck.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  font-size: 0;
}

.jr-location-section .jr-location-card-copy {
  min-width: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.jr-location-section .jr-location-card-copy h3 {
  margin: 8px 0 12px;
  color: #f2f5fb;
  font-size: 0.98rem;
}

.jr-location-section .jr-location-detail,
.jr-location-section .jr-location-note {
  margin: 0 0 8px;
  color: #c4cede;
  font-size: 0.82rem;
  line-height: 1.5;
}

.jr-location-section .jr-location-detail strong {
  color: #edf3ff;
  font-weight: 600;
}

.jr-location-section .jr-location-note {
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(118, 161, 255, 0.18);
  color: #b7c5dc;
  font-size: 0.78rem;
}

.jr-location-section .jr-location-card--hours .jr-location-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-top: 12px;
}

.jr-location-section .jr-location-note::before {
  display: inline-block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-right: 0;
  margin-top: 1px;
  background: url("assets/images/jr-icon-calendar.svg") center / contain no-repeat;
  content: "";
  vertical-align: 0;
}

.jr-location-section .jr-location-price {
  width: fit-content;
  margin: -2px 0 12px;
  padding: 7px 12px;
  border: 1px solid rgba(118, 161, 255, 0.38);
  border-radius: 999px;
  background: rgba(118, 161, 255, 0.08);
  color: #9ebdff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.15;
}

.jr-location-section .jr-location-shipping-copy {
  max-width: 205px;
}

.jr-location-section .jr-location-shipping-art {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 0;
  width: min(94%, 260px);
  margin: 0;
  opacity: 0.96;
  pointer-events: none;
}

.jr-location-section .jr-location-shipping-art img {
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .jr-home > .jr-location-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jr-location-section .jr-location-copy h2 {
    grid-column: 1 / -1;
    max-width: 660px;
  }

  .jr-location-section .jr-location-summary {
    grid-column: 1 / -1;
    max-width: 590px;
  }

  .jr-location-section .jr-location-map {
    grid-column: 1 / -1;
    grid-row: 4;
    min-height: 230px;
  }

  .jr-location-section .jr-location-card.jr-card {
    grid-row: 5;
    min-height: 260px;
    height: auto;
  }

  .jr-location-section .jr-location-card--hours {
    grid-column: 1;
  }

  .jr-location-section .jr-location-card--shipping {
    grid-column: 2;
  }

  .jr-location-section .jr-location-intro {
    display: contents;
  }
}

@media (max-width: 640px) {
  .jr-home > .jr-location-section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .jr-location-section .jr-location-copy h2 {
    grid-column: 1;
    grid-row: 2;
    margin-top: 8px;
    font-size: clamp(1.9rem, 8vw, 2.45rem) !important;
  }

  .jr-location-section .jr-location-summary {
    grid-column: 1;
    grid-row: 3;
    margin: -2px 0 6px;
    font-size: 0.92rem;
  }

  .jr-location-section .jr-location-map {
    grid-column: 1;
    grid-row: 4;
    min-height: 210px;
  }

  .jr-location-section .jr-location-map-art img {
    object-fit: contain;
  }

  .jr-location-section .jr-location-map-label {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    text-align: center;
  }

  .jr-location-section .jr-location-card.jr-card {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
    padding: 16px;
  }

  .jr-location-section .jr-location-card.jr-card.jr-location-card--hours {
    grid-row: 5;
    min-height: 220px;
  }

  .jr-location-section .jr-location-card.jr-card.jr-location-card--shipping {
    grid-row: 6;
    min-height: 255px;
  }

  .jr-location-section .jr-location-shipping-art {
    width: min(65%, 210px);
  }
}

/* Bloque Contáctanos */
.jr-home > .jr-contact-section {
  order: 6;
  padding-top: 46px;
  padding-bottom: 42px;
}

.jr-contact-section > .jr-eyebrow {
  margin-bottom: 6px;
}

.jr-contact-section h2,
body.page .entry-content .jr-contact-section h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 3rem) !important;
  line-height: 1.1;
}

.jr-contact-section .jr-contact-accent {
  color: #fff;
}

.jr-contact-section .jr-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.jr-contact-section .jr-contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 160px;
  margin: 0 !important;
  padding: 24px 32px;
  border: 1px solid rgba(118, 161, 255, 0.35);
  border-radius: 18px;
  background: rgba(5, 20, 50, 0.55);
  transition: border-color 0.2s, transform 0.2s;
}

.jr-contact-section .jr-contact-card--whatsapp {
  border-color: #76a1ff;
  background: linear-gradient(135deg, #0b3ea8 0%, #082a72 100%);
  box-shadow: 0 0 28px rgba(118, 161, 255, 0.3);
}

.jr-contact-section .jr-contact-card:hover,
.jr-contact-section .jr-contact-card:focus-within {
  border-color: #76a1ff;
  transform: translateY(-2px);
}

.jr-contact-section .jr-contact-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin: 0;
  border-radius: 50%;
}

.jr-contact-section .jr-contact-icon img {
  width: 60%;
  height: auto;
  margin: 0;
}

.jr-contact-section .jr-contact-icon--whatsapp {
  width: 110px;
  height: 110px;
  background: rgba(5, 20, 50, 0.45);
}

.jr-contact-section .jr-contact-icon--whatsapp img {
  width: 72%;
}

.jr-contact-section .jr-contact-icon--form {
  border: 1px solid #76a1ff;
}

.jr-contact-section .jr-contact-copy {
  min-width: 0;
  align-self: center;
  margin-block: 0;
}

.jr-contact-section .jr-contact-copy h3 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
}

.jr-contact-section .jr-contact-copy h3 a {
  color: #fff;
  text-decoration: none;
}

.jr-contact-section .jr-contact-copy h3 a::after {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  content: "";
}

.jr-contact-section .jr-contact-copy h3 a:focus-visible {
  outline: none;
}

.jr-contact-section .jr-contact-card:has(a:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.jr-contact-section .jr-contact-copy p {
  margin: 0;
  color: #c3cce0;
  font-size: 1rem;
}

.jr-contact-section .jr-contact-card::after {
  width: 36px;
  height: 24px;
  margin-left: auto;
  flex: 0 0 36px;
  background: #76a1ff;
  content: "";
  -webkit-mask: url("assets/images/jr-icon-arrow-right.svg") center / contain no-repeat;
  mask: url("assets/images/jr-icon-arrow-right.svg") center / contain no-repeat;
}

.jr-contact-section .jr-contact-card--whatsapp::after {
  background: #fff;
}

.jr-contact-section .jr-contact-note {
  margin: 22px 0 0;
  color: #b7c1d2;
  font-size: 1.05rem;
}

@media (max-width: 782px) {
  .jr-contact-section .jr-contact-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .jr-contact-section .jr-contact-card {
    gap: 18px;
    min-height: 120px;
    padding: 18px 20px;
  }

  .jr-contact-section .jr-contact-icon,
  .jr-contact-section .jr-contact-icon--whatsapp {
    width: 76px;
    height: 76px;
  }

  .jr-contact-section .jr-contact-card::after {
    width: 28px;
    flex-basis: 28px;
  }
}

  .jr-quality-warranty-section .jr-warranty-band {
    min-height: 190px;
    grid-template-columns: minmax(210px, 0.9fr) repeat(3, minmax(0, 1fr));
    align-items: stretch;
    padding: 22px 20px;
  }

  .jr-quality-warranty-section .jr-warranty-heading,
  .jr-quality-warranty-section .jr-warranty-item {
    padding: 10px 22px;
  }

  .jr-quality-warranty-section .jr-warranty-heading {
    gap: 16px;
    padding-left: 0;
  }

  .jr-quality-warranty-section .jr-warranty-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    font-size: 1.5rem;
  }

  .jr-quality-warranty-section .jr-warranty-heading h3 {
    font-size: 1.08rem;
    line-height: 1.4;
  }

  .jr-quality-warranty-section .jr-warranty-item {
    display: grid;
    grid-template-rows: 40px auto 1fr;
    align-content: center;
    gap: 6px 0;
    min-height: 130px;
    border-left-color: rgba(118, 161, 255, 0.26);
  }

  .jr-quality-warranty-section .jr-warranty-item::before {
    width: 38px;
    height: 38px;
    background: #4a8dff;
    content: "";
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
  }

  .jr-quality-warranty-section .jr-warranty-item:nth-child(2)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='2' width='10' height='20' rx='1.5' fill='%23000'/%3E%3Cpath d='M10 5h4M10 19h4' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='2' width='10' height='20' rx='1.5' fill='%23000'/%3E%3Cpath d='M10 5h4M10 19h4' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
  }

  .jr-quality-warranty-section .jr-warranty-item:nth-child(3)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Crect x='1' y='7' width='15' height='12' rx='1' fill='%23000'/%3E%3Cpath d='M4 21h10' stroke='%23000' stroke-width='2'/%3E%3Crect x='19' y='2' width='8' height='18' rx='1' fill='%23000'/%3E%3Cpath d='M21 5h4M21 17h4' stroke='%23fff' stroke-width='1'/%3E%3Cpath d='M26 9h4a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2l-2-2h-4l-2 2h-1a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h7z' fill='%23000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Crect x='1' y='7' width='15' height='12' rx='1' fill='%23000'/%3E%3Cpath d='M4 21h10' stroke='%23000' stroke-width='2'/%3E%3Crect x='19' y='2' width='8' height='18' rx='1' fill='%23000'/%3E%3Cpath d='M21 5h4M21 17h4' stroke='%23fff' stroke-width='1'/%3E%3Cpath d='M26 9h4a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2l-2-2h-4l-2 2h-1a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h7z' fill='%23000'/%3E%3C/svg%3E");
  }

  .jr-quality-warranty-section .jr-warranty-item:nth-child(4)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8 2h2v3h4V2h2v3h2a3 3 0 0 1 3 3v2h2v2h-2v4h2v2h-2v2a3 3 0 0 1-3 3h-2v2h-2v-2h-4v2H8v-2H6a3 3 0 0 1-3-3v-2H1v-2h2v-4H1v-2h2V8a3 3 0 0 1 3-3h2zm-2 5v12h12V7zm3 3h6v6H9z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M8 2h2v3h4V2h2v3h2a3 3 0 0 1 3 3v2h2v2h-2v4h2v2h-2v2a3 3 0 0 1-3 3h-2v2h-2v-2h-4v2H8v-2H6a3 3 0 0 1-3-3v-2H1v-2h2v-4H1v-2h2V8a3 3 0 0 1 3-3h2zm-2 5v12h12V7zm3 3h6v6H9z'/%3E%3C/svg%3E");
  }

  .jr-quality-warranty-section .jr-warranty-item h3 {
    align-self: end;
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .jr-quality-warranty-section .jr-warranty-copy {
    max-width: 28ch;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  @media (max-width: 780px) {
    .jr-quality-warranty-section .jr-warranty-band {
      min-height: 0;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      padding: 18px 14px;
    }

    .jr-quality-warranty-section .jr-warranty-heading {
      padding: 4px 0 16px;
    }

    .jr-quality-warranty-section .jr-warranty-icon {
      width: 56px;
      height: 56px;
      flex-basis: 56px;
    }

    .jr-quality-warranty-section .jr-warranty-item {
      min-height: 150px;
      padding: 10px 14px;
    }

    .jr-quality-warranty-section .jr-warranty-item:first-of-type {
      border-left: 0;
      padding-left: 0;
    }
  }

  @media (max-width: 560px) {
    .jr-quality-warranty-section .jr-warranty-band {
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
      padding: 16px;
    }

    .jr-quality-warranty-section .jr-warranty-heading {
      grid-column: auto;
      padding: 4px 0 16px;
    }

    .jr-quality-warranty-section .jr-warranty-item,
    .jr-quality-warranty-section .jr-warranty-item:first-of-type {
      grid-template-columns: 46px minmax(0, 1fr);
      grid-template-rows: auto auto;
      align-items: center;
      column-gap: 12px;
      min-height: 0;
      padding: 16px 0;
      border-top: 1px solid rgba(118, 161, 255, 0.25);
      border-left: 0;
    }

    .jr-quality-warranty-section .jr-warranty-item::before {
      width: 38px;
      height: 38px;
      grid-column: 1;
      grid-row: 1 / span 2;
    }

    .jr-quality-warranty-section .jr-warranty-item h3 {
      grid-column: 2;
      grid-row: 1;
      font-size: 1.25rem;
    }

    .jr-quality-warranty-section .jr-warranty-copy {
      grid-column: 2;
      grid-row: 2;
      font-size: 0.9rem;
    }
  }

  .jr-quality-warranty-section .jr-warranty-icon {
    font-size: 0;
  }

  .jr-quality-warranty-section .jr-warranty-icon::before {
    width: 38px;
    height: 42px;
    background: #4a8dff;
    content: "";
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath fill='%23000' d='M12 1 22 5v7c0 7-4.1 12-10 15C6.1 24 2 19 2 12V5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath fill='%23000' d='M12 1 22 5v7c0 7-4.1 12-10 15C6.1 24 2 19 2 12V5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .jr-quality-warranty-section .jr-warranty-item:nth-child(2)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='2' width='10' height='20' rx='1.5' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Cpath d='M10 5h4M10 19h4' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='2' width='10' height='20' rx='1.5' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Cpath d='M10 5h4M10 19h4' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  }

  .jr-quality-warranty-section .jr-warranty-item:nth-child(3)::before {
    width: 58px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 32'%3E%3Crect x='1.5' y='5' width='24' height='17' rx='2' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M6 27h15l-2-5H8z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Crect x='30' y='2' width='10' height='24' rx='1.5' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Cpath d='M33 5h4m-4 18h4M53 10h10a4 4 0 0 1 4 4v6a3 3 0 0 1-5 2l-3-3h-4l-3 3a3 3 0 0 1-5-2v-6a4 4 0 0 1 4-4z' fill='none' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M51 14v5m-2.5-2.5h5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 32'%3E%3Crect x='1.5' y='5' width='24' height='17' rx='2' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M6 27h15l-2-5H8z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Crect x='30' y='2' width='10' height='24' rx='1.5' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Cpath d='M33 5h4m-4 18h4M53 10h10a4 4 0 0 1 4 4v6a3 3 0 0 1-5 2l-3-3h-4l-3 3a3 3 0 0 1-5-2v-6a4 4 0 0 1 4-4z' fill='none' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M51 14v5m-2.5-2.5h5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .jr-quality-warranty-section .jr-warranty-item:nth-child(4)::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='6' width='12' height='12' rx='1' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Crect x='9' y='9' width='6' height='6' rx='.5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M8 1v5m8-5v5M8 18v5m8-5v5M1 8h5m-5 8h5m12-8h5m-5 8h5' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='6' width='12' height='12' rx='1' fill='none' stroke='%23000' stroke-width='2.5'/%3E%3Crect x='9' y='9' width='6' height='6' rx='.5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M8 1v5m8-5v5M8 18v5m8-5v5M1 8h5m-5 8h5m12-8h5m-5 8h5' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  }

  @media (max-width: 560px) {
    .jr-quality-warranty-section .jr-warranty-item:nth-child(3)::before {
      width: 46px;
    }
  }

/* Mejora de legibilidad y espacio para las imágenes de Calidad y garantía */
.jr-quality-warranty-section .jr-quality-card {
  min-height: 220px;
  padding: 20px;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(1),
.jr-quality-warranty-section .jr-quality-card:nth-child(2),
.jr-quality-warranty-section .jr-quality-card:nth-child(3) {
  background-image: linear-gradient(145deg, rgba(16, 31, 53, 0.92), rgba(9, 17, 30, 0.9));
  background-position: center;
  background-size: cover;
}

.jr-quality-warranty-section .jr-quality-card::after {
  z-index: 0;
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
  background-position: center right;
  background-size: cover;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%);
  mask-image: linear-gradient(to right, transparent 0%, #000 20%);
}

.jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
.jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
.jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(1)::after {
  background-image: url("assets/images/repuesto-original-destacado.jpg") !important;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(2)::after {
  background-image: url("assets/images/repuesto-compatible-destacado.jpg") !important;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
  background-image: url("assets/images/repuesto-reparacion-destacado.jpg") !important;
}

.jr-quality-warranty-section .jr-quality-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
}

.jr-quality-warranty-section .jr-quality-icon::before {
  width: 28px;
  height: 28px;
}

.jr-quality-warranty-section .jr-quality-card h3,
.jr-quality-warranty-section .jr-quality-card-copy {
  max-width: 44%;
}

.jr-quality-warranty-section .jr-quality-card h3 {
  margin-bottom: 7px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.jr-quality-warranty-section .jr-quality-card-copy {
  font-size: 0.96rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .jr-quality-warranty-section .jr-quality-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .jr-quality-warranty-section .jr-quality-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-quality-card {
    min-height: 205px;
    padding: 18px 16px;
  }

  .jr-quality-warranty-section .jr-quality-card:nth-child(1),
  .jr-quality-warranty-section .jr-quality-card:nth-child(2),
  .jr-quality-warranty-section .jr-quality-card:nth-child(3) {
    background-position: center;
    background-size: cover;
  }

  .jr-quality-warranty-section .jr-quality-card::after {
    width: 42%;
  }

  .jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
    right: 0;
    width: 42%;
    height: 100%;
  }

  .jr-quality-warranty-section .jr-quality-icon {
    display: grid;
    position: static;
    width: 48px;
    height: 48px;
    margin: 0 0 12px;
  }

  .jr-quality-warranty-section .jr-quality-icon::before {
    width: 25px;
    height: 25px;
  }

  .jr-quality-warranty-section .jr-quality-card h3,
  .jr-quality-warranty-section .jr-quality-card-copy {
    max-width: 50%;
  }

  .jr-quality-warranty-section .jr-quality-card h3 {
    font-size: 1.05rem;
  }

  .jr-quality-warranty-section .jr-quality-card-copy {
    font-size: 0.94rem;
    line-height: 1.5;
  }
}

.jr-quality-warranty-section h2,
.jr-quality-warranty-section h2 *,
.jr-quality-warranty-section h3,
.jr-quality-warranty-section h3 * {
  color: #f2f5fb;
}

.jr-quality-warranty-section .jr-quality-card {
  min-height: 190px;
  padding: 16px 18px;
}

.jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
.jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
.jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
  width: 45%;
}

.jr-quality-warranty-section .jr-quality-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.jr-quality-warranty-section .jr-quality-icon::before {
  width: 26px;
  height: 26px;
}

.jr-quality-warranty-section .jr-quality-card h3,
.jr-quality-warranty-section .jr-quality-card-copy {
  max-width: 55%;
}

.jr-quality-warranty-section .jr-quality-card h3 {
  font-size: 1.02rem;
  line-height: 1.25;
}

.jr-quality-warranty-section .jr-quality-card-copy {
  font-size: 0.9rem;
  line-height: 1.4;
}

.jr-quality-warranty-section .jr-warranty-icon {
  position: relative;
  place-items: center;
}

.jr-quality-warranty-section .jr-warranty-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.jr-quality-warranty-section .jr-warranty-heading h3 {
  max-width: 7.5ch;
  color: #f2f5fb;
  font-size: 1.75rem;
  line-height: 1.05;
}

.jr-quality-warranty-section .jr-warranty-item h3 {
  color: #f2f5fb;
}

@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-quality-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    row-gap: 10px;
    min-height: 190px;
    padding: 16px;
  }

  .jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
    top: 20%;
    width: 28%;
    height: 80%;
  }

  .jr-quality-warranty-section .jr-quality-icon {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .jr-quality-warranty-section .jr-quality-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    max-width: 100%;
    margin: 0;
  }

  .jr-quality-warranty-section .jr-quality-card-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 72%;
  }

  .jr-quality-warranty-section .jr-quality-icon,
  .jr-quality-warranty-section .jr-quality-card h3,
  .jr-quality-warranty-section .jr-quality-card-copy {
    position: relative;
    z-index: 1;
  }
}

/* ── Fase C (2026-11-24): aviso de datos en Servicios ── */
.jr-services-section .jr-service-note {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-left: 3px solid #76a1ff;
  border-radius: 8px;
  background: rgba(118, 161, 255, 0.08);
  color: #bfd2f5;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── Fase C (2026-11-24): bloque «Quién hay detrás» ── */
.jr-about-section .jr-about-grid {
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
}
.jr-about-section .jr-about-photo {
  margin: 0;
}
.jr-about-section .jr-about-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(118, 161, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(4, 8, 15, 0.45);
}
.jr-about-section p:not(.jr-eyebrow):not(.jr-section-lead) {
  max-width: 62ch;
  color: #bfd2f5;
}
@media (max-width: 781px) {
  .jr-about-section .jr-about-photo img {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ── Fase C (2026-11-24): pie con contacto y horario ── */
.jr-site-footer p { margin: 0 0 0.6rem; }
.jr-site-footer .jr-footer-note { color: #8ea5c9; font-size: 0.9rem; }
.jr-site-footer a:not(.wp-block-button__link) { color: #bfd2f5; text-decoration: none; }
.jr-site-footer a:not(.wp-block-button__link):hover,
.jr-site-footer a:not(.wp-block-button__link):focus-visible { color: #76a1ff; text-decoration: underline; }

/* ── Fase C (2026-11-24): el orden visual de la Home es el del editor ──
   Anula las reglas "order" antiguas para que reordenar bloques en
   WordPress cambie también el orden en la web. */
.jr-home > * { order: 0 !important; }

/* ════════════════════════════════════════════════════════════════
   FASE C (2026-11-24) — SISTEMA TIPOGRÁFICO Y AJUSTES RESPONSIVE
   Una sola escala de tamaños para toda la web. Cada valor se adapta
   con fluidez entre móvil (≈360 px) y escritorio (≈1440 px).
   Para cambiar un tamaño en toda la web, edita solo la variable.
   ════════════════════════════════════════════════════════════════ */
:root {
  --jr-fs-xs:    0.8125rem;                                   /* 13  · etiquetas, notas legales      */
  --jr-fs-sm:    0.875rem;                                    /* 14  · chips, datos, botones chicos  */
  --jr-fs-copy:  0.9375rem;                                   /* 15  · texto de tarjetas, pie        */
  --jr-fs-body:  1rem;                                        /* 16  · texto normal                  */
  --jr-fs-lead:  clamp(1rem, 0.94rem + 0.28vw, 1.125rem);     /* 16→18 · entradillas de sección      */
  --jr-fs-h3:    clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);     /* 17→20 · títulos de tarjeta          */
  --jr-fs-h3-lg: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);    /* 20→24 · títulos destacados          */
  --jr-fs-h2:    clamp(1.75rem, 1.38rem + 1.6vw, 2.5rem);     /* 28→40 · títulos de sección          */
  --jr-fs-h1:    clamp(2.25rem, 1.6rem + 2.8vw, 4rem);        /* 36→64 · título principal            */
  --jr-lh-text:  1.6;
  --jr-lh-head:  1.12;
}

/* ── Titulares ── */
body.home .entry-content h1.jr-hero-title {
  font-size: var(--jr-fs-h1) !important;
  line-height: 1.02 !important;
  margin-bottom: 20px;
}
body.home .entry-content .jr-section h2,
body.home .entry-content .jr-contact-section h2 {
  font-size: var(--jr-fs-h2) !important;
  line-height: var(--jr-lh-head) !important;
}
body.home .entry-content .jr-section h3 {
  font-size: var(--jr-fs-h3);
  line-height: 1.3;
}

/* ── Etiquetas (eyebrow) ── */
body .jr-eyebrow {
  font-size: var(--jr-fs-xs) !important;
  letter-spacing: 0.08em;
}

/* ── Entradillas y texto ── */
body.home .entry-content :is(.jr-hero-lead, .jr-section-lead, .jr-quality-summary,
  .jr-reviews-summary, .jr-location-summary) {
  font-size: var(--jr-fs-lead) !important;
  line-height: 1.55;
}
body.home .entry-content .jr-about-section p:not(.jr-eyebrow):not(.jr-section-lead),
body.home .entry-content .jr-contact-note {
  font-size: var(--jr-fs-body) !important;
  line-height: var(--jr-lh-text);
}

/* ── Hero ── */
body.home .entry-content .jr-hero-copy > p:not(.jr-eyebrow):not(.jr-hero-lead) { font-size: var(--jr-fs-sm) !important; }
body.home .entry-content .jr-floating-badge p { font-size: var(--jr-fs-sm); }
body.home .entry-content .jr-floating-badge .jr-floating-badge-title { font-size: var(--jr-fs-h3-lg); }

/* ── Servicios ── */
body.home .entry-content .jr-services-section .jr-badge-apple { font-size: var(--jr-fs-sm) !important; }
body.home .entry-content .jr-services-section .jr-service-accordion-item > summary { font-size: var(--jr-fs-h3) !important; }
body.home .entry-content .jr-services-section .wp-block-quote p { font-size: var(--jr-fs-sm) !important; }
body.home .entry-content .jr-services-section .jr-service-item { font-size: var(--jr-fs-sm) !important; }
body.home .entry-content .jr-services-section .jr-service-note { font-size: var(--jr-fs-sm) !important; }

/* ── Calidad y garantía ── */
body.home .entry-content .jr-quality-warranty-section .jr-quality-card h3 { font-size: var(--jr-fs-h3) !important; line-height: 1.25; }
body.home .entry-content .jr-quality-warranty-section .jr-quality-card-copy,
body.home .entry-content .jr-quality-warranty-section .jr-warranty-copy { font-size: var(--jr-fs-copy) !important; line-height: 1.5; }
body.home .entry-content .jr-quality-warranty-section .jr-brand-label,
body.home .entry-content .jr-quality-warranty-section .jr-warranty-note { font-size: var(--jr-fs-xs) !important; }
body.home .entry-content .jr-quality-warranty-section .jr-warranty-heading h3,
body.home .entry-content .jr-quality-warranty-section .jr-warranty-item h3 { font-size: var(--jr-fs-h3-lg) !important; }
body.home .entry-content .jr-quality-warranty-section .wp-block-button__link { font-size: var(--jr-fs-sm) !important; }

/* ── Reseñas ── */
body.home .entry-content .jr-reviews-section .jr-reviews-count,
body.home .entry-content .jr-reviews-section .wp-block-button__link { font-size: var(--jr-fs-sm) !important; }

/* ── Ubicación ── */
body.home .entry-content .jr-location-section h3 { font-size: var(--jr-fs-h3) !important; }
body.home .entry-content .jr-location-section :is(.jr-location-detail, .jr-location-detail strong) { font-size: var(--jr-fs-copy) !important; }
body.home .entry-content .jr-location-section :is(.jr-location-note, .jr-location-map-label, .jr-location-map-label a) { font-size: var(--jr-fs-sm) !important; }

/* ── Contacto ── */
body.home .entry-content .jr-contact-section h3,
body.home .entry-content .jr-contact-section h3 a { font-size: var(--jr-fs-h3-lg) !important; }
body.home .entry-content .jr-contact-section h3 + p { font-size: var(--jr-fs-copy) !important; }

/* ── Cabecera ── */
header .wp-block-navigation { font-size: 0.9375rem; }
header .jr-header-actions .wp-block-button__link { font-size: var(--jr-fs-sm); }
/* Con la sesión iniciada, la barra de WordPress tapaba la cabecera fija y recortaba el logo. */
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { body.admin-bar header.wp-block-template-part { top: 0; } }
header .wp-block-site-logo { flex-shrink: 0; }

/* ── Hero: menos aire bajo la cabecera ── */
body.home .entry-content.wp-block-post-content { padding-top: 0; }
body.home .jr-hero { padding-top: clamp(24px, 4vw, 48px); }

/* ── Secciones: aire vertical proporcionado ── */
body.home .jr-section { padding-block: clamp(56px, 6vw, 88px); }

/* ── Calidad: sin hueco vacío en tablet ── */
@media (max-width: 1100px) {
  .jr-quality-warranty-section .jr-quality-options { grid-template-columns: minmax(0, 1fr) !important; }
  .jr-quality-warranty-section .jr-quality-card { min-height: 170px; }
}
@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-quality-card-copy { max-width: 64% !important; }
}

/* ── Quién hay detrás ── */
body.home .jr-about-section .jr-about-photo img { max-width: 340px; }

/* ── Pie ── */
.jr-site-footer { padding-inline: 16px; }
.jr-site-footer > .wp-block-columns {
  max-width: 1180px;
  margin: 0 auto;
  gap: 32px 40px;
}
.jr-site-footer h3 {
  margin: 0 0 14px !important;
  color: #edf3ff;
  font-size: var(--jr-fs-body) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3 !important;
}
.jr-site-footer .wp-block-column > * { margin-block: 0; }
.jr-site-footer p { margin: 0 0 10px !important; font-size: var(--jr-fs-copy); line-height: 1.55; }
.jr-site-footer .jr-footer-note { font-size: var(--jr-fs-sm); }
.jr-site-footer .wp-block-buttons { margin-top: 14px !important; }
.jr-site-footer .wp-block-button__link { font-size: var(--jr-fs-sm); padding: 11px 18px; }
.jr-site-footer .wp-block-navigation { font-size: var(--jr-fs-copy); }
.jr-site-footer .wp-block-navigation__container { gap: 8px !important; }
@media (min-width: 600px) and (max-width: 1023px) {
  .jr-site-footer > .wp-block-columns { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .jr-site-footer > .wp-block-columns { gap: 28px; }
}
body.home .entry-content .jr-hero :is(p, li):not(.jr-eyebrow):not(.jr-hero-lead):not(.jr-floating-badge-title):not(.jr-floating-badge p) { font-size: var(--jr-fs-sm) !important; }

/* ── Cabecera en móvil: logo + menú + botón caben sin salirse ── */
@media (max-width: 600px) {
  header.wp-block-template-part > .wp-block-group > .wp-block-group { gap: 10px; }
  header .wp-block-site-logo img { width: 132px !important; height: auto !important; }
  header .jr-header-actions .wp-block-button__link { min-height: 36px; padding: 8px 12px; font-size: var(--jr-fs-xs); }
}

/* ── Calidad en móvil: foto arriba como banda, texto debajo (sin solaparse) ── */
@media (max-width: 560px) {
  .jr-quality-warranty-section .jr-quality-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    min-height: 0 !important;
    padding: 0 0 16px !important;
    overflow: hidden;
  }
  .jr-quality-warranty-section .jr-quality-card::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100% !important;
    height: 130px !important;
    margin-bottom: 14px;
    background-position: center !important;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%) !important;
  }
  .jr-quality-warranty-section .jr-quality-icon { grid-row: 2 !important; margin-left: 16px !important; }
  .jr-quality-warranty-section .jr-quality-card h3 { grid-row: 2 !important; padding-right: 16px; }
  .jr-quality-warranty-section .jr-quality-card-copy { grid-row: 3 !important; max-width: none !important; padding: 10px 16px 0; }
}

/* ── Tablet: cabecera en una línea ── */
@media (min-width: 601px) and (max-width: 1023px) {
  header .jr-header-actions .wp-block-button.is-style-outline { display: none; }
  header .wp-block-navigation__container { gap: 16px; flex-wrap: nowrap; }
  header .wp-block-site-logo img { width: 150px !important; height: auto !important; }
}

/* ── Tablet: «Quién hay detrás» en dos columnas ── */
@media (min-width: 600px) and (max-width: 781px) {
  .jr-about-section .jr-about-grid { flex-wrap: nowrap !important; }
  .jr-about-section .jr-about-grid > .wp-block-column:first-child { flex-basis: 38% !important; }
  .jr-about-section .jr-about-grid > .wp-block-column:last-child { flex-basis: 62% !important; }
}
@media (max-width: 599px) {
  body.home .jr-about-section .jr-about-photo img { max-width: 240px; }
}
.jr-site-footer > .wp-block-columns { padding-inline: 16px; box-sizing: border-box; }

/* ── Accesibilidad: zonas táctiles de al menos 24 px (WCAG 2.2 · 2.5.8) ── */
.jr-site-footer a:not(.wp-block-button__link),
.jr-site-footer .wp-block-navigation-item__content {
  display: inline-block;
  padding-block: 6px;
}
.jr-site-footer p { margin-bottom: 4px !important; }
body.home .jr-location-section .jr-location-map-label a { display: inline-block; padding-block: 8px; }
body.home .jr-quality-warranty-section .jr-warranty-link-wrap .wp-block-button__link { padding-block: 10px !important; }

/* ── WhatsApp: botón del hero con icono ── */
.jr-btn-whatsapp .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; }
.jr-btn-whatsapp .wp-block-button__link::before {
  content: ""; width: 20px; height: 20px; flex: 0 0 20px;
  background: currentColor;
  -webkit-mask: url("assets/images/jr-icon-whatsapp-mono.svg") center / contain no-repeat;
  mask: url("assets/images/jr-icon-whatsapp-mono.svg") center / contain no-repeat;
}

/* ── WhatsApp flotante: solo en móvil y tablet ── */
.jr-wa-float { display: none; margin: 0 !important; }
@media (max-width: 1023px) {
  .jr-wa-float { display: block; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; }
  .jr-wa-float a {
    display: grid; place-items: center; width: 56px; height: 56px; padding: 0 !important;
    border-radius: 50%; background: #25d366; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    font-size: 0; color: transparent !important; text-decoration: none !important;
  }
  .jr-wa-float a::before {
    content: ""; width: 30px; height: 30px; background: #fff;
    -webkit-mask: url("assets/images/jr-icon-whatsapp-mono.svg") center / contain no-repeat;
    mask: url("assets/images/jr-icon-whatsapp-mono.svg") center / contain no-repeat;
  }
  .jr-wa-float a:focus-visible { outline: 3px solid #76a1ff; outline-offset: 3px; }
  /* Que el botón no tape el final del pie */
  .jr-site-footer { padding-bottom: 96px !important; }
}
@media (max-width: 1023px) {
  .jr-site-footer .jr-wa-float a { display: grid !important; padding: 0 !important; }
  .jr-site-footer .jr-wa-float a::before { display: block; }
}

/* ── Logo de cabecera: tamaño por altura (archivo recortado, márgenes iguales) ── */
header .wp-block-site-logo { display: flex; align-items: center; line-height: 0; }
header .wp-block-site-logo a { display: block; line-height: 0; }
header .wp-block-site-logo img { width: auto !important; height: 46px !important; max-width: none; }
@media (min-width: 601px) and (max-width: 1023px) {
  header .wp-block-site-logo img { width: auto !important; height: 40px !important; }
}
@media (max-width: 600px) {
  header .wp-block-site-logo img { width: auto !important; height: 36px !important; }
}

/* ── Cabecera: alineada con la columna de contenido y más baja ── */
header.wp-block-template-part > .wp-block-group {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
header.wp-block-template-part > .wp-block-group > .wp-block-group {
  width: min(1148px, calc(100% - 64px)) !important;
  max-width: none !important;
  min-height: 72px !important;
  margin-inline: auto !important;
  padding: 0 !important;
}
@media (max-width: 781px) {
  header.wp-block-template-part > .wp-block-group > .wp-block-group { min-height: 64px !important; }
}
@media (max-width: 600px) {
  header.wp-block-template-part > .wp-block-group > .wp-block-group { gap: 8px !important; }
  header .wp-block-site-logo img { height: 32px !important; }
  header .jr-header-actions .wp-block-button__link { padding: 8px 12px !important; }
}
@media (max-width: 359px) {
  header.wp-block-template-part > .wp-block-group > .wp-block-group { width: calc(100% - 32px) !important; }
}
header.wp-block-template-part > .wp-block-group { padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 600px) {
  header .wp-block-site-logo img { height: 36px !important; }
  header .jr-header-actions .wp-block-button__link { font-size: 0 !important; padding: 8px 14px !important; }
  header .jr-header-actions .wp-block-button__link::after { content: "Presupuesto"; font-size: var(--jr-fs-sm); }
}
header.wp-block-template-part > .wp-block-group { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: none !important; }

/* ── Cabecera que se esconde al bajar (assets/js/header-autohide.js) ──
   Visible: sin transform (para no romper el menú móvil a pantalla completa). */
header.wp-block-template-part { transition: transform 0.25s ease; }
header.wp-block-template-part.jr-header--hidden { transform: translateY(calc(-100% - 2px)); }
@media (prefers-reduced-motion: reduce) {
  header.wp-block-template-part { transition: none; }
}

/* ── Menú móvil a pantalla completa ──
   El desenfoque de la cabecera encerraba el menú en 64 px (backdrop-filter crea
   un contenedor para los elementos fijos). Se pasa a una capa ::before. */
header.wp-block-template-part {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  isolation: isolate;
}
header.wp-block-template-part::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 13, 23, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
header .wp-block-navigation__responsive-container.is-menu-open {
  background: #070d17 !important;
  color: #edf3ff !important;
  padding: 24px 32px !important;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 56px;
  gap: 8px;
}
header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  padding-block: 10px;
  color: #edf3ff;
  font-size: var(--jr-fs-h3-lg);
  font-weight: 700;
}
header .wp-block-navigation__responsive-container-close,
header .wp-block-navigation__responsive-container-open { color: #edf3ff; }

/* ── Estrellas en amarillo (color de valoración de Google) ── */
body.home .jr-reviews-section .jr-reviews-score-stars,
body.home .jr-floating-badge .jr-star { color: #fbbc04 !important; }
@media (max-width: 1199px) {
  body.home .jr-reviews-section .jr-reviews-google { grid-template-columns: 48px minmax(0, 1fr) !important; grid-template-rows: auto !important; row-gap: 4px; }
  body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons { grid-column: 1 / -1 !important; grid-row: auto !important; justify-self: start; margin-top: 10px !important; }
  body.home .jr-reviews-section .jr-reviews-count { white-space: nowrap; }
}
body.home .jr-reviews-section .jr-reviews-google { grid-template-columns: 48px minmax(0, 1fr) !important; grid-template-rows: auto !important; row-gap: 4px; }
body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons { grid-column: 1 / -1 !important; grid-row: auto !important; justify-self: start; margin-top: 10px !important; }
body.home .jr-reviews-section .jr-reviews-count { white-space: nowrap; }

/* ── Servicios: las averías fluyen a todo el ancho de la caja ── */
body.home .jr-services-section .jr-service-accordion-item .jr-service-list { display: contents !important; }
body.home .jr-services-section .jr-service-accordion-item .jr-service-item {
  display: inline-flex !important;
  margin: 0 8px 10px 0 !important;
  vertical-align: top;
}
body.home .jr-services-section .jr-service-accordion-item .wp-block-quote { margin-bottom: 14px !important; }

/* ════ Fase C · Ubicación, horario y envíos (opción 1 aprobada) ════ */
.jr-place-section .jr-place-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.jr-place-section .jr-place-map { position: relative; min-height: 320px; margin: 0; overflow: hidden; border: 1px solid var(--wp--preset--color--border); border-radius: 18px; background: #0d1627; }
.jr-place-section .jr-place-map-img { position: absolute; inset: 0; margin: 0 !important; }
.jr-place-section .jr-place-map-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Mapa claro de OpenStreetMap pasado a tonos oscuros y azulados del tema */
  filter: invert(0.92) hue-rotate(195deg) saturate(0.55) brightness(0.92) contrast(0.95);
}
.jr-place-section .jr-place-map::after { /* punto de zona */
  content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; background: rgba(118, 161, 255, 0.28); box-shadow: 0 0 0 2px #76a1ff, 0 0 0 10px rgba(118, 161, 255, 0.14);
}
.jr-place-section .jr-place-pin {
  position: absolute; left: 14px; bottom: 14px; margin: 0 !important; padding: 10px 14px; z-index: 1;
  border: 1px solid var(--wp--preset--color--border); border-radius: 12px; background: rgba(7, 13, 23, 0.88);
  font-size: var(--jr-fs-sm) !important; line-height: 1.45; color: #8ea5c9;
}
.jr-place-section .jr-place-pin strong { color: #edf3ff; }
.jr-place-section .jr-place-attrib {
  position: absolute; right: 8px; bottom: 6px; margin: 0 !important; z-index: 1;
  padding: 2px 6px; border-radius: 6px; background: rgba(7, 13, 23, 0.7);
  font-size: 11px !important; color: #8ea5c9;
}
.jr-place-section .jr-place-attrib a { color: #bfd2f5; }
.jr-place-section .jr-place-card {
  display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 24px;
  border: 1px solid var(--wp--preset--color--border); border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 31, 53, 0.92), rgba(9, 17, 30, 0.9));
}
.jr-place-section .jr-place-card > * { margin: 0 !important; }
.jr-place-section .jr-place-title { display: flex; align-items: center; gap: 12px; margin: 0 !important; font-size: var(--jr-fs-h3) !important; }
.jr-place-section .jr-place-title::before {
  content: ""; flex: 0 0 44px; height: 44px; border-radius: 12px; border: 1px solid var(--wp--preset--color--border);
  background-color: rgba(118, 161, 255, 0.08); background-repeat: no-repeat; background-position: center; background-size: 22px;
}
.jr-place-section .jr-place-title--hours::before { background-image: url("assets/images/jr-icon-calendar.svg"); }
.jr-place-section .jr-place-title--shipping::before { background-image: url("assets/images/jr-icon-truck.svg"); background-size: 24px; }
.jr-place-section .jr-place-hours { font-size: var(--jr-fs-copy) !important; line-height: 1.6; color: #bfd2f5; }
.jr-place-section .jr-place-hours strong { color: #edf3ff; }
.jr-place-section .jr-place-note { font-size: var(--jr-fs-sm) !important; color: #8ea5c9; }
.jr-place-section .jr-place-card .wp-block-buttons { margin-top: auto !important; }
.jr-place-section .wp-block-button__link { font-size: var(--jr-fs-sm) !important; }
.jr-place-section .jr-place-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 16px; padding: 20px 24px; border: 1px solid var(--wp--preset--color--border); border-radius: 18px;
  background: linear-gradient(90deg, rgba(118, 161, 255, 0.16), rgba(118, 161, 255, 0.04));
}
.jr-place-section .jr-place-band > * { margin: 0 !important; }
.jr-place-section .jr-place-band-copy > * { margin: 0 !important; }
.jr-place-section .jr-place-band-text { margin-top: 4px !important; padding-left: 56px; font-size: var(--jr-fs-copy) !important; color: #bfd2f5; }
.jr-place-section .jr-place-band-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.jr-place-section .jr-place-band-cta > * { margin: 0 !important; }
.jr-place-section .jr-place-price { font-size: var(--jr-fs-h3-lg) !important; font-weight: 800; color: #76a1ff; white-space: nowrap; }
.jr-place-section .jr-place-price span { font-size: var(--jr-fs-sm); font-weight: 600; color: #bfd2f5; }
.jr-btn-wa-solid .wp-block-button__link { background: #25d366 !important; color: #04210f !important; border-color: #25d366 !important; }
@media (max-width: 900px) {
  .jr-place-section .jr-place-grid { grid-template-columns: minmax(0, 1fr); }
  .jr-place-section .jr-place-map { min-height: 260px; }
}
@media (max-width: 600px) {
  .jr-place-section .jr-place-band { padding: 18px; }
  .jr-place-section .jr-place-band-text { padding-left: 0; }
  .jr-place-section .jr-place-band-cta { width: 100%; justify-content: space-between; }
}

/* ════ Fase C · Nuestra garantía (sección propia, opción 1 aprobada) ════ */
.jr-guarantee2-section h2 .jr-accent { color: #76a1ff; }
.jr-guarantee2-section .jr-section-lead { max-width: 62ch; }
.jr-guarantee2-section .jr-guarantee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.jr-guarantee2-section .jr-guarantee-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0 !important; padding: 26px 24px 24px;
  border: 1px solid var(--wp--preset--color--border); border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(118, 161, 255, 0.14), rgba(9, 17, 30, 0.92) 62%);
}
.jr-guarantee2-section .jr-guarantee-card.is-featured { border: 2px solid #76a1ff; }
.jr-guarantee2-section .jr-guarantee-card > * { margin: 0 !important; }
.jr-guarantee2-section .jr-guarantee-card::before {
  content: ""; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 6px;
  border: 1px solid rgba(118, 161, 255, 0.4); background-color: rgba(118, 161, 255, 0.1);
}
.jr-guarantee2-section .jr-guarantee-card::after {
  content: ""; position: absolute; left: 36px; top: 38px; width: 24px; height: 24px; background: #76a1ff;
  -webkit-mask: var(--jr-g-icon) center / contain no-repeat; mask: var(--jr-g-icon) center / contain no-repeat;
}
.jr-guarantee2-section .jr-guarantee-card--phone { --jr-g-icon: url("assets/images/jr-icon-service-phone.svg"); }
.jr-guarantee2-section .jr-guarantee-card--devices { --jr-g-icon: url("assets/images/jr-icon-service-computer.svg"); }
.jr-guarantee2-section .jr-guarantee-card--chip { --jr-g-icon: url("assets/images/jr-icon-service-chip.svg"); }
.jr-guarantee2-section .jr-guarantee-num {
  font-size: clamp(2.75rem, 2.1rem + 2.2vw, 3.75rem) !important; font-weight: 900; line-height: 1; color: #edf3ff;
}
.jr-guarantee2-section .jr-guarantee-num span { margin-left: 8px; font-size: 0.4em; font-weight: 700; color: #76a1ff; }
.jr-guarantee2-section .jr-guarantee-text { font-size: var(--jr-fs-copy) !important; line-height: 1.5; color: #bfd2f5; }
.jr-guarantee2-section .jr-guarantee-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; }
.jr-guarantee2-section .jr-guarantee-foot > * { margin: 0 !important; }
.jr-guarantee2-section .jr-guarantee-note { font-size: var(--jr-fs-sm) !important; color: #8ea5c9; }
.jr-guarantee2-section .wp-block-button__link { font-size: var(--jr-fs-sm) !important; }
@media (max-width: 900px) {
  .jr-guarantee2-section .jr-guarantee-grid { grid-template-columns: minmax(0, 1fr); }
  .jr-guarantee2-section .jr-guarantee-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 20px; }
  .jr-guarantee2-section .jr-guarantee-card::before { grid-row: 1 / span 2; margin: 0; }
  .jr-guarantee2-section .jr-guarantee-card::after { left: 32px; top: 50%; margin-top: -12px; }
}
.jr-guarantee2-section .jr-guarantee-card::after { width: 28px; height: 28px; left: 34px; top: 36px; }
@media (max-width: 900px) { .jr-guarantee2-section .jr-guarantee-card::after { left: 30px; margin-top: -14px; } }

/* ── Servicios: mismo margen interior para título, subtítulo y averías ── */
body.home .jr-services-section .jr-service-accordion-item { --jr-acc-pad: 28px; padding: 0 var(--jr-acc-pad) 0 !important; }
body.home .jr-services-section .jr-service-accordion-item[open] { padding-bottom: 18px !important; }
body.home .jr-services-section .jr-service-accordion-item > summary {
  margin: 0 calc(var(--jr-acc-pad) * -1) !important;
  padding-left: var(--jr-acc-pad) !important; padding-right: var(--jr-acc-pad) !important;
}
body.home .jr-services-section .jr-service-accordion-item .wp-block-quote { margin: 18px 0 16px !important; }
@media (max-width: 600px) {
  body.home .jr-services-section .jr-service-accordion-item { --jr-acc-pad: 18px; }
}

/* ════════════════════════════════════════════════════════════════
   SISTEMA DE COMPONENTES (2026-11-24) — un solo estilo por tipo
   Botones: 2 tamaños (grande / normal) × 3 variantes (azul, contorno, WhatsApp)
   Cajas: radio 18 px, borde azul suave, mismo fondo. Destacadas: borde azul 2 px.
   Píldoras: totalmente redondas. Iconos en caja: 48 px, radio 14 px.
   ════════════════════════════════════════════════════════════════ */
:root {
  --jr-radius-lg: 18px;
  --jr-radius-md: 12px;
  --jr-line: rgba(118, 161, 255, 0.25);
  --jr-line-strong: #76a1ff;
  --jr-card-bg: linear-gradient(145deg, rgba(16, 31, 53, 0.92), rgba(9, 17, 30, 0.9));
  --jr-btn-h: 44px;
  --jr-btn-h-lg: 52px;
}

/* ── Botones ── */
body .wp-block-button__link {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--jr-btn-h) !important; padding: 0 20px !important;
  border: 1px solid transparent !important; border-radius: 999px !important;
  font-size: var(--jr-fs-sm) !important; font-weight: 700 !important; line-height: 1.2 !important;
  background: linear-gradient(135deg, #76a1ff, #4b7ef5) !important; color: #071424 !important;
  box-shadow: none !important; text-decoration: none !important;
  transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
body .wp-block-button__link:hover { filter: brightness(1.08); }
body .is-style-outline > .wp-block-button__link {
  background: transparent !important; color: #edf3ff !important; border-color: rgba(118, 161, 255, 0.45) !important;
}
body .is-style-outline > .wp-block-button__link:hover { background: rgba(118, 161, 255, 0.1) !important; border-color: #76a1ff !important; filter: none; }
body .jr-btn-wa-solid > .wp-block-button__link { background: #25d366 !important; color: #04210f !important; }
/* Tamaño grande: botones del hero */
body.home .jr-hero .wp-block-button__link { min-height: var(--jr-btn-h-lg) !important; padding: 0 26px !important; font-size: var(--jr-fs-copy) !important; }

/* ── Cajas ── */
body.home :is(.jr-quality-card, .jr-guarantee-card, .jr-place-card, .jr-place-band, .jr-place-map,
  .jr-reviews-google, .jr-service-accordion-item, .jr-contact-card) {
  border-radius: var(--jr-radius-lg) !important;
  border: 1px solid var(--jr-line) !important;
}
body.home :is(.jr-guarantee-card, .jr-place-card, .jr-reviews-google, .jr-service-accordion-item, .jr-contact-card:not(:first-child)) {
  background: var(--jr-card-bg) !important;
}
body.home :is(.jr-guarantee-card.is-featured, .jr-service-accordion-item[open], .jr-contact-card:first-child) {
  border: 2px solid var(--jr-line-strong) !important;
}
body.home .jr-service-accordion-item[open] > summary { background: rgba(118, 161, 255, 0.08) !important; }
body.home .jr-about-photo img { border-radius: var(--jr-radius-lg) !important; border-color: var(--jr-line) !important; }
body.home :is(.jr-service-note, .jr-floating-badge) { border-radius: var(--jr-radius-md) !important; }
body.home .jr-floating-badge { border: 1px solid var(--jr-line) !important; }

/* ── Píldoras ── */
body .jr-eyebrow, body.home .jr-badge-apple {
  min-height: 30px; padding: 6px 12px !important; border-radius: 999px !important;
  font-size: var(--jr-fs-xs) !important; font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2 !important;
}
body.home .jr-badge-apple { border: 1px solid #76a1ff !important; background: rgba(118, 161, 255, 0.12) !important; color: #edf3ff !important; }
body.home .jr-services-section .jr-service-item {
  min-height: 36px; align-items: center; padding: 0 14px !important;
  border-radius: 999px !important; border: 1px solid var(--jr-line) !important; background: rgba(118, 161, 255, 0.06) !important;
}

/* ── Iconos en caja (48 px · radio 14) ── */
body.home .jr-place-section .jr-place-title::before { flex-basis: 48px !important; height: 48px !important; border-radius: 14px !important; border-color: var(--jr-line) !important; }
body.home .jr-guarantee2-section .jr-guarantee-card::before { border-radius: 14px !important; border-color: var(--jr-line) !important; }

/* ── Tarjeta de Google (reseñas): una línea limpia ── */
body.home .jr-reviews-section .jr-reviews-google {
  display: flex !important; flex-wrap: wrap; align-items: center; gap: 14px 20px !important;
  padding: 22px 24px !important;
}
body.home .jr-reviews-section .jr-reviews-google > * { margin: 0 !important; grid-column: auto !important; grid-row: auto !important; }
body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons { margin-left: auto !important; }
body.home .jr-reviews-section .jr-reviews-score { font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.75rem) !important; line-height: 1 !important; }
body.home .jr-reviews-section .jr-reviews-score-stars { font-size: 1.125rem !important; letter-spacing: 0.12em; line-height: 1 !important; }
body.home .jr-reviews-section .jr-reviews-top { grid-template-columns: minmax(0, 1fr) auto !important; }
body.home .jr-reviews-section .jr-reviews-google {
  display: grid !important; grid-template-columns: 48px auto !important; grid-template-rows: auto !important;
  align-items: center; column-gap: 16px !important; row-gap: 6px !important; padding: 22px 26px !important; min-width: 300px;
}
body.home .jr-reviews-section .jr-reviews-glogo { grid-column: 1 !important; grid-row: 1 / span 3 !important; align-self: center; }
body.home .jr-reviews-section .jr-reviews-score { grid-column: 2 !important; grid-row: 1 !important; }
body.home .jr-reviews-section .jr-reviews-score-stars { grid-column: 2 !important; grid-row: 2 !important; }
body.home .jr-reviews-section .jr-reviews-count { grid-column: 2 !important; grid-row: 3 !important; font-size: var(--jr-fs-sm) !important; color: #bfd2f5; }
body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons { grid-column: 1 / -1 !important; grid-row: 4 !important; margin: 12px 0 0 !important; justify-self: stretch; }
body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons .wp-block-button { width: 100%; }
body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons .wp-block-button__link { width: 100%; }
@media (max-width: 900px) {
  body.home .jr-reviews-section .jr-reviews-top { grid-template-columns: minmax(0, 1fr) !important; }
  body.home .jr-reviews-section .jr-reviews-google { min-width: 0; justify-self: stretch; }
}
@media (min-width: 600px) and (max-width: 900px) {
  body.home .jr-reviews-section .jr-reviews-google { grid-template-columns: 48px auto minmax(0, 1fr) !important; }
  body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons { grid-column: 3 !important; grid-row: 1 / span 3 !important; margin: 0 !important; justify-self: end; }
  body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons .wp-block-button,
  body.home .jr-reviews-section .jr-reviews-google > .wp-block-buttons .wp-block-button__link { width: auto; }
}

/* ── Sección «Solicitar presupuesto» (#contacto) ── */
body.home .jr-contact-section h2 .jr-accent { color: #76a1ff !important; }
body.home #contacto { scroll-margin-top: 24px; }

/* ── Palabras resaltadas en azul en los títulos de sección ── */
body.home .entry-content .jr-section h2 .jr-accent,
body.home .entry-content .jr-section h2 .jr-services-title-accent { color: #76a1ff !important; }

/* ── Insignia de reseñas del hero: dentro de la foto, estilo tarjeta de Google ── */
body.home .jr-hero .jr-floating-badge {
  position: absolute !important; left: auto !important; top: auto !important; right: 16px !important; bottom: 16px !important;
  display: grid !important; grid-template-columns: 30px auto; column-gap: 12px; row-gap: 2px; align-items: center;
  margin: 0 !important; padding: 12px 16px !important; min-width: 0 !important; width: auto !important;
  border: 1px solid var(--jr-line) !important; border-radius: var(--jr-radius-md) !important;
  background: rgba(7, 13, 23, 0.88) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}
body.home .jr-hero .jr-floating-badge::before {
  content: ""; grid-row: 1 / span 2; width: 30px; height: 30px;
  background: url("assets/logos/other/Google__G__logo.svg") center / contain no-repeat;
}
body.home .jr-hero .jr-floating-badge > p { margin: 0 !important; grid-column: 2; }
body.home .jr-hero .jr-floating-badge .jr-floating-badge-title {
  display: flex; align-items: center; gap: 8px; color: #edf3ff !important;
  font-size: var(--jr-fs-h3) !important; font-weight: 800 !important; line-height: 1.1 !important;
}
body.home .jr-hero .jr-floating-badge .jr-star { font-size: var(--jr-fs-sm); letter-spacing: 0.08em; }
body.home .jr-hero .jr-floating-badge .jr-floating-badge-count { font-size: var(--jr-fs-xs) !important; color: #bfd2f5 !important; line-height: 1.3 !important; white-space: nowrap; }
@media (max-width: 600px) {
  body.home .jr-hero .jr-floating-badge { right: 12px !important; bottom: 12px !important; padding: 10px 12px !important; }
}

/* ════ Ajustes móvil (2026-11-24) ════ */
/* Garantía: el icono va dentro de su caja (SVG ya en azul). Home y página Política de garantía (2026-11-26) */
.jr-guarantee2-section .jr-guarantee-card::after { content: none !important; }
.jr-guarantee2-section .jr-guarantee-card::before {
  background-image: var(--jr-g-icon) !important; background-repeat: no-repeat !important;
  background-position: center !important; background-size: 26px !important;
}
@media (max-width: 600px) {
  /* Menos hueco entre secciones */
  body.home .jr-section { padding-block: 44px !important; }
  body.home .jr-hero { padding-bottom: 8px !important; }
  /* Desplegables de servicios: título en una línea */
  body.home .jr-services-section .jr-service-accordion-item > summary { font-size: var(--jr-fs-body) !important; gap: 12px; }
  body.home .jr-services-section .jr-service-accordion-item > summary::before { width: 30px !important; flex-basis: 30px !important; height: 36px !important; }
  /* Quién hay detrás: foto más contenida */
  body.home .jr-about-section .jr-about-photo img { max-width: 200px !important; }
  body.home .jr-about-section .jr-about-grid { gap: 20px !important; }
  /* Pie: enlaces en fila */
  .jr-site-footer .wp-block-navigation__container { flex-direction: row !important; flex-wrap: wrap; gap: 4px 18px !important; }
}
/* WhatsApp flotante: se oculta cuando ya hay WhatsApp en pantalla */
.jr-wa-float { transition: opacity 0.2s ease, transform 0.2s ease; }
.jr-wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ── Servicios: «Ver todas» solo en móvil (assets/js/services-more.js) ── */
.jr-service-more { display: none; }
@media (max-width: 600px) {
  body.home .jr-service-accordion-item.jr-has-more:not(.is-expanded) .jr-service-extra { display: none !important; }
  body.home .jr-service-accordion-item .jr-service-more {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    min-height: 44px; margin: 6px 0 0; padding: 0 20px;
    border: 1px solid rgba(118, 161, 255, 0.45); border-radius: 999px; background: transparent;
    color: #edf3ff; font: 700 var(--jr-fs-sm) / 1.2 Montserrat, sans-serif; cursor: pointer;
  }
  body.home .jr-service-accordion-item .jr-service-more::after {
    content: ""; width: 8px; height: 8px; border-right: 2px solid #76a1ff; border-bottom: 2px solid #76a1ff;
    transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease;
  }
  body.home .jr-service-accordion-item.is-expanded .jr-service-more::after { transform: translateY(2px) rotate(-135deg); }
}

/* ════ Móvil compacto (2026-11-24): misma información, menos scroll ════ */
@media (max-width: 600px) {
  /* Hero: foto apaisada */
  body.home .jr-hero .jr-visual-card { aspect-ratio: 16 / 11; height: auto !important; min-height: 0 !important; }
  body.home .jr-hero .jr-visual-card img { width: 100%; height: 100% !important; object-fit: cover; }
  body.home .jr-hero .jr-visual-card figure { height: 100%; margin: 0; }

  /* Calidad: foto pequeña a la izquierda, texto a la derecha */
  .jr-quality-warranty-section .jr-quality-card {
    grid-template-columns: 96px minmax(0, 1fr) !important; grid-template-rows: auto auto !important;
    column-gap: 14px !important; row-gap: 4px !important; align-items: center; padding: 12px 14px 12px 12px !important;
  }
  .jr-quality-warranty-section .jr-quality-card::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(1)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(2)::after,
  .jr-quality-warranty-section .jr-quality-card:nth-child(3)::after {
    grid-column: 1 !important; grid-row: 1 / span 2 !important; width: 96px !important; height: 96px !important;
    margin: 0 !important; border-radius: 12px; -webkit-mask-image: none !important; mask-image: none !important;
  }
  .jr-quality-warranty-section .jr-quality-icon { display: none !important; }
  .jr-quality-warranty-section .jr-quality-card h3 { grid-column: 2 !important; grid-row: 1 !important; align-self: end; padding: 0 !important; }
  .jr-quality-warranty-section .jr-quality-card-copy { grid-column: 2 !important; grid-row: 2 !important; align-self: start; padding: 0 !important; }

  /* Garantía: filas compactas (cifra a la izquierda, texto a la derecha) */
  body.home .jr-guarantee2-section .jr-guarantee-grid { gap: 10px; }
  body.home .jr-guarantee2-section .jr-guarantee-card {
    grid-template-columns: 96px minmax(0, 1fr) !important; padding: 16px 18px !important; column-gap: 14px !important;
  }
  body.home .jr-guarantee2-section .jr-guarantee-card::before { display: none !important; }
  body.home .jr-guarantee2-section .jr-guarantee-num { grid-column: 1; font-size: 2.25rem !important; display: flex; flex-direction: column; }
  body.home .jr-guarantee2-section .jr-guarantee-num span { margin: 4px 0 0 !important; font-size: 0.875rem !important; }
  body.home .jr-guarantee2-section .jr-guarantee-text { grid-column: 2; }
  body.home .jr-guarantee2-section .jr-guarantee-foot { margin-top: 14px; }

  /* Ubicación: mapa más bajo */
  body.home .jr-place-section .jr-place-map { min-height: 200px !important; }

  /* Quién hay detrás: foto más pequeña */
  body.home .jr-about-section .jr-about-photo img { max-width: 150px !important; }

  /* Pie: Horario y Enlaces en dos columnas */
  .jr-site-footer > .wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px 20px !important; }
  .jr-site-footer > .wp-block-columns > .wp-block-column:nth-child(-n+2) { grid-column: 1 / -1; }
  .jr-site-footer > .wp-block-columns > .wp-block-column:nth-child(3) p { font-size: var(--jr-fs-sm) !important; }
  .jr-site-footer .wp-block-navigation__container { flex-direction: column !important; gap: 0 !important; }
}
@media (max-width: 600px) {
  .jr-site-footer > .wp-block-columns { display: flex !important; flex-direction: column; gap: 24px !important; }
  .jr-site-footer > .wp-block-columns > .wp-block-column:nth-child(3) p { font-size: var(--jr-fs-copy) !important; }
  .jr-site-footer .wp-block-navigation__container { flex-direction: row !important; flex-wrap: wrap; gap: 0 18px !important; }
  .jr-site-footer { padding-bottom: 32px !important; }
}
@media (max-width: 600px) {
  body.home .jr-place-section .jr-place-attrib { top: 8px; bottom: auto !important; }
  body.home .jr-place-section .jr-place-pin { left: 10px; bottom: 10px; right: 10px; padding: 8px 12px !important; font-size: var(--jr-fs-xs) !important; }
}

/* ════════════════════════════════════════════════════════════════
   PÁGINA «SOLICITAR PRESUPUESTO» (/contacto) Y FORMULARIO WPForms
   Misma estética que la Home (sistema de componentes).
   ════════════════════════════════════════════════════════════════ */
body.page-id-17 .entry-content.wp-block-post-content { width: min(1148px, calc(100% - 64px)) !important; padding-top: clamp(28px, 4vw, 56px) !important; padding-bottom: clamp(56px, 6vw, 88px) !important; }
body.page-id-17 .jr-form-page { padding: 0 !important; }
body.page-id-17 .entry-content .jr-form-page > p,
body.page-id-17 .entry-content .jr-form-page .wp-block-group > p { padding: 0 !important; border: 0 !important; background: none !important; }
body.page-id-17 .entry-content h1.jr-form-title {
  max-width: 18ch; margin: 14px 0 12px !important; font-size: var(--jr-fs-h2) !important; line-height: var(--jr-lh-head) !important; letter-spacing: -0.01em !important;
}
body.page-id-17 .jr-form-title .jr-accent { color: #76a1ff; }
body.page-id-17 .jr-form-page .jr-section-lead { max-width: 60ch; margin: 0 !important; font-size: var(--jr-fs-lead) !important; color: #bfd2f5; }

body.page-id-17 .jr-form-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 28px; }
body.page-id-17 .jr-form-card,
body.page-id-17 .jr-aside-card {
  margin: 0 !important; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg);
}
body.page-id-17 .jr-form-card { padding: clamp(20px, 3vw, 32px); }
body.page-id-17 .jr-form-aside { display: grid; gap: 16px; margin: 0 !important; }
body.page-id-17 .jr-aside-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
body.page-id-17 .jr-aside-card > * { margin: 0 !important; }
body.page-id-17 .jr-aside-card--wa { border: 2px solid #25d366; background: linear-gradient(145deg, rgba(37, 211, 102, 0.12), rgba(9, 17, 30, 0.92)); }
body.page-id-17 .jr-aside-title { display: flex; align-items: center; gap: 12px; font-size: var(--jr-fs-h3) !important; line-height: 1.3 !important; }
body.page-id-17 .jr-aside-title::before {
  content: ""; flex: 0 0 40px; height: 40px; border-radius: 12px; border: 1px solid var(--jr-line);
  background-color: rgba(118, 161, 255, 0.08); background-repeat: no-repeat; background-position: center; background-size: 20px;
}
body.page-id-17 .jr-aside-title--wa::before { border-color: rgba(37, 211, 102, 0.5); background-color: rgba(37, 211, 102, 0.12); background-image: url("assets/images/jr-icon-whatsapp.svg"); background-size: 24px; }
body.page-id-17 .jr-aside-title--steps::before { background-image: url("assets/images/jr-icon-document.svg"); }
body.page-id-17 .jr-aside-title--hours::before { background-image: url("assets/images/jr-icon-calendar.svg"); }
body.page-id-17 .jr-aside-text { font-size: var(--jr-fs-copy) !important; line-height: 1.6; color: #bfd2f5; }
body.page-id-17 .jr-aside-text strong { color: #edf3ff; }
body.page-id-17 .jr-aside-note { font-size: var(--jr-fs-sm) !important; color: #8ea5c9; }
body.page-id-17 .jr-aside-card .wp-block-buttons { margin-top: 4px !important; }
body.page-id-17 .jr-aside-card .wp-block-button, body.page-id-17 .jr-aside-card .wp-block-button__link { width: 100%; }
body.page-id-17 .jr-steps { counter-reset: jrstep; list-style: none; margin: 4px 0 0 !important; padding: 0 !important; display: grid; gap: 12px; }
body.page-id-17 .jr-steps li { counter-increment: jrstep; position: relative; padding-left: 38px; font-size: var(--jr-fs-copy); line-height: 1.5; color: #bfd2f5; }
body.page-id-17 .jr-steps li::before {
  content: counter(jrstep); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(118, 161, 255, 0.14); border: 1px solid rgba(118, 161, 255, 0.45);
  color: #76a1ff; font-size: var(--jr-fs-xs); font-weight: 800;
}

/* ── Formulario ── */
body.page-id-17 .jr-form-card .wpforms-container {
  --wpforms-field-border-radius: 12px;
  --wpforms-field-border-size: 1px;
  --wpforms-field-border-color: rgba(118, 161, 255, 0.3);
  --wpforms-field-background-color: rgba(7, 13, 23, 0.65);
  --wpforms-field-text-color: #edf3ff;
  --wpforms-field-menu-color: #0d1627;
  --wpforms-label-color: #edf3ff;
  --wpforms-label-sublabel-color: #8ea5c9;
  --wpforms-label-error-color: #ff8a8a;
  --wpforms-button-border-radius: 999px;
  --wpforms-button-background-color: #76a1ff;
  --wpforms-button-text-color: #071424;
  --wpforms-field-size-input-height: 48px;
  --wpforms-field-size-font-size: 16px;
  --wpforms-field-size-input-spacing: 16px;
  --wpforms-label-size-font-size: 14px;
  --wpforms-label-size-line-height: 1.4;
  margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; max-width: none !important;
}
body.page-id-17 .jr-form-card .wpforms-form { margin: 0 !important; }
body.page-id-17 .jr-form-card .wpforms-field-container { display: flex; flex-wrap: wrap; column-gap: 4%; }
body.page-id-17 .jr-form-card .wpforms-field { width: 100% !important; margin: 0 0 18px !important; padding: 0 !important; float: none !important; clear: none !important; }
body.page-id-17 .jr-form-card .wpforms-field.wpforms-one-half { width: 48% !important; margin-left: 0 !important; }
body.page-id-17 .jr-form-card .wpforms-field-label,
body.page-id-17 .jr-form-card legend.wpforms-field-label {
  display: block; margin: 0 0 8px !important; padding: 0 !important;
  color: #edf3ff !important; font-size: var(--jr-fs-sm) !important; font-weight: 700 !important; line-height: 1.4 !important;
}
body.page-id-17 .jr-form-card .wpforms-required-label { color: #76a1ff !important; }
body.page-id-17 .jr-form-card input[type=text],
body.page-id-17 .jr-form-card input[type=email],
body.page-id-17 .jr-form-card input[type=tel],
body.page-id-17 .jr-form-card select,
body.page-id-17 .jr-form-card textarea {
  width: 100% !important; max-width: none !important; min-height: 48px; padding: 12px 16px !important;
  border: 1px solid rgba(118, 161, 255, 0.3) !important; border-radius: 12px !important;
  background-color: rgba(7, 13, 23, 0.65) !important; color: #edf3ff !important;
  font: 400 16px/1.4 Montserrat, sans-serif !important; box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.page-id-17 .jr-form-card textarea { min-height: 140px !important; height: 140px; resize: vertical; }
body.page-id-17 .jr-form-card select {
  appearance: none; -webkit-appearance: none; padding-right: 44px !important; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #76a1ff 50%), linear-gradient(135deg, #76a1ff 50%, transparent 50%) !important;
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52% !important; background-size: 6px 6px, 6px 6px !important; background-repeat: no-repeat !important;
}
body.page-id-17 .jr-form-card select option { background: #0d1627; color: #edf3ff; }
body.page-id-17 .jr-form-card input::placeholder,
body.page-id-17 .jr-form-card textarea::placeholder { color: #6f86a8 !important; opacity: 1; }
body.page-id-17 .jr-form-card select:invalid, body.page-id-17 .jr-form-card select option.placeholder { color: #6f86a8 !important; }
body.page-id-17 .jr-form-card input:hover, body.page-id-17 .jr-form-card select:hover, body.page-id-17 .jr-form-card textarea:hover { border-color: rgba(118, 161, 255, 0.55) !important; }
body.page-id-17 .jr-form-card input:focus, body.page-id-17 .jr-form-card select:focus, body.page-id-17 .jr-form-card textarea:focus {
  outline: none !important; border-color: #76a1ff !important; box-shadow: 0 0 0 3px rgba(118, 161, 255, 0.25) !important;
}
/* Casilla de privacidad */
body.page-id-17 .jr-form-card .wpforms-field-checkbox fieldset { margin: 0; padding: 0; border: 0; }
body.page-id-17 .jr-form-card .wpforms-field-checkbox ul { margin: 0 !important; padding: 0 !important; list-style: none; }
body.page-id-17 .jr-form-card .wpforms-field-checkbox li { display: flex !important; align-items: flex-start; gap: 12px; margin: 0 !important; padding: 0 !important; }
body.page-id-17 .jr-form-card input[type=checkbox] {
  appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px !important; height: 22px !important; margin: 1px 0 0 !important;
  border: 1px solid rgba(118, 161, 255, 0.55) !important; border-radius: 6px !important; background: rgba(7, 13, 23, 0.65) !important; cursor: pointer; position: relative;
}
body.page-id-17 .jr-form-card input[type=checkbox]::before { content: none !important; }
body.page-id-17 .jr-form-card input[type=checkbox]:checked { background: #76a1ff !important; border-color: #76a1ff !important; }
body.page-id-17 .jr-form-card input[type=checkbox]:checked::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #071424; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
body.page-id-17 .jr-form-card input[type=checkbox]:focus-visible { outline: 3px solid #76a1ff !important; outline-offset: 2px; }
body.page-id-17 .jr-form-card .wpforms-field-label-inline { margin: 0 !important; color: #bfd2f5 !important; font-size: var(--jr-fs-copy) !important; line-height: 1.5 !important; cursor: pointer; }
/* Errores */
body.page-id-17 .jr-form-card .wpforms-error,
body.page-id-17 .jr-form-card em.wpforms-error { display: block; margin: 6px 0 0 !important; padding: 0 !important; color: #ff8a8a !important; font-size: var(--jr-fs-sm) !important; font-style: normal; }
body.page-id-17 .jr-form-card .wpforms-has-error input, body.page-id-17 .jr-form-card .wpforms-has-error select, body.page-id-17 .jr-form-card .wpforms-has-error textarea,
body.page-id-17 .jr-form-card input.wpforms-error, body.page-id-17 .jr-form-card select.wpforms-error, body.page-id-17 .jr-form-card textarea.wpforms-error { border-color: #ff8a8a !important; }
/* Botón de envío = botón grande de la web */
body.page-id-17 .jr-form-card .wpforms-submit-container { margin: 6px 0 0 !important; padding: 0 !important; }
body.page-id-17 .jr-form-card button.wpforms-submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px !important; height: auto !important; padding: 0 26px !important;
  border: 0 !important; border-radius: 999px !important; background: linear-gradient(135deg, #76a1ff, #4b7ef5) !important; color: #071424 !important;
  font: 700 var(--jr-fs-copy) / 1.2 Montserrat, sans-serif !important; cursor: pointer; box-shadow: none !important;
}
body.page-id-17 .jr-form-card button.wpforms-submit:hover { filter: brightness(1.08); }
body.page-id-17 .jr-form-card button.wpforms-submit:focus-visible { outline: 3px solid #76a1ff !important; outline-offset: 3px; }
body.page-id-17 .jr-form-card .wpforms-submit-spinner { margin-left: 10px; }
/* Confirmación */
body.page-id-17 .jr-form-card .wpforms-confirmation-container-full {
  margin: 0 !important; padding: 20px 22px !important; border: 1px solid rgba(37, 211, 102, 0.5) !important; border-radius: 12px !important;
  background: rgba(37, 211, 102, 0.1) !important; color: #edf3ff !important; font-size: var(--jr-fs-copy);
}
body.page-id-17 .jr-form-card .wpforms-confirmation-container-full p { margin: 0; color: #edf3ff; }

@media (max-width: 900px) {
  body.page-id-17 .jr-form-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body.page-id-17 .entry-content.wp-block-post-content { width: calc(100% - 40px) !important; }
  body.page-id-17 .jr-form-card .wpforms-field.wpforms-one-half { width: 100% !important; }
  body.page-id-17 .jr-form-card { padding: 20px 18px; }
}
body.page-id-17 .jr-form-card textarea { height: 140px !important; min-height: 120px !important; max-height: 320px; }

/* ── Cabecera móvil: logo a la izquierda; botón y menú juntos a la derecha ── */
@media (max-width: 600px) {
  header .wp-block-site-logo { margin-right: auto !important; order: 0; }
  header .jr-header-actions { order: 1; }
  header nav.wp-block-navigation { order: 2; margin-left: 0 !important; flex: 0 0 auto; }
  header .wp-block-navigation__responsive-container-open {
    width: 40px; height: 40px; display: grid !important; place-items: center; padding: 0 !important;
    border: 1px solid rgba(118, 161, 255, 0.45); border-radius: 12px; color: #edf3ff;
  }
  header .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
}

/* ════════════════════════════════════════════════════════════════
   PÁGINAS INTERIORES (.jr-page): Garantía, Términos, Contacto, FAQ
   ════════════════════════════════════════════════════════════════ */
body.page .entry-content.wp-block-post-content:has(> .jr-page) {
  width: min(1148px, calc(100% - 64px)) !important; padding-top: clamp(28px, 4vw, 56px) !important; padding-bottom: clamp(56px, 6vw, 88px) !important;
}
body.page .jr-page { display: flex; flex-direction: column; gap: 0; }
body.page .jr-page > * { margin-block: 0 !important; }
body.page .entry-content .jr-page h1.jr-page-title {
  max-width: 20ch; margin: 14px 0 12px !important; font-size: var(--jr-fs-h2) !important; line-height: var(--jr-lh-head) !important; letter-spacing: -0.01em !important;
}
body.page .jr-page .jr-accent { color: #76a1ff; }
body.page .jr-page > .jr-section-lead { max-width: 62ch; margin: 0 !important; font-size: var(--jr-fs-lead) !important; color: #bfd2f5; }
body.page .jr-page > .jr-section-lead a { color: #76a1ff; }
body.page .jr-page-block { margin-top: clamp(36px, 5vw, 56px) !important; padding: 0 !important; }
body.page .entry-content .jr-page h2.jr-block-title { margin: 0 0 16px !important; font-size: var(--jr-fs-h3-lg) !important; line-height: 1.25 !important; }
body.page .jr-block-lead { max-width: 62ch; margin: -6px 0 16px !important; font-size: var(--jr-fs-copy) !important; color: #bfd2f5; }
body.page .jr-page .jr-guarantee2-section { padding: 0 !important; }
body.page .jr-page .jr-guarantee-grid { margin-top: 0 !important; }

/* Tarjetas de información */
body.page .jr-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.page .jr-info-grid--contact { margin-top: clamp(28px, 4vw, 40px) !important; }
body.page .jr-info-card {
  display: flex; flex-direction: column; gap: 8px; margin: 0 !important; padding: 22px;
  border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg);
}
body.page .jr-info-card > * { margin: 0 !important; }
body.page .entry-content .jr-info-card h3.jr-info-title { margin: 0 !important; font-size: var(--jr-fs-h3) !important; line-height: 1.3 !important; }
body.page .jr-info-text { font-size: var(--jr-fs-copy) !important; line-height: 1.6; color: #bfd2f5; }
body.page .jr-info-text a { color: #edf3ff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(118, 161, 255, 0.5); }
body.page .jr-info-text a:hover { color: #76a1ff; }
body.page .jr-info-card--mail .jr-info-text, body.page .jr-info-card--phone .jr-info-text { font-size: var(--jr-fs-h3) !important; }

/* Texto legal y bloques de lectura */
body.page .jr-prose {
  max-width: none; padding: clamp(22px, 3vw, 36px) !important; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: rgba(13, 22, 39, 0.6);
}
body.page .jr-prose > * { max-width: 75ch; }
body.page .entry-content .jr-prose h2 { margin: 0 0 16px !important; font-size: var(--jr-fs-h3-lg) !important; line-height: 1.25 !important; }
body.page .entry-content .jr-prose h3 { margin: 28px 0 10px !important; font-size: var(--jr-fs-h3) !important; color: #edf3ff; }
body.page .entry-content .jr-prose h4 { margin: 18px 0 6px !important; font-size: var(--jr-fs-body) !important; color: #76a1ff; }
body.page .jr-prose p, body.page .jr-prose li { font-size: var(--jr-fs-copy) !important; line-height: 1.7; color: #bfd2f5; }
body.page .jr-prose p { margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.page .jr-prose strong { color: #edf3ff; }
body.page .jr-prose ul { margin: 0 0 14px !important; padding-left: 22px !important; }
body.page .jr-prose li { margin-bottom: 6px; }
body.page .jr-prose li::marker { color: #76a1ff; }
body.page .jr-prose a { color: #76a1ff; }
body.page .jr-prose .jr-prose-date { margin-top: 20px !important; color: #8ea5c9; font-size: var(--jr-fs-sm) !important; }
body.page .jr-data-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
body.page .jr-data-list li { padding-left: 0; }

/* Llamada a la acción final */
body.page .jr-page-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: clamp(28px, 4vw, 40px) !important; padding: 22px 24px; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg);
  background: linear-gradient(90deg, rgba(118, 161, 255, 0.16), rgba(118, 161, 255, 0.04));
}
body.page .jr-page-cta > * { margin: 0 !important; }
body.page .jr-page-cta-text { flex: 1 1 260px; font-size: var(--jr-fs-h3) !important; font-weight: 700; color: #edf3ff; padding: 0 !important; border: 0 !important; background: none !important; }

/* ── Preguntas frecuentes (Home y página) ── */
.jr-faq-list { display: grid; gap: 10px; margin-top: 24px !important; }
.jr-faq-item {
  margin: 0 !important; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg); overflow: hidden;
}
.jr-faq-item[open] { border-color: #76a1ff; }
.jr-faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none;
  font-size: var(--jr-fs-body); font-weight: 700; line-height: 1.4; color: #edf3ff;
}
.jr-faq-item > summary::-webkit-details-marker { display: none; }
.jr-faq-item > summary::marker { content: ""; }
.jr-faq-item > summary::after {
  content: ""; flex: 0 0 10px; height: 10px; border-right: 2px solid #76a1ff; border-bottom: 2px solid #76a1ff;
  transform: translateY(-3px) rotate(45deg); transition: transform 0.2s ease;
}
.jr-faq-item[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.jr-faq-item > summary:focus-visible { outline: 3px solid #76a1ff; outline-offset: -3px; }
.jr-faq-item > p { margin: 0 !important; padding: 0 22px 20px !important; font-size: var(--jr-fs-copy) !important; line-height: 1.65; color: #bfd2f5; border: 0 !important; background: none !important; }
.jr-faq-item > p a { color: #76a1ff; }
body.home .jr-faq-section .wp-block-buttons { margin-top: 20px !important; }

/* ── Franja legal del pie ── */
.jr-site-footer .jr-footer-legal {
  max-width: 1180px; margin: 28px auto 0 !important; padding: 18px 16px 0 !important; box-sizing: border-box;
  border-top: 1px solid rgba(118, 161, 255, 0.15); gap: 8px 24px;
}
.jr-site-footer .jr-footer-legal p { margin: 0 !important; font-size: var(--jr-fs-sm) !important; color: #8ea5c9; }
.jr-site-footer .jr-footer-legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.jr-site-footer .jr-footer-legal-links a { color: #bfd2f5; text-decoration: none; padding-block: 4px; }
.jr-site-footer .jr-footer-legal-links a:hover { color: #76a1ff; text-decoration: underline; }

@media (max-width: 900px) {
  body.page .jr-info-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body.page .entry-content.wp-block-post-content:has(> .jr-page) { width: calc(100% - 40px) !important; }
  .jr-faq-item > summary { padding: 16px 18px; font-size: var(--jr-fs-copy); }
  .jr-faq-item > p { padding: 0 18px 18px !important; }
  body.page .jr-page-cta .wp-block-buttons, body.page .jr-page-cta .wp-block-button, body.page .jr-page-cta .wp-block-button__link { width: 100%; }
  .jr-site-footer .jr-footer-legal { flex-direction: column; align-items: flex-start !important; }
}
body.page .jr-page > .jr-eyebrow, body.page-id-17 .jr-form-page > .jr-eyebrow { align-self: flex-start; width: auto !important; display: inline-flex !important; }
body.page .jr-data-list { margin: 0 !important; }

/* ── Hero a pantalla completa en ordenador y tablet horizontal ──
   Ocupa el alto visible menos la cabecera (73 px) y centra el contenido. */
@media (min-width: 1024px) and (min-height: 600px) {
  body.home .jr-hero {
    display: flex !important; flex-direction: column; justify-content: center;
    min-height: calc(100svh - 73px); box-sizing: border-box;
    padding-top: 24px !important; padding-bottom: 48px !important;
  }
  body.home.admin-bar .jr-hero { min-height: calc(100svh - 73px - 32px); }
  body.home .jr-hero > * { width: 100%; }
}

/* ════ Hero móvil: todo en una pantalla (titular → foto → botones) ════ */
@media (max-width: 600px) {
  body.home .jr-hero { padding-top: 16px !important; padding-bottom: 8px !important; }
  body.home .jr-hero .jr-hero-grid { display: flex !important; flex-direction: column; gap: 0 !important; }
  body.home .jr-hero .jr-hero-copy { display: contents !important; }
  body.home .jr-hero .jr-hero-copy > .jr-eyebrow { order: 1; align-self: flex-start; margin: 0 0 12px !important; }
  body.home .jr-hero .jr-hero-copy > h1 { order: 2; margin: 0 0 12px !important; font-size: 2.125rem !important; line-height: 1.04 !important; }
  body.home .jr-hero .jr-hero-copy > .jr-hero-lead { order: 3; margin: 0 0 18px !important; font-size: var(--jr-fs-body) !important; }
  body.home .jr-hero .jr-hero-visual { order: 4; margin: 0 0 18px !important; }
  body.home .jr-hero .jr-hero-copy > .wp-block-buttons { order: 5; margin: 0 !important; display: grid !important; grid-template-columns: 1fr; gap: 10px !important; }
  body.home .jr-hero .jr-hero-copy > .wp-block-buttons .wp-block-button,
  body.home .jr-hero .jr-hero-copy > .wp-block-buttons .wp-block-button__link { width: 100% !important; margin: 0 !important; }
  /* La lista de dispositivos repite lo que dice Servicios: fuera en móvil */
  body.home .jr-hero .jr-hero-copy > :not(.jr-eyebrow):not(h1):not(.jr-hero-lead):not(.wp-block-buttons) { display: none !important; }
  /* Foto compacta apaisada */
  body.home .jr-hero .jr-visual-card { aspect-ratio: 16 / 9 !important; border-radius: var(--jr-radius-lg) !important; }
  body.home .jr-hero .jr-floating-badge { right: 10px !important; bottom: 10px !important; padding: 8px 12px !important; column-gap: 10px; }
  body.home .jr-hero .jr-floating-badge::before { width: 24px; height: 24px; }
  body.home .jr-hero .jr-floating-badge .jr-floating-badge-title { font-size: var(--jr-fs-body) !important; }
}
@media (max-width: 600px) {
  body.home .jr-hero .jr-hero-visual,
  body.home .jr-hero .jr-hero-copy > .wp-block-buttons { width: 100% !important; max-width: none !important; align-self: stretch !important; box-sizing: border-box; }
  body.home .jr-hero .jr-visual-card { width: 100% !important; height: auto !important; min-height: 0 !important; }
  body.home .jr-hero .jr-visual-card figure, body.home .jr-hero .jr-visual-card img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; }
}

/* ════ Móvil más corto (2026-11-25) ════ */
@media (max-width: 600px) {
  /* Calidad: tarjetas en carrusel deslizable */
  .jr-quality-warranty-section .jr-quality-options {
    display: flex !important; gap: 12px !important; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: -20px !important; padding: 2px 20px 6px !important; scroll-padding-inline: 20px;
  }
  .jr-quality-warranty-section .jr-quality-options::-webkit-scrollbar { display: none; }
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card { flex: 0 0 84%; scroll-snap-align: start; }
  .jr-quality-warranty-section .jr-quality-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
  .jr-quality-warranty-section .jr-quality-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(118, 161, 255, 0.3); transition: background 0.2s, width 0.2s; }
  .jr-quality-warranty-section .jr-quality-dots span.is-active { width: 20px; border-radius: 999px; background: #76a1ff; }

  /* Ubicación: sin mapa (la tarjeta de horario ya lleva «Ver en Google Maps») */
  body.home .jr-place-section .jr-place-map { display: none !important; }
  body.home .jr-place-section .jr-place-grid { margin-top: 18px !important; }

  /* Pie: solo contacto, enlaces y legal */
  .jr-site-footer > .wp-block-columns > .wp-block-column:nth-child(3),
  .jr-site-footer > .wp-block-columns > .wp-block-column:nth-child(1) .jr-footer-note,
  .jr-site-footer > .wp-block-columns > .wp-block-column:nth-child(2) .jr-footer-note,
  .jr-site-footer > .wp-block-columns > .wp-block-column:nth-child(2) .wp-block-buttons { display: none !important; }
  .jr-site-footer > .wp-block-columns { gap: 20px !important; }
  .jr-site-footer .jr-footer-legal { margin-top: 20px !important; }
}
.jr-quality-dots { display: none; }

/* ── Ajustes móvil (2026-11-25, ronda 2) ── */
@media (max-width: 600px) {
  /* Hero: más aire bajo la cabecera */
  body.home .jr-hero { padding-top: 32px !important; }

  /* Calidad (carrusel): foto arriba a todo el ancho, motivo completo */
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card {
    grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto !important;
    row-gap: 6px !important; padding: 0 0 16px !important; align-content: start;
  }
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card::after,
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(1)::after,
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(2)::after,
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(3)::after {
    grid-column: 1 !important; grid-row: 1 !important; width: 100% !important; height: 150px !important;
    margin: 0 0 8px !important; border-radius: 0 !important;
    background-size: auto 100% !important; background-position: right center !important; background-repeat: no-repeat !important;
  }
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card h3 { grid-column: 1 !important; grid-row: 2 !important; padding: 0 16px !important; align-self: start; }
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card .jr-quality-card-copy { grid-column: 1 !important; grid-row: 3 !important; padding: 0 16px !important; }
}

/* Calidad (carrusel móvil): fotos recortadas con el motivo centrado */
@media (max-width: 600px) {
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card::after,
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(1)::after,
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(2)::after,
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(3)::after {
    height: auto !important; aspect-ratio: 3 / 2; background-size: cover !important; background-position: center !important;
  }
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(1)::after { background-image: url("assets/images/repuesto-original-movil.jpg") !important; }
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(2)::after { background-image: url("assets/images/repuesto-compatible-movil.jpg") !important; }
  .jr-quality-warranty-section .jr-quality-options > .jr-quality-card:nth-child(3)::after { background-image: url("assets/images/repuesto-reparacion-movil.jpg") !important; }
}
@media (max-width: 600px) {
  body.home .jr-hero .jr-visual-card { aspect-ratio: 4 / 3 !important; }
  body.home .jr-hero .jr-visual-card img { object-position: center 60% !important; }
}
@media (max-width: 600px) {
  body.home .jr-hero .jr-visual-card { position: relative !important; overflow: hidden !important; }
  body.home .jr-hero .jr-visual-card > figure,
  body.home .jr-hero .jr-visual-card .wp-block-image {
    position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; min-height: 0 !important; margin: 0 !important;
  }
  body.home .jr-hero .jr-visual-card .wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; }
  body.home .jr-hero .jr-floating-badge { z-index: 2; }
}
@media (max-width: 600px) {
  body.home .jr-hero .jr-visual-card .jr-hero-real-photo {
    position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
    min-height: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: var(--jr-radius-lg) !important;
  }
  body.home .jr-hero .jr-hero-real-photo .wp-block-cover__image-background { object-position: center 55% !important; }
}

/* ── Botón flotante WhatsApp: icono centrado exacto ── */
@media (max-width: 1023px) {
  .jr-site-footer .jr-wa-float a { position: relative !important; }
  .jr-site-footer .jr-wa-float a::before {
    position: absolute; inset: 0; margin: auto; width: 30px; height: 30px;
  }
}

/* ════════════════════════════════════════════════════════════════
   PÁGINA PRECIOS (2026-11-25) — diagnóstico + tabla [jr_precios]
   Los precios vienen de la hoja de Google «Precios web» (inc/precios.php).
   ════════════════════════════════════════════════════════════════ */
body.page .jr-diag {
  display: flex; align-items: center; gap: 18px 28px; margin: 0 !important; padding: 22px 26px;
  border: 2px solid var(--jr-line-strong); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg);
}
body.page .jr-diag > * { margin: 0 !important; }
body.page .jr-diag-price { flex: none; font-size: var(--jr-fs-h2) !important; font-weight: 800; line-height: 1; color: #76a1ff; white-space: nowrap; }
body.page .jr-diag-text { display: flex; flex-direction: column; gap: 6px; }
body.page .jr-diag-text > * { margin: 0 !important; }

.jr-prices { display: flex; flex-direction: column; gap: 20px; }
.jr-prices-picker { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.jr-prices-label { font-size: var(--jr-fs-sm); font-weight: 700; color: #edf3ff; }
.jr-prices-select {
  width: 100%; min-height: 52px; padding: 0 44px 0 18px; border: 1px solid rgba(118, 161, 255, 0.45); border-radius: var(--jr-radius-md);
  background: #0d1627 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2376a1ff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center;
  color: #edf3ff; font: inherit; font-size: var(--jr-fs-body); color-scheme: dark; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.jr-prices-select:hover { border-color: #76a1ff; }
.jr-prices-select:focus-visible { outline: 3px solid #76a1ff; outline-offset: 2px; }
.jr-prices-models { display: flex; flex-direction: column; gap: 28px; }
.jr-prices-model[hidden] { display: none !important; }
body.page .entry-content .jr-prices h3.jr-prices-model-title { margin: 0 0 14px !important; font-size: var(--jr-fs-h3-lg) !important; line-height: 1.25 !important; }
.jr-prices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.jr-prices-item { padding: 18px 20px; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg); }
body.page .entry-content .jr-prices h4.jr-prices-rep { margin: 0 0 8px !important; font-size: var(--jr-fs-h3) !important; line-height: 1.3 !important; color: #edf3ff; }
.jr-prices-opts { margin: 0 !important; padding: 0 !important; list-style: none; }
.jr-prices-opts li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 !important; padding: 9px 0; border-top: 1px solid rgba(118, 161, 255, 0.14); }
.jr-prices-opts li:first-child { border-top: 0; }
.jr-prices-opt { font-size: var(--jr-fs-copy); color: #bfd2f5; }
.jr-prices-amount { flex: none; font-size: var(--jr-fs-body); font-weight: 800; color: #edf3ff; white-space: nowrap; }
body.page .jr-prices-note, .jr-prices-empty { margin-top: 18px !important; font-size: var(--jr-fs-sm) !important; color: #bfd2f5; }
body.page .jr-prices-note a, .jr-prices-empty a { color: #edf3ff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(118, 161, 255, 0.5); }
@media (max-width: 600px) {
  body.page .jr-diag { flex-direction: column; align-items: flex-start; padding: 20px; }
  .jr-prices-picker { max-width: none; }
  .jr-prices-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
   CASOS REALES: lista en /reparaciones/ y entrada individual
   ════════════════════════════════════════════════════════════════ */
:is(body.page, body.blog) .jr-cases .jr-cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 0 !important; padding: 0 !important; list-style: none; }
:is(body.page, body.blog) .jr-cases .jr-cases-grid > li { margin: 0 !important; }
:is(body.page, body.blog) .jr-case-card { display: flex; flex-direction: column; height: 100%; margin: 0 !important; overflow: hidden; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg); }
:is(body.page, body.blog) .jr-case-card > * { margin: 0 !important; }
:is(body.page, body.blog) .jr-case-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
:is(body.page, body.blog) .jr-case-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px !important; }
:is(body.page, body.blog) .jr-case-body > * { margin: 0 !important; }
body.page .entry-content .jr-case-title { font-size: var(--jr-fs-h3) !important; line-height: 1.3 !important; }
:is(body.page, body.blog) .jr-case-title a { color: #edf3ff; text-decoration: none; }
:is(body.page, body.blog) .jr-case-title a:hover { color: #76a1ff; }
:is(body.page, body.blog) .jr-case-excerpt p { margin: 0 !important; font-size: var(--jr-fs-copy) !important; line-height: 1.6; color: #bfd2f5; }
:is(body.page, body.blog) .jr-case-excerpt .wp-block-post-excerpt__more-text { margin-top: 10px !important; }
:is(body.page, body.blog) .jr-case-excerpt .wp-block-post-excerpt__more-link { color: #76a1ff; font-weight: 700; font-size: var(--jr-fs-sm); text-decoration: none; }
:is(body.page, body.blog) .jr-case-excerpt .wp-block-post-excerpt__more-link:hover { text-decoration: underline; }
:is(body.page, body.blog) .jr-cases-pagination { justify-content: center; gap: 8px; margin-top: 24px !important; font-size: var(--jr-fs-sm); }
:is(body.page, body.blog) .jr-cases-pagination a, :is(body.page, body.blog) .jr-cases-pagination .current { padding: 6px 12px; border-radius: 999px; color: #bfd2f5; text-decoration: none; }
:is(body.page, body.blog) .jr-cases-pagination .current { background: rgba(118, 161, 255, 0.18); color: #edf3ff; }
:is(body.page, body.blog) .jr-cases-empty { margin: 0 !important; padding: 22px !important; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg); font-size: var(--jr-fs-copy) !important; color: #bfd2f5; }

/* Entrada individual (casos y blog) */
.jr-post { display: flex; flex-direction: column; width: min(820px, calc(100% - 64px)); margin: 0 auto !important; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 6vw, 88px) !important; box-sizing: border-box; }
.jr-post > * { margin-block: 0 !important; }
.jr-post > .jr-post-cat { align-self: flex-start; width: auto !important; display: inline-flex !important; }
.jr-post > .jr-post-cat a { color: inherit; text-decoration: none; }
.jr-post h1.jr-post-title { margin: 14px 0 8px !important; font-size: var(--jr-fs-h2) !important; line-height: var(--jr-lh-head) !important; letter-spacing: -0.01em !important; }
.jr-post .jr-post-date { margin-bottom: 24px !important; font-size: var(--jr-fs-sm); color: #8ea5c9; }
.jr-post .jr-post-img { margin-bottom: 28px !important; overflow: hidden; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); }
.jr-post .jr-post-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jr-post .jr-post-content > * { max-width: 70ch; }
.jr-post .jr-post-content :is(p, li) { font-size: var(--jr-fs-body) !important; line-height: 1.7; color: #bfd2f5; }
.jr-post .jr-post-content p { margin: 0 0 14px !important; }
.jr-post .jr-post-content h2 { margin: 32px 0 12px !important; font-size: var(--jr-fs-h3-lg) !important; line-height: 1.25 !important; color: #edf3ff; }
.jr-post .jr-post-content h3 { margin: 24px 0 8px !important; font-size: var(--jr-fs-h3) !important; color: #edf3ff; }
.jr-post .jr-post-content ul, .jr-post .jr-post-content ol { margin: 0 0 14px !important; padding-left: 22px !important; }
.jr-post .jr-post-content li::marker { color: #76a1ff; }
.jr-post .jr-post-content a { color: #76a1ff; }
.jr-post .jr-post-content strong { color: #edf3ff; }
.jr-post .jr-post-content figure { max-width: none; margin: 20px 0 !important; }
.jr-post .jr-post-content figure img { border-radius: var(--jr-radius-md); }
.jr-post .jr-post-content figcaption { font-size: var(--jr-fs-sm); color: #8ea5c9; }
.jr-post .jr-page-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: clamp(28px, 4vw, 40px) !important; padding: 22px 24px; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg);
  background: linear-gradient(90deg, rgba(118, 161, 255, 0.16), rgba(118, 161, 255, 0.04));
}
.jr-post .jr-page-cta > * { margin: 0 !important; }
.jr-post .jr-page-cta-text { flex: 1 1 260px; font-size: var(--jr-fs-h3) !important; font-weight: 700; color: #edf3ff; }
.jr-post .jr-post-back { margin-top: 24px !important; font-size: var(--jr-fs-sm); }
.jr-post .jr-post-back a { color: #bfd2f5; text-decoration: none; }
.jr-post .jr-post-back a:hover { color: #76a1ff; text-decoration: underline; }
@media (max-width: 600px) {
  .jr-post { width: calc(100% - 40px); }
  :is(body.page, body.blog) .jr-cases .jr-cases-grid { grid-template-columns: minmax(0, 1fr); }
  .jr-post .jr-page-cta .wp-block-buttons, .jr-post .jr-page-cta .wp-block-button, .jr-post .jr-page-cta .wp-block-button__link { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   SERVICIOS (2026-11-25): índice /servicios/ y páginas de categoría
   Usa cajas, píldoras e iconos del sistema de componentes.
   ════════════════════════════════════════════════════════════════ */
body.page .jr-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
body.page .jr-svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0 !important; padding: 24px;
  border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg);
  transition: border-color 0.15s ease;
}
body.page .jr-svc-card > * { margin: 0 !important; }
body.page .jr-svc-card::before {
  content: ""; flex: none; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 4px;
  border: 1px solid var(--jr-line); background: rgba(118, 161, 255, 0.1);
}
body.page .jr-svc-card::after {
  content: ""; position: absolute; left: 36px; top: 36px; width: 24px; height: 24px; background: #76a1ff;
  -webkit-mask: var(--jr-svc-icon) center / contain no-repeat; mask: var(--jr-svc-icon) center / contain no-repeat;
}
body.page .jr-svc-card--phone { --jr-svc-icon: url("assets/images/jr-icon-service-phone.svg"); }
body.page .jr-svc-card--computer { --jr-svc-icon: url("assets/images/jr-icon-service-computer.svg"); }
body.page .jr-svc-card--watch { --jr-svc-icon: url("assets/images/jr-icon-service-watch.svg"); }
body.page .jr-svc-card--console { --jr-svc-icon: url("assets/images/jr-icon-service-console.svg"); }
body.page .jr-svc-card--chip { --jr-svc-icon: url("assets/images/jr-icon-service-chip.svg"); }
body.page .entry-content .jr-svc-card h3.jr-svc-title { margin: 0 !important; font-size: var(--jr-fs-h3) !important; line-height: 1.3 !important; }
body.page .jr-svc-title a { color: #edf3ff; text-decoration: none; }
body.page .jr-svc-title a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
body.page .jr-svc-card:hover, body.page .jr-svc-card:focus-within { border-color: var(--jr-line-strong); }
body.page .jr-svc-title a:focus-visible { outline: none; }
body.page .jr-svc-card:has(.jr-svc-title a:focus-visible) { outline: 3px solid #76a1ff; outline-offset: 3px; }
body.page .jr-svc-text { font-size: var(--jr-fs-copy) !important; line-height: 1.6; color: #bfd2f5; }
body.page .jr-svc-more { margin-top: auto !important; padding-top: 6px; font-size: var(--jr-fs-sm) !important; font-weight: 700; color: #76a1ff; }

/* Píldoras de reparaciones (mismo estilo que el acordeón de la Home) */
body.page .jr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none; }
body.page .jr-chips li {
  display: inline-flex; align-items: center; min-height: 36px; margin: 0; padding: 0 14px;
  border: 1px solid var(--jr-line); border-radius: 999px; background: rgba(118, 161, 255, 0.06);
  font-size: var(--jr-fs-sm); line-height: 1.3; color: #edf3ff;
}

/* Cómo trabajamos: pasos numerados automáticamente */
body.page .jr-steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: jrsvcstep; }
body.page .jr-step-card {
  display: flex; flex-direction: column; gap: 8px; margin: 0 !important; padding: 22px;
  border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); background: var(--jr-card-bg); counter-increment: jrsvcstep;
}
body.page .jr-step-card > * { margin: 0 !important; }
body.page .entry-content .jr-step-card h3.jr-info-title { margin: 0 !important; font-size: var(--jr-fs-h3) !important; line-height: 1.3 !important; }
body.page .jr-step-card::before {
  content: counter(jrsvcstep); display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 4px;
  border: 1px solid var(--jr-line); border-radius: 14px; background: rgba(118, 161, 255, 0.1);
  font-size: var(--jr-fs-h3); font-weight: 800; color: #76a1ff;
}

/* Páginas de categoría */
body.page .jr-info-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.page .jr-info-card.is-featured { border: 2px solid var(--jr-line-strong); }
body.page .jr-info-card .jr-chips { margin-top: 4px !important; }
body.page .jr-svc-back { margin-top: 24px !important; font-size: var(--jr-fs-sm) !important; }
body.page .jr-svc-back a { color: #bfd2f5; text-decoration: none; }
body.page .jr-svc-back a:hover { color: #76a1ff; text-decoration: underline; }

@media (max-width: 1024px) {
  body.page .jr-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body.page .jr-info-grid--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body.page .jr-steps-grid, body.page .jr-svc-grid { grid-template-columns: minmax(0, 1fr); }
  body.page .jr-svc-card, body.page .jr-step-card { padding: 20px; }
  body.page .jr-svc-card::after { left: 32px; top: 32px; }
}

/* ── Cabecera a 320 px (2026-11-25): logo + Presupuesto + menú no cabían (7 px de desborde) ── */
@media (max-width: 359px) {
  header .wp-block-site-logo img { height: 30px !important; }
  header .jr-header-actions .wp-block-button__link { padding: 8px 10px !important; }
}

/* ════ SOBRE NOSOTROS (2026-11-25): texto + foto del taller ════ */
body.page .jr-about-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
body.page .jr-about-split > * { margin: 0 !important; }
body.page .jr-about-text { display: flex; flex-direction: column; gap: 14px; }
body.page .jr-about-text > * { margin: 0 !important; }
body.page .jr-about-text p { max-width: 62ch; font-size: var(--jr-fs-body) !important; line-height: 1.7; color: #bfd2f5; padding: 0 !important; border: 0 !important; background: none !important; }
body.page .jr-about-text strong { color: #edf3ff; }
body.page .jr-about-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--jr-line); border-radius: var(--jr-radius-lg); }
@media (max-width: 900px) {
  body.page .jr-about-split { grid-template-columns: minmax(0, 1fr); }
}

/* ════ BLOG (2026-11-25): templates/home.html, solo entradas de «Consejos» ════ */
.jr-post.jr-blog { width: min(1148px, calc(100% - 64px)); }
.jr-blog .jr-accent { color: #76a1ff; }
.jr-blog .jr-blog-lead { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 40px) !important; font-size: var(--jr-fs-lead) !important; color: #bfd2f5; }
body.blog .jr-case-title { font-size: var(--jr-fs-h3) !important; line-height: 1.3 !important; }
@media (max-width: 600px) {
  .jr-post.jr-blog { width: calc(100% - 40px); }
}

/* ── Home: enlaces bajo el acordeón de servicios (2026-11-25) ── */
body.home .jr-services-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px !important; font-size: var(--jr-fs-sm) !important; }
body.home .jr-services-links a { display: inline-flex; align-items: center; min-height: 44px; color: #76a1ff; font-weight: 700; text-decoration: none; }
body.home .jr-services-links a:hover { text-decoration: underline; }

/* ── Cabecera en tableta (601–1023 px, 2026-11-25): con 5 enlaces el menú no cabía;
   se usa el mismo menú desplegable que en móvil ── */
@media (min-width: 601px) and (max-width: 1023px) {
  header .wp-block-site-logo { margin-right: auto !important; order: 0; }
  header .jr-header-actions { order: 1; }
  header nav.wp-block-navigation { order: 2; margin-left: 0 !important; flex: 0 0 auto; }
  header .wp-block-navigation__responsive-container-open {
    width: 40px; height: 40px; display: grid !important; place-items: center; padding: 0 !important;
    border: 1px solid rgba(118, 161, 255, 0.45); border-radius: 12px; color: #edf3ff;
  }
  header .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
  header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; }
}

/* ── Home a 320 px (2026-11-25): la tarjeta de Google (min-width 300 px) se salía 3 px ── */
@media (max-width: 359px) {
  body.home .jr-reviews-section .jr-reviews-google { min-width: 0 !important; grid-template-columns: 48px minmax(0, 1fr) !important; padding: 20px !important; }
  body.home .jr-reviews-section .jr-reviews-google > * { min-width: 0; white-space: normal !important; }
}

/* ── Formulario: información básica de protección de datos (2026-11-25) ── */
body.page .jr-form-legal { margin: 16px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: var(--jr-fs-xs) !important; line-height: 1.55; color: #8ea5c9; }
body.page .jr-form-legal strong { color: #bfd2f5; }
body.page .jr-form-legal a { color: #76a1ff; }
.wpforms-field-checkbox .wpforms-field-label-inline a { color: #76a1ff; text-decoration: underline; }
