.lang {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    margin-top: 22px;
  }
  .lang button, .lang a {
    border: 0;
    color: var(--muted);
    background: transparent;
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    cursor: pointer;
  }
  .lang button.active, .lang a.active { color: #180817; background: var(--rose); font-weight: 800; }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(7, 10, 18, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 0;
    text-align: left;
    max-width: none;
    margin: 0;
  }
  .topbar .shell.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
  }
  .topbar .shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
  .topbar .brand { display: flex; align-items: center; gap: 12px; font-weight: 850; }
  .topbar .mark {
    width: 220px;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .03);
    overflow: hidden;
  }
  .topbar .mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .topbar .navlinks { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
  .topbar a { color: inherit; text-decoration: none; }
  .topbar .navlinks a[aria-current="page"] { color: var(--rose); font-weight: 700; }
  .topbar .lang { margin-top: 0; }
  @media (max-width: 960px) {
    .topbar .navlinks { display: none; }
  }
  :root {
    --ink: #f7fbff;
    --muted: #a9b7c9;
    --muted-dim: #6f7d92;
    --bg: #070a12;
    --panel: #0c101c;
    --line: rgba(169, 183, 201, 0.14);
    --cyan: #67e8f9;
    --lime: #c7ff6b;
    --rose: #ff6fbd;
    --gold: #f5c86b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  * { box-sizing: border-box; }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
  }
  html, body { margin: 0; }
  body {
    color: var(--ink);
    background:
      radial-gradient(circle at 12% 8%, rgba(103, 232, 249, .16), transparent 28rem),
      radial-gradient(circle at 86% 12%, rgba(255, 111, 189, .12), transparent 32rem),
      linear-gradient(135deg, #05070d 0%, #0b1020 48%, #11131f 100%);
    min-height: 100vh;
  }

  /* ---------- Signature motif: a stitched measuring tape divider ---------- */
  .tape {
    height: 22px;
    width: 100%;
    background-image: repeating-linear-gradient(
      90deg,
      rgba(169, 183, 201, 0.35) 0 1px,
      transparent 1px 12px
    ), repeating-linear-gradient(
      90deg,
      rgba(169, 183, 201, 0.55) 0 1px,
      transparent 1px 60px
    );
    background-size: 100% 60%, 100% 100%;
    background-position: bottom, bottom;
    background-repeat: repeat-x;
    opacity: 0.45;
    margin: 0 auto;
  }

  /* ---------- Header ---------- */
  header {
    padding: 96px 24px 56px;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
  }
  .eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
  }
  h1 {
    margin: 0;
    font-size: clamp(48px, 9vw, 100px);
    font-weight: 850;
    background: linear-gradient(135deg, var(--rose), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .tagline {
    margin: 26px auto 8px;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 650;
    color: var(--ink);
    max-width: 640px;
  }
  .subtagline {
    margin: 0 auto;
    font-size: 15px;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.6;
  }
  .subtagline a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .subtagline a:hover,
  .subtagline a:focus-visible { color: var(--gold); }

  /* ---------- Sticky category nav ---------- */
  nav.catnav {
    position: sticky;
    top: 72px;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(7, 10, 18, 0.72);
    border-bottom: 1px solid var(--line);
  }
  .catnav-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px 100px 14px 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-padding-right: 24px;
    scrollbar-width: none;
  }
  .catnav-inner::-webkit-scrollbar { display: none; }
  .catnav-fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 96px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(7, 10, 18, 0.85) 70%);
    transition: opacity .2s ease;
  }
  .catnav-inner a {
    flex: none;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
  }
  .catnav-inner a:hover,
  .catnav-inner a:focus-visible {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255,255,255,0.04);
  }

  /* ---------- Search box ---------- */
  .catnav-search {
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px 24px 0;
  }
  .search-box {
    position: relative;
    display: flex;
    align-items: center;
  }
  .search-box svg {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    pointer-events: none;
    opacity: .55;
  }
  .search-box input {
    width: 100%;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 40px 12px 40px;
  }
  .search-box input::placeholder { color: var(--muted-dim); }
  .search-box input:focus {
    outline: none;
    border-color: rgba(255, 111, 189, .5);
  }
  .search-box button {
    position: absolute;
    right: 8px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
  }
  .search-box button:hover { color: var(--ink); background: rgba(255, 255, 255, .16); }
  .search-count {
    margin: 10px 2px 0;
    font-size: 12.5px;
    color: var(--muted-dim);
    letter-spacing: 0.02em;
  }
  .no-results {
    max-width: 560px;
    margin: 0 auto 8px;
    padding: 28px 24px 8px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
  }
  .no-results .search-cta {
    display: inline-flex;
    margin-top: 16px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    color: #180817;
    background: var(--rose);
  }

  /* ---------- Sections ---------- */
  main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 24px 24px 40px;
  }
  section.category {
    padding: 56px 0 24px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 84px;
  }
  section.category:last-of-type { border-bottom: none; }

  .cat-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
  }
  .cat-head h2 {
    margin: 0;
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .cat-head .accent {
    height: 3px;
    width: 46px;
    border-radius: 2px;
    display: inline-block;
    margin-right: 14px;
    vertical-align: middle;
  }
  .cat-count {
    font-size: 12px;
    color: var(--muted-dim);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  table {
    width: 100%;
    border-collapse: collapse;
  }
  thead th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-dim);
    font-weight: 600;
    padding: 0 0 10px;
  }
  thead th.num { width: 44px; }
  thead th.price { text-align: right; width: 120px; }

  tbody tr {
    border-bottom: 1px dashed var(--line); /* stitched seam */
  }
  tbody tr:last-child { border-bottom: none; }
  tbody td {
    padding: 13px 0;
    font-size: 15px;
    vertical-align: top;
  }
  tbody td.num {
    color: var(--muted-dim);
    font-variant-numeric: tabular-nums;
    font-size: 13px;
  }
  tbody td.service { color: var(--ink); line-height: 1.45; padding-right: 16px; }
  tbody td.price {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
  }
  .price-tag { color: var(--ink); }
  .price-call {
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.03em;
    color: var(--gold);
    border: 1px solid rgba(245, 200, 107, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* ---------- Custom tailoring / chips section ---------- */
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
  }
  .chip {
    font-size: 14px;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 10px 16px;
    border-radius: 12px;
  }
  .chips-note {
    font-size: 13px;
    color: var(--muted);
    margin: 18px 0 0;
    line-height: 1.6;
  }

  /* ---------- Footer ---------- */
  footer {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    text-align: center;
  }
  footer p {
    color: var(--muted-dim);
    font-size: 13px;
    line-height: 1.7;
  }
  footer strong { color: var(--muted); }

  /* ---------- Call flag (teléfono flotante) ---------- */
  .call-flag {
    position: fixed;
    right: 0;
    top: 48%;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    width: 58px;
    padding: 0;
    color: #06101a;
    background: linear-gradient(135deg, var(--gold), #fff2b8);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
    font-weight: 900;
    overflow: hidden;
    transform: none;
    transition: width .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .call-flag:hover,
  .call-flag:focus-visible {
    width: 154px;
    padding: 12px 14px;
    justify-content: flex-start;
    transform: translateX(-4px);
    box-shadow: 0 22px 55px rgba(245, 200, 107, .28);
    outline: none;
  }
  .call-flag-icon {
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    object-fit: contain;
    position: relative;
    z-index: 1;
  }
  .call-flag-text {
    flex: 0 0 0;
    width: 0;
    color: inherit;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    white-space: nowrap;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease, width .16s ease;
  }
  .call-flag:hover .call-flag-text,
  .call-flag:focus-visible .call-flag-text {
    flex-basis: 82px;
    width: 82px;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .call-flag small { display: block; font-size: 11px; line-height: 1; opacity: .75; }
  .call-flag span { display: block; line-height: 1.1; }
  .alt-flag {
    top: calc(48% + 74px);
    background: linear-gradient(135deg, var(--lime), #eaffc2);
  }
  .alt-flag:hover,
  .alt-flag:focus-visible {
    width: 180px;
    box-shadow: 0 22px 55px rgba(199, 255, 107, .28);
  }
  .alt-flag:hover .call-flag-text,
  .alt-flag:focus-visible .call-flag-text {
    flex-basis: 108px;
    width: 108px;
    white-space: normal;
    line-height: 1.15;
  }
  .home-flag {
    top: calc(48% + 148px);
    background: linear-gradient(135deg, var(--cyan), #d4f7ff);
  }
  .home-flag:hover,
  .home-flag:focus-visible {
    width: 154px;
    box-shadow: 0 22px 55px rgba(103, 232, 249, .28);
  }

  @media (max-width: 640px) {
    header { padding: 72px 20px 40px; }
    section.category { padding: 40px 0 16px; }
    thead th.num { display: none; }
    tbody td.num { display: none; }
    body { padding-bottom: 88px; }
    .catnav-inner { padding: 14px 24px; }
    .catnav-fade { display: none; }
    .call-flag {
      top: auto;
      right: 0;
      bottom: 16px;
      width: auto;
      min-height: 52px;
      padding: 10px 14px;
      justify-content: flex-start;
      gap: 8px;
      border-radius: 999px 0 0 999px;
      border-right: 1px solid rgba(255, 255, 255, .35);
      transform: none;
    }
    .call-flag-icon {
      flex: 0 0 30px;
      width: 30px;
      height: 30px;
    }
    .call-flag .call-flag-text {
      display: block;
      flex: 0 0 auto;
      width: auto;
      opacity: 1;
      visibility: visible;
      transform: none;
      white-space: nowrap;
    }
    .alt-flag {
      top: auto;
      bottom: 76px;
    }
    .alt-flag .call-flag-text {
      white-space: normal;
      max-width: 130px;
      line-height: 1.15;
    }
    .home-flag {
      top: auto;
      bottom: 136px;
    }
  }

  /* ---------- Assistant / chat ---------- */
  section.pf-assistant {
    padding: 56px 0 24px;
  }
  .pf-assistant-head { margin-bottom: 22px; }
  .pf-assistant-head h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .pf-assistant-head p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 520px; }
  .pf-assistant-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    align-items: stretch;
  }
  @media (max-width: 720px) {
    .pf-assistant-grid { grid-template-columns: 1fr; }
  }
  .pf-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
  }
  .pf-panel h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
  .pf-quick { display: grid; gap: 10px; }
  .pf-quick button {
    width: 100%;
    text-align: left;
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, .04);
    padding: 12px 14px;
    border-radius: 10px;
    font: inherit;
    font-size: 13.5px;
    cursor: pointer;
  }
  .pf-quick button:hover { border-color: rgba(255, 255, 255, .28); }
  .pf-chatbox { display: flex; flex-direction: column; min-height: 380px; }
  .pf-messages {
    flex: 1;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(2, 6, 13, .38);
    overflow: auto;
  }
  .pf-bubble { max-width: 88%; padding: 12px 14px; border-radius: 14px; line-height: 1.45; font-size: 14px; }
  .pf-bubble.bot { background: rgba(103, 232, 249, .12); border: 1px solid rgba(103, 232, 249, .2); }
  .pf-bubble.bot.typing { color: var(--muted); font-weight: 800; letter-spacing: 2px; }
  .pf-bubble.user { justify-self: end; background: rgba(255, 111, 189, .16); border: 1px solid rgba(255, 111, 189, .24); }
  .pf-bubble-cta {
    display: inline-flex;
    margin-top: 10px;
    margin-right: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    color: #180817;
  }
  .pf-bubble-cta.wa { background: var(--rose); }
  .pf-bubble-cta.call { background: var(--gold); }
  .pf-chat-input { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; }
  .pf-chat-input input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
  }
  .pf-chat-input button {
    border: 0;
    border-radius: 10px;
    padding: 0 20px;
    background: var(--rose);
    color: #180817;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
  }
