:root {
  color-scheme: light;
  --ink: #18352d;
  --paper: #f8f6ef;
  --muted: #4b5c52;
  --line: #c7cabf;
  --gold: #d7b16c;
  --serif: "Baskervville", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-underline-offset: .18em; }
[hidden] { display: none !important; }
@media (scripting: none) { #lead-form { display: none; } }
:focus-visible { outline: 3px solid #a5621c; outline-offset: 4px; }
.skip { position: absolute; left: .75rem; top: -5rem; background: white; padding: .6rem 1rem; z-index: 2; }
.skip:focus { top: .5rem; }
.masthead, footer, .desk { width: min(74rem, calc(100% - 5rem)); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.4rem; border-bottom: 1px solid var(--line); }
.firm { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.monogram { position: relative; display: inline-grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--ink); font: 1.95rem/1 var(--serif); letter-spacing: -.25em; padding-right: .35em; }
.monogram i { position: absolute; font-size: 1.13rem; top: .75rem; left: 1.33rem; font-style: normal; }
.wordmark { display: grid; gap: .16rem; font: 1.48rem/1.12 var(--serif); letter-spacing: -.04em; }
.wordmark small { font: .57rem/1.3 var(--sans); letter-spacing: .18em; }
.contact-link, .back { font-size: .85rem; font-weight: 650; }
.contact-link { padding: .65rem 0; }
.desk { display: grid; grid-template-columns: minmax(15rem,.84fr) minmax(0,1.16fr); gap: clamp(2rem,5vw,5.3rem); align-items: center; padding-block: clamp(2.2rem,5.7vw,5.2rem); }
.portrait { margin: 0; background: var(--ink); padding: clamp(.7rem,1.1vw,1rem); border-radius: .45rem; color: #fffaf0; box-shadow: 0 .3rem 0 #caba99, 0 1.1rem 2.7rem -2rem #302a1d; }
.picture-frame { overflow: hidden; border: 1px solid #868272; border-radius: .2rem; background: #453a2c; }
.picture-frame img { display: block; width: 100%; height: auto; aspect-ratio: .97; object-fit: cover; }
.portrait figcaption { padding: 1rem .5rem .4rem; display: grid; gap: .3rem; }
.portrait b { font: 1.6rem/1.1 var(--serif); }
.portrait figcaption span { font-size: .84rem; color: #dddccc; line-height: 1.45; }
.workspace { min-width: 0; }
.panel { min-width: 0; }
.overline { display: flex; align-items: center; gap: .58rem; margin: 0 0 .9rem; color: var(--muted); font: 650 .73rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.overline span { font-size: 1.3rem; line-height: 1; color: var(--ink); }
h1, h2, p { margin: 0; }
h1 { font: 400 clamp(2.9rem,5.5vw,5.15rem)/1.02 var(--serif); letter-spacing: -.065em; text-wrap: balance; }
h1 em { font-weight: 400; }
.intro { max-width: 49ch; margin-top: .95rem; color: var(--muted); font-size: clamp(1rem,1.45vw,1.12rem); line-height: 1.55; }
.routes { list-style: none; margin: clamp(1.3rem,2.7vw,2.1rem) 0 0; padding: 0; border-top: 1px solid var(--line); }
.routes li { border-bottom: 1px solid var(--line); }
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.68rem,1.45vw,1.1rem); padding: 1rem .1rem; text-decoration: none; }
.key { width: 2.5rem; height: 2.45rem; display: grid; place-items: center; border: 1px solid #c1baa7; border-radius: .3rem; background: #eee9db; box-shadow: inset 0 1px 0 white, 0 2px 0 #b5ad98; font: 1.25rem/1 var(--mono); }
.route strong, .route small { display: block; }
.route strong { font: 650 1.08rem/1.35 var(--sans); }
.route small { margin-top: .2rem; font-size: .89rem; line-height: 1.45; color: var(--muted); }
.go { font-size: 1.4rem; line-height: 1; }
@media (hover: hover) {
  .route:hover .key { color: #fff; background: var(--ink); box-shadow: none; border-color: var(--ink); }
  .route:hover strong { text-decoration: underline; text-underline-offset: .18em; }
  .cta:hover { background: #254e43; }
}
.alternate { margin-top: 1.15rem; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.alternate a { color: var(--ink); font-weight: 650; }
.back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
body[data-service="recepcion"] .desk { align-items: start; padding-top: 2.6rem; }
.registration h1 { font-size: clamp(2.7rem,4.8vw,4.4rem); }
.registration .intro { font-size: 1rem; }
form { margin-top: 1.6rem; }
fieldset { border: 0; min-width: 0; margin: 0; padding: 0; }
legend { font-weight: 700; margin-bottom: .85rem; padding: 0; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem .95rem; }
.fields label { display: grid; gap: .32rem; font-size: .84rem; font-weight: 620; }
.wide { grid-column: 1 / -1; }
.fields input { display: block; width: 100%; min-width: 0; min-height: 2.8rem; padding: .55rem .72rem; border: 1px solid #8d988a; border-radius: .25rem; color: var(--ink); background: #fffefa; font: 1rem/1.35 var(--sans); }
.fields input::placeholder { color: #677468; }
.consent { display: flex; align-items: flex-start; gap: .68rem; margin-block: 1rem; font-size: .84rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.consent input { flex: none; margin: .12rem 0 0; width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
.cta { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 2.9rem; padding: .75rem 1.15rem; border: 1px solid var(--ink); border-radius: .27rem; color: white; background: var(--ink); font: 650 .95rem/1.35 var(--sans); cursor: pointer; }
.cta:disabled { cursor: wait; opacity: .68; }
.voice { margin-top: 1.25rem; padding: 1.2rem; background: #e9eee7; border-left: 3px solid var(--ink); }
.voice h2 { font: 1.5rem/1.2 var(--serif); }
.voice p { margin-block: .6rem 1rem; line-height: 1.55; }
.feedback:not(:empty) { margin: .75rem 0 0; font-weight: 650; font-size: .93rem; line-height: 1.5; }
footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; padding-block: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
@media (max-width: 47rem) {
  .masthead, footer, .desk { width: calc(100% - 2.4rem); }
  .masthead { min-height: 4.3rem; }
  .desk { display: flex; flex-direction: column; align-items: stretch; gap: 1.6rem; padding-block: 1.4rem 2.3rem; }
  .portrait { display: flex; align-items: center; padding: .52rem; gap: .85rem; }
  .picture-frame { width: clamp(4rem,15vw,6.5rem); flex: none; }
  .picture-frame img { aspect-ratio: 1; }
  .portrait figcaption { padding: 0 .25rem 0 0; }
  .portrait b { font-size: 1.35rem; }
  .portrait figcaption span { font-size: .78rem; }
  body[data-service="recepcion"] .desk { align-items: stretch; padding-top: 1.4rem; }
  .contact-link { font-size: .77rem; }
  .alternate { margin-top: .85rem; }
}
@media (max-width: 25.5rem) {
  .masthead, footer, .desk { width: calc(100% - 2rem); }
  .wordmark { font-size: 1.15rem; }
  .wordmark small { font-size: .49rem; }
  .monogram { width: 2.25rem; height: 2.25rem; font-size: 1.65rem; }
  .monogram i { left: 1.12rem; top: .62rem; }
  .fields { grid-template-columns: 1fr; }
  .cta { width: 100%; }
  footer { align-items: start; flex-direction: column; }
}

/* The receiver remains a native button at every step of both voice forms. */
.console:has(.retro-telephone) {
  border: 1px solid #7c7868;
  box-shadow: 0 0 0 3px #cec9b9, 0 0 0 4px #938f80, 0 1.2rem 2.2rem -1.55rem #34352b9e;
}
.console:has(.retro-telephone) .console-top {
  min-height: 2.65rem;
  border-top: 2px solid #e9e3d3;
  border-bottom: 1px solid #868474;
  background: linear-gradient(#dedbcb,#c2beaf);
  color: #263d31;
}
.console:has(.retro-telephone) .console-top .console-mark { color: #364a3e; }
.console:has(.retro-telephone) .console-online {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .27rem .5rem; border: 1px solid #8a9981; border-radius: .2rem;
  color: #244e35; background: #dce5c9; box-shadow: inset 0 1px 2px #8b998073;
}
body[data-service="recepcion"]:has(.retro-telephone) .picture-frame {
  box-shadow: 0 0 0 1px #353f31, 0 0 0 3px #69836b;
}
.retro-telephone {
  --retro-green: #194338;
  --retro-ink: #202d26;
  margin: 1.1rem 0 1.55rem;
  max-width: 34rem;
  color: var(--retro-ink);
}
.retro-hook {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
  width: 100%;
  padding: .5rem .95rem .5rem .3rem;
  color: var(--retro-ink);
  text-align: left;
  background: linear-gradient(150deg, #f1ede0 6%, #dfdccb 58%, #d0cdbb);
  border: 1px solid #a09c86;
  border-radius: .78rem;
  box-shadow: inset 1px 2px 0 #fffaf0, inset -1px -3px 0 #b7b29c, 0 3px 0 #b5ad94;
  cursor: pointer;
}
.retro-hook:focus-visible { outline: 3px solid #8b5214; outline-offset: 4px; }
.retro-hook:disabled { cursor: default; opacity: 1; }
.retro-deskset { display: block; width: 100%; height: auto; overflow: visible; }
.retro-handpiece { transform-origin: 51% 55%; filter: drop-shadow(0 3px 1px #17362b51); }
.retro-action { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .48rem; color: #143b2c; background: #dfe6cc; border: 1px solid #8b977e; border-radius: .25rem; padding: .66rem .6rem; box-shadow: inset 1px 2px 1px #b7c2a8, inset -1px -1px 0 #fcf9e6; }
.retro-label { font: 650 .9rem/1.15 "IBM Plex Mono", Consolas, monospace; letter-spacing: -.04em; }
.retro-lamp { width: .44rem; height: .44rem; border-radius: 50%; background: #64785a; border: 1px solid #52624c; }
.retro-chevron { font: 1.05rem/1 sans-serif; }
.retro-help { margin: .65rem .1rem 0; font: .83rem/1.45 "DM Sans", "Segoe UI", sans-serif; color: #49584d; }
.retro-current { stroke: transparent; stroke-width: 2.2; }
.retro-telephone[data-line="connecting"] .retro-lamp { background: #c3842c; border-color: #976726; }
.retro-telephone[data-line="live"] .retro-lamp { background: #59a640; border-color: #326b36; box-shadow: 0 0 .4rem #78bf67; }
.retro-telephone[data-line="live"] .retro-action { background: #d6e7be; }
.retro-telephone[data-line="live"] .retro-handpiece { transform: translate(0,-6px) rotate(-3deg); filter: drop-shadow(0 7px 2px #17362b51); }
.retro-telephone[data-line="live"] .retro-current { stroke: #98df8a; stroke-dasharray: 6 24; }
.retro-telephone[data-line="ended"] .retro-lamp,
.retro-telephone[data-line="error"] .retro-lamp { background: #935343; border-color: #663429; }
@media (prefers-reduced-motion: no-preference) {
  .retro-handpiece { transition: transform .2s ease, filter .2s ease; }
  .retro-telephone[data-line="live"] .retro-current { animation: retro-signal 1.5s linear infinite; }
  @keyframes retro-signal { to { stroke-dashoffset: -60; } }
}
@media (hover: hover) {
  .retro-telephone:not([data-line="live"]) .retro-hook:not(:disabled):hover .retro-handpiece { transform: translateY(-3px) rotate(-1deg); }
  .retro-hook:not(:disabled):hover .retro-label { text-decoration: underline; text-underline-offset: .18em; }
}
@media (max-width: 30rem) {
  .retro-hook { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: .25rem; padding-right: .55rem; }
  .retro-action { padding: .55rem .4rem; gap: .3rem; }
  .retro-label { font-size: .8rem; }
  .retro-chevron { display: none; }
}
@media (forced-colors: active) {
  .retro-hook,.retro-action { border-color: ButtonText; }
  .retro-deskset { forced-color-adjust: none; }
}
