/* Courier conserva el ancho de las letras de Plex mientras se descarga la fuente. */
#servicios-titulo {
  font-family: 'ECONTA Mono', 'Courier New', 'Liberation Mono', monospace;
}

@media screen and (min-width: 821px) {
  .services-shell {
    grid-template-areas: "menu panels" "note panels";
    grid-template-rows: auto 1fr;
    row-gap: 0;
  }

  .service-menu { grid-area: menu; }
  .service-panels { grid-area: panels; }
  .service-menu-note { grid-area: note; }
}

@media screen and (max-width: 820px) {
  .services-shell.is-enhanced .service-panels {
    display: grid;
    gap: 10px;
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .services-shell.is-enhanced .service-panels::before { display: none; }

  .services-shell.is-enhanced .service-panel {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 1px solid #aab9dc38;
    border-radius: 17px;
    background: radial-gradient(ellipse at 0 0, #586d9a33, transparent 80%), #2a2938;
    box-shadow: inset 0 1px #ffffff0c;
    animation: none;
  }

  .service-panel .service-mobile-heading {
    margin: 0;
    font: inherit;
  }

  .service-mobile-toggle {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 78px;
    padding: 16px 19px;
    border: 0;
    border-radius: 16px;
    color: var(--cream);
    background: transparent;
    text-align: left;
  }

  .service-mobile-toggle:focus-visible { outline-offset: -4px; }

  .service-mobile-toggle:is(:hover, [aria-expanded='true']) {
    background: linear-gradient(100deg, #a8badb1c, transparent 85%);
  }

  .service-mobile-toggle .service-label strong { font-size: 15px; }
  .service-mobile-toggle .service-label small { font-size: 12px; line-height: 1.5; }
  .service-mobile-toggle .service-label { overflow-wrap: anywhere; }

  .service-mobile-indicator {
    display: grid;
    position: relative;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid #d2b98470;
    border-radius: 50%;
    color: var(--gold-light);
  }

  .service-mobile-indicator::before,
  .service-mobile-indicator::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 1px;
    background: currentColor;
  }

  .service-mobile-indicator::after { transform: rotate(90deg); }
  [aria-expanded='true'] > .service-mobile-indicator::after { display: none; }
  [aria-expanded='true'] > .service-number { color: var(--gold-light); }

  .services-shell.is-enhanced .service-details {
    display: flow-root;
    margin-inline: 19px;
    padding-block: 21px 23px;
    border-top: 1px solid #c9cede30;
  }

  .services-shell.is-enhanced .service-details .panel-kicker,
  .services-shell.is-enhanced .service-detail-title { display: none; }
}

@media screen and (max-width: 359px) {
  .service-mobile-toggle {
    grid-template-columns: 17px minmax(0, 1fr) 24px;
    gap: 9px;
    padding-inline: 13px;
  }

  .services-shell.is-enhanced .service-details { margin-inline: 13px; }
}

@media (forced-colors: active) {
  .service-mobile-toggle[aria-expanded='true'] { border: 1px solid Highlight; }
  .service-mobile-indicator::before,
  .service-mobile-indicator::after { border-top: 1px solid ButtonText; }
}

@media print {
  .service-mobile-heading { display: none !important; }
  .service-details[hidden] { display: block !important; }
}

.services-section > .section-heading {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  row-gap: .8rem;
}
.services-section > .section-heading > p { max-width: 60ch; text-wrap: balance; }
.hero-actions, .audit-preview__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem clamp(1rem, 2.5vw, 2.1rem);
}
.audit-preview__actions .quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
}
.quote-card > p.quote-referral {
  margin: .8rem 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.65;
}
.service-actions, .quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
}
.service-actions .quiet-link, .quote-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-size: .875rem;
  line-height: 1.6;
}

.contact-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.hero-actions .hero-contact { background: #11213fce; border-color: #d2b67ebf; color: #f7e7c7; }
.hero-actions .hero-contact:is(:hover,:focus-visible) { background: #27354c; border-color: #f1d495; }
.quote-card, #auditoria-personal { scroll-margin-block-start: 1rem; }
.quote-card { overflow-wrap: anywhere; }
.quote-card:focus-visible { outline-offset: 3px; }
.quote-picker select { width: 100%; max-width: 100%; font-size: 1rem; }
.quote-picker label { font-size: .875rem; line-height: 1.6; }
.quote-picker textarea {
  display: block; width: 100%; min-height: 6rem; padding: .75rem .9rem; resize: vertical;
  border: 1px solid #c3c4db65; border-radius: 10px; background: #1c2233; color: #f2ecdf;
  font: 1rem/1.5 system-ui, sans-serif;
}
.quote-picker textarea::placeholder { color: #b3b9c8; }
#quote-detail-help { margin: .45rem 0 0; color: var(--muted); font: .8125rem/1.55 system-ui, sans-serif; }
.quote-actions { margin-top: 1.25rem; gap: .75rem; }
.quote-actions .gold-button, .quote-actions .outline-button {
  flex: 1 1 10.5rem;
  min-width: 0;
  width: auto;
  margin: 0;
  padding-inline: 1rem;
  font-size: .8125rem;
}
.quote-copy { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; margin-top:.6rem; }
.quote-message {
  margin-top: 1rem;
  border-block: 1px solid #c6c0d13b;
  font-size: .875rem;
  line-height: 1.65;
}
.quote-message summary {
  padding: .65rem .15rem;
  color: #efdec0;
  cursor: pointer;
}
.quote-message > p { margin: .1rem 0 1rem; color: #e3e1eb; }
#quote-preview { white-space: pre-line; }
.quote-tips .quote-guide { margin: .35rem 0 1rem; border: 0; padding: 0; }
.quote-tips .privacy-hint { margin-bottom: 1rem; }
.quote-terms > a { margin-bottom: .9rem; }
.company-copy > .contact-capsule { margin-top: 1rem; }
.quote-card .quote-help, .quote-card .privacy-hint { font-size: .8125rem; }

@media (max-width: 820px) {
  .service-actions .outline-button { min-width: 0; width: auto; }
  .service-mobile-toggle .service-label strong { font-size: 1rem; line-height: 1.45; }
  .service-mobile-toggle .service-label small { font-size: .8125rem; }
}
@media (max-width: 430px) {
  .hero-actions > a { min-width: min(218px, 100%); }
  .quote-actions { align-items: stretch; }
  .service-actions, .quote-actions { flex-direction: column; }
  .quote-actions > a { flex: auto !important; }
  .service-actions .outline-button { width: 100%; }
}
/* Los canales fijos son redundantes al recorrer el contenido con el teclado. */
@media screen and (max-width: 680px) {
  body:has(main :focus-visible, footer :focus-visible) .mobile-contact-bar {
    visibility: hidden; opacity: 0; pointer-events: none; transition: none;
  }
}

/* El selector comparte una lámina de cristal entre servicios. */
.service-glass { display: none; }
@media screen and (min-width: 821px) and (forced-colors: none) {
  .service-menu { position: relative; isolation: isolate; }
  .service-glass {
    display: block; position: absolute; inset: 0 0 auto; z-index: -1;
    border: 1px solid #a5b8db6b; border-radius: 15px 26px 26px 15px;
    background: radial-gradient(ellipse at 2% 0%, #98b4e52c, transparent 63%),
      linear-gradient(112deg, #293853, #202a3e 72%, #262a39);
    box-shadow: inset 0 1px #f6eddb38, inset 3px 0 #cfb47d, 0 8px 20px #070c172c;
    pointer-events: none;
  }
  .service-menu > a[aria-selected='true'] { border-color: transparent; background: none; box-shadow: none; }
  .service-menu > a[aria-selected='true']::before { display: none; }
  .service-menu > a { padding-inline: clamp(15px, 1.5vw, 26px); }
  .service-menu .service-label strong { font-size: clamp(.94rem, 1.07vw, 1.14rem); }
  .service-menu .service-label small { font: .9rem/1.47 system-ui, sans-serif; }
}
@media screen and (prefers-reduced-motion: no-preference) and (min-width: 821px) {
  html[data-motion='running'] .service-glass {
    transition: transform .36s cubic-bezier(.22,.72,.18,1), height .26s ease-out;
  }
}

@media screen and (forced-colors: none) {
  .service-panels {
    background: radial-gradient(ellipse at 95% 0%, #44689b47, transparent 57%),
      linear-gradient(135deg, #293348, #1b2231 62%, #222432);
    border-color: #9dacc449; box-shadow: inset 0 1px #ffffff18, 0 18px 44px #060c182e;
  }
  .service-art {
    display: grid; place-items: center; width: clamp(56px, 6vw, 83px); height: auto; aspect-ratio: 1;
    opacity: 1; border-radius: 29%; border: 1px solid #c9b99775;
    color: #ebd2a1; background: radial-gradient(ellipse at 25% 4%, #6880a674, transparent 70%),
      linear-gradient(145deg, #39445a 0%, #223149 54%, #172332 94%);
    box-shadow: inset 0 2px 2px #f9eddc44, inset 0 -3px 4px #091326, 0 8px 14px #07102054;
  }
  .service-art svg { width: 59%; height: 59%; filter: drop-shadow(0 2px 1px #09101d); }
  .service-includes li::before { align-self: center; color: var(--gold-light); }
  .service-question { border-inline-start: 2px solid #b49a68; border-radius: 0 11px 11px 0; background: #101a2b6d; }
  .service-actions .outline-button { border-color: #d4b7789c; background: linear-gradient(145deg,#454247,#302e35); }
  .service-actions .outline-button:is(:hover, :focus-visible) { background: #4c4440; }
  .is-enhanced .service-mobile-toggle[aria-expanded='true'] { background: linear-gradient(105deg, #40597773, #252d3d 77%); }
  .service-mobile-toggle .service-mobile-indicator { background: #192539; box-shadow: inset 0 1px #f9e4bd30; }
  .service-mobile-toggle[aria-expanded='true'] .service-mobile-indicator { background: #d9bf8b; color: #14213b; border-radius: 8px; }
  .contact-channels {
    display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr);
  }
  .contact-channels > .contact-channel, .email-channel {
    border: 1px solid #a6bad03e; border-radius: 1.15rem;
    background: radial-gradient(ellipse at 1% 0%, #8ca8ce12, transparent 72%), #1b2434;
    box-shadow: inset 0 1px #ffffff10;
  }
  .contact-channels > .contact-channel:first-child {
    background: radial-gradient(ellipse at 0% 0%, #aebbc226, transparent 75%), #1c2c42;
    border-color: #b3c4dd59;
  }
  .contact-channels > .contact-channel, .email-channel .contact-channel {
    padding: clamp(14px, 1.5vw, 25px); gap: 1rem; min-height: 105px;
  }
  .contact-channel::before { inset: 1px; border-radius: inherit; }
  .contact-channels .contact-icon {
    border-color: #b9ac8b66; color: #eed49f;
    background: linear-gradient(140deg, #43506a, #253348 60%, #212c3e);
    box-shadow: inset 0 1px 2px #ebdcbc38, 0 3px 8px #06102052;
  }
  .email-channel { grid-column: 1/-1; min-width: 0; }
  .email-channel .contact-channel { border: 0; }
  .email-alternatives { padding: 0 1rem .7rem clamp(16px, 1.5vw, 25px); }
  .copy-status { min-height: 0; margin: 0; }
  .copy-status:not(:empty) { padding: 0 1rem 1rem; }
  .quote-card { background: radial-gradient(ellipse at 95% 0%,#6e789c38,transparent 64%), linear-gradient(140deg,#30374a,#202838 70%,#272937); }
  .faq-list { gap: .7rem; max-width: none; margin: 0; align-items: start; }
  .faq-list details {
    min-width: 0; border: 1px solid #a5b3cc40; border-radius: 15px;
    background: linear-gradient(135deg, #20293a, #1a2030 90%);
  }
  .faq-list details[open] { border-color: #bda77480; background: linear-gradient(135deg,#263347,#202637); }
  .faq-list summary { display: flex; align-items: center; min-height: 81px; padding: 16px 52px 16px 20px; }
  .faq-list summary::after {
    top: 50%; transform: translateY(-50%); right: 15px; width: 25px; height: 25px;
    display: grid; place-items: center; border-radius: 50%; border: 1px solid #c5b78f55; font-size: 16px;
  }
  .faq-list details p { margin: 0; padding: 0 20px 20px; color: #d4d9e3; }
  .faq-list summary:focus-visible { outline-offset: 2px; border-radius: inherit; }
}
@media screen and (min-width: 1200px) and (forced-colors: none) {
  .contact-channels { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-channels > .contact-channel {
    grid-template-columns: 1fr; align-content: start; justify-items: start; gap: 18px; min-height: 195px;
  }
  .contact-channels > .contact-channel strong { font-size: clamp(23px, 1.7vw, 30px); letter-spacing: -.05em; }
}
@media screen and (min-width: 1100px) {
  .faq-section { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.55fr); gap: clamp(36px, 5vw, 75px); align-items: start; }
  .faq-section .section-heading { display: block; margin: 0; }
  .faq-section .section-heading h2 { margin-top: .6rem; }
  .faq-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media screen and (max-width: 480px) {
  .service-art { width: 46px; margin-left: 12px; }
  .contact-channels > .contact-channel, .email-channel .contact-channel { gap: .72rem; }
  .contact-channels .contact-channel-copy strong { font-size: clamp(18px,5.6vw,25px); }
  .email-channel .contact-channel-copy strong { font-size: clamp(13px,3.6vw,17px); }
  .faq-list summary { min-height: 66px; }
}
@media screen and (prefers-reduced-transparency: no-preference) {
  @supports (backdrop-filter: blur(8px)) {
    .office-map > a > span { backdrop-filter: blur(8px); background: #0c1d32df; }
  }
}
.draft-status { font: .87rem/1.5 system-ui, sans-serif; color: var(--gold-light); }

@media (max-width: 680px) {
  .contact-section .section-heading { row-gap: .75rem; margin-bottom: 1.25rem; }
  .quote-card { --quote-inset-top: 20px; padding-inline: clamp(14px,4vw,22px); }
  .quote-card h3 { margin-block: .45rem; font-size: clamp(1.5rem,6.5vw,2rem); }
  .quote-card h3 br { display: none; }
  .quote-card > p { margin-block: .5rem; }
  .quote-picker { margin-block: .7rem; }
  .quote-picker label { margin-block: .65rem .3rem; line-height: 1.4; }
  .quote-picker select { min-height: 44px; padding-block: .42rem; }
  .quote-picker textarea { min-height: 3.75rem; padding: .45rem .75rem; }
  .quote-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .4rem; margin-block: .8rem .55rem; }
  .quote-actions > a { justify-content: center; min-height: 48px; padding: .5rem .45rem; text-align: center; line-height: 1.35; }
  .quote-message { margin-top: .6rem; }
  .quote-message summary { min-height: 44px; }
}
@media (max-width: 359px) {
  .quote-card .quote-intro { display: none; }
  .quote-card { scroll-margin-block-start: 0; }
}
