  :root {
    --bg: #fafaf7;
    --bg-elev: #ffffff;
    --bg-tint: #f0f0eb;
    --ink: #0a0a0f;
    --ink-2: #2a2a35;
    --ink-dim: #6b6b78;
    --ink-faint: #a8a8b3;
    --line: #e8e8e3;
    --line-strong: #d8d8d3;

    --accent: #2347e5;
    --accent-soft: #eef1ff;
    --accent-deep: #1530b8;
    --success: #00a955;

    --grid: rgba(10,10,15,.04);

    --serif: 'Instrument Serif', ui-serif, Georgia, serif;
    --sans:  'Geist', system-ui, sans-serif;
    --mono:  'Geist Mono', ui-monospace, monospace;

    --shadow-sm: 0 1px 2px rgba(10,10,15,.04);
    --shadow-md: 0 4px 24px -8px rgba(10,10,15,.08), 0 1px 3px rgba(10,10,15,.04);
    --shadow-lg: 0 24px 48px -12px rgba(10,10,15,.12), 0 4px 16px -4px rgba(10,10,15,.06);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
      linear-gradient(var(--grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: -1px -1px;
  }

  body::before {
    content: '';
    position: fixed;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 1200px; height: 600px;
    background: radial-gradient(ellipse at center, rgba(35,71,229,.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  /* ====== BANNER ====== */
  .top-banner {
    background: var(--ink);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .top-banner .tag {
    background: var(--success);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .1em;
    font-size: 10px;
    box-shadow: 0 0 0 0 rgba(0,169,85,.7);
    animation: tag-pulse 2.4s cubic-bezier(0,0,.2,1) infinite;
  }
  @keyframes tag-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,169,85,.7); }
    70%  { box-shadow: 0 0 0 8px rgba(0,169,85,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,169,85,0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .top-banner .tag { animation: none; }
  }
  .top-banner strong {
    color: white;
    font-weight: 600;
    background: rgba(255,255,255,.12);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--mono);
  }
  .top-banner a {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.4);
    text-underline-offset: 3px;
  }
  .top-banner a:hover { text-decoration-color: white; }

  .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
  }

  /* ====== NAV ====== */
  nav {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-dim);
  }
  .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
  }
  .logo-mark {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    position: relative;
  }
  .logo-mark::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 3px;
    background: var(--bg-elev);
    opacity: .25;
  }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--ink);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-family: var(--sans);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s;
  }
  .nav-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
  }

  /* ====== HERO ====== */
  .hero {
    padding: 56px 0 64px;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: var(--accent-soft);
    border: 1px solid rgba(35,71,229,.15);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent-deep);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp .8s .1s forwards;
  }
  .hero-eyebrow .pill {
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: .05em;
    font-weight: 500;
  }

  .hero h1 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(36px, 6.5vw, 80px);
    line-height: 1.02;
    letter-spacing: -.035em;
    margin-bottom: 24px;
    color: var(--ink);
    max-width: 920px;
    opacity: 0;
    animation: fadeUp 1s .25s forwards;
  }
  .hero h1 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
  }

  .hero .lede {
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.5;
    max-width: 640px;
    color: var(--ink-dim);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s .4s forwards;
  }
  .hero .lede strong { color: var(--ink); font-weight: 600; }

  /* ====== SALE CARD ====== */
  .sale-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    max-width: 760px;
    opacity: 0;
    animation: fadeUp 1s .55s forwards;
    position: relative;
    overflow: hidden;
  }
  .sale-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  }

  .sale-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .sale-card-head .label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-faint);
    margin-bottom: 8px;
  }
  .price {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1;
    color: var(--ink);
    letter-spacing: -.03em;
  }
  .price .from {
    font-size: .35em;
    color: var(--ink-dim);
    font-weight: 400;
    margin-right: 6px;
    vertical-align: super;
  }
  .price .currency {
    color: var(--accent);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
  }
  .price-detail {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-dim);
    margin-top: 10px;
  }
  .availability { text-align: right; }
  .availability .status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0,169,85,.1);
    color: var(--success);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
  }
  .availability .status .dot {
    width: 6px; height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0,169,85,.15);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
  }
  .availability .id {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-faint);
  }

  .sale-card-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    flex: 1;
    min-width: 200px;
  }
  .btn-primary {
    background: var(--ink);
    color: white;
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.1);
  }
  .btn-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -4px rgba(35,71,229,.4);
  }
  .btn-ghost {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--line-strong);
  }
  .btn-ghost:hover {
    background: white;
    border-color: var(--ink);
    transform: translateY(-1px);
  }
  .btn .arrow { transition: transform .2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  .sale-card-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-dim);
  }
  .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .trust-item svg {
    color: var(--success);
    flex-shrink: 0;
  }
  .trust-item a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 2px;
  }
  .trust-item a:hover { text-decoration-color: currentColor; }

  .faq-item a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .faq-item a:hover { color: var(--accent-deep); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ====== PORTFOLIO ====== */
  .portfolio {
    padding: 80px 0 40px;
  }
  .portfolio-head {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
  }
  .portfolio-head .left .eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
  }
  .portfolio-head h2 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--ink);
  }
  .portfolio-head h2 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
  }
  .portfolio-head .right {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-dim);
    text-align: right;
  }
  .portfolio-head .right strong {
    color: var(--ink);
    font-size: 24px;
    font-family: var(--sans);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
  }

  .domain-group {
    margin-bottom: 32px;
  }
  .group-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-dim);
  }
  .group-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
  }
  .group-label .count {
    background: var(--bg-tint);
    color: var(--ink);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
  }

  .domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
  }
  .domain-item {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all .2s;
    position: relative;
  }
  .domain-item:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
  .domain-item .name {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .domain-item .name .tld {
    color: var(--accent);
  }
  .domain-item .ext-tag {
    font-family: var(--mono);
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--bg-tint);
    color: var(--ink-dim);
    flex-shrink: 0;
  }
  .domain-item.featured {
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-elev) 70%);
    border-color: rgba(35,71,229,.25);
  }
  .domain-item.featured .name { color: var(--accent-deep); }

  /* "Estás aquí" - dominio actual */
  .domain-item.current {
    border-color: var(--accent);
    border-width: 2px;
    background: var(--accent-soft);
    box-shadow: 0 0 0 4px rgba(35,71,229,.08), var(--shadow-md);
  }
  .domain-item.current .name {
    color: var(--accent-deep);
    font-weight: 600;
  }
  .domain-item.current::before {
    content: 'ESTÁS AQUÍ';
    position: absolute;
    top: -9px;
    left: 14px;
    background: var(--accent);
    color: white;
    font-family: var(--mono);
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .08em;
    font-weight: 600;
  }

  /* ====== SECCIONES ====== */
  section.content {
    padding: 80px 0;
  }
  .section-head {
    max-width: 720px;
    margin-bottom: 48px;
  }
  .section-head .eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
  }
  .section-head h2 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .section-head h2 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
  }
  .section-head .subtitle {
    font-size: 16px;
    color: var(--ink-dim);
    line-height: 1.5;
  }

  /* ====== STATS ====== */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  .stat-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all .25s;
  }
  .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .stat-card .num {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 36px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -.03em;
    margin-bottom: 8px;
  }
  .stat-card .num .unit {
    font-size: .55em;
    color: var(--accent);
    margin-left: 2px;
  }
  .stat-card .lbl {
    font-size: 13px;
    color: var(--ink-dim);
    line-height: 1.4;
  }

  /* ====== BUYERS ====== */
  .buyers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
  .buyer-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    transition: all .25s;
  }
  .buyer-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
  }
  .buyer-card .badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 14px;
    letter-spacing: .05em;
  }
  .buyer-card h3 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: -.015em;
    color: var(--ink);
  }
  .buyer-card p {
    font-size: 14px;
    color: var(--ink-dim);
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .buyer-card .examples {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-faint);
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  /* ====== FAQ ====== */
  .faq {
    padding: 0 0 24px;
  }
  .faq-grid {
    max-width: 760px;
  }
  .faq-item {
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }
  .faq-item:last-child {
    border-bottom: 1px solid var(--line);
  }
  .faq-item h3 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.01em;
  }
  .faq-item p {
    font-size: 15px;
    color: var(--ink-dim);
    line-height: 1.55;
    margin: 0;
  }

  /* ====== FORM ====== */
  .offer {
    padding: 64px 0 96px;
  }
  .offer-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
  }
  .offer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  }
  @media (max-width: 540px) {
    .offer-card { padding: 32px 24px; }
  }
  .offer-head {
    text-align: center;
    margin-bottom: 32px;
  }
  .offer-head h2 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(26px, 3.5vw, 34px);
    letter-spacing: -.025em;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .offer-head h2 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
  }
  .offer-head p {
    color: var(--ink-dim);
    font-size: 14px;
    line-height: 1.5;
  }
  .offer-head .min {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-family: var(--mono);
    font-size: 11px;
    border-radius: 4px;
  }

  form { display: grid; gap: 14px; }
  .row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  @media (max-width: 540px) {
    .row-2 { grid-template-columns: 1fr; }
  }
  label {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: 6px;
    display: block;
  }
  input, textarea, select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 11px 14px;
    font-family: var(--sans);
    font-size: 14px;
    border-radius: 8px;
    transition: all .2s;
  }
  input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-elev);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  input::placeholder, textarea::placeholder {
    color: var(--ink-faint);
  }
  textarea { resize: vertical; min-height: 80px; }
  .form-submit {
    margin-top: 4px;
    width: 100%;
  }
  .legal {
    font-size: 11px;
    color: var(--ink-faint);
    text-align: center;
    line-height: 1.5;
  }

  .success {
    display: none;
    padding: 32px;
    border: 1px solid var(--success);
    border-radius: 12px;
    background: rgba(0,169,85,.08);
    text-align: center;
  }
  .success.show { display: block; }
  .success h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--success);
    font-weight: 600;
  }
  .success p { color: var(--ink-2); font-size: 14px; }

  /* ====== FOOTER ====== */
  footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
  }
  .footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-faint);
  }
  .footer-inner a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 2px;
  }
  .footer-inner a:hover { text-decoration-color: currentColor; }
  .footer-legal {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-family: var(--mono);
    font-size: 11px;
  }
  .footer-legal a {
    color: var(--ink-faint);
    text-decoration: none;
  }
  .footer-legal a:hover { color: var(--ink); }

  .footer-legal .developed-by {
    margin-left: auto;
    color: var(--ink-faint);
  }
  .footer-legal .developed-by a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 2px;
  }
  .footer-legal .developed-by a:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
  }

  @media (max-width: 540px) {
    .wrap { padding: 0 16px; }
    .hero { padding: 32px 0 48px; }
    .sale-card { padding: 24px; }
    section.content { padding: 56px 0; }
    .portfolio { padding: 56px 0 32px; }
    .offer { padding: 32px 0 64px; }
    .domain-item.current::before {
      font-size: 8px;
      top: -8px;
    }

    /* Top banner: tipografía y gaps más compactos */
    .top-banner {
      font-size: 11px;
      gap: 8px;
      padding: 10px 12px;
    }
    .top-banner .tag { font-size: 9px; padding: 3px 8px; }

    /* Footer centrado en mobile */
    .footer-inner {
      justify-content: center;
      text-align: center;
      gap: 8px;
    }
    .footer-legal {
      justify-content: center;
      text-align: center;
      gap: 14px;
    }
    .footer-legal .developed-by {
      margin-left: 0;
      width: 100%;
      text-align: center;
    }

    /* Nav: el logo + dropdown idioma + CTA tienen que caber */
    nav { padding: 14px 0; gap: 8px; }
    .logo { gap: 8px; }
    .logo > span:not(.logo-mark) {
      font-size: 11px;
      max-width: 42vw;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .nav-right { gap: 8px; }
    .nav-cta {
      padding: 6px 12px;
      font-size: 12px;
    }
  }

  @media (max-width: 380px) {
    /* Pantallas muy estrechas: mantener solo el cuadrado del logo */
    .logo > span:not(.logo-mark) { display: none; }
    .top-banner { font-size: 10px; padding: 9px 10px; }
  }

  /* Ocultar badge flotante de reCAPTCHA — el aviso legal en el form
     mantiene el cumplimiento con los términos de Google. */
  .grecaptcha-badge { visibility: hidden !important; }

  /* ====== LANGUAGE SWITCHER ====== */
  .nav-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .lang-switcher {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-dim);
    background-color: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px 28px 6px 10px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M2 4l3 3 3-3' stroke='%236b6b78' stroke-width='1.5' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: all .2s;
  }
  .lang-switcher:hover {
    border-color: var(--ink);
    color: var(--ink);
  }
  .lang-switcher:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  @media (max-width: 540px) {
    .lang-switcher { font-size: 11px; padding: 5px 24px 5px 8px; }
  }

  /* ====== COOKIE CONSENT BANNER ====== */
  .cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 760px;
    margin: 0 auto;
    z-index: 1000;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 18px 22px;
  }
  .cookie-banner[hidden] { display: none; }
  .cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .cookie-banner p {
    flex: 1 1 280px;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
    margin: 0;
  }
  .cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  .btn-cookie {
    padding: 8px 18px;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    transition: all .15s;
    white-space: nowrap;
  }
  .btn-cookie:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }
  .btn-cookie:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  /* Botón inline para reabrir el banner desde cookies.html */
  .reopen-cookie-banner {
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--line-strong);
    background: var(--bg-elev);
    color: var(--ink);
    transition: all .15s;
  }
  .reopen-cookie-banner:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }

  @media (max-width: 540px) {
    .cookie-banner { padding: 16px; bottom: 8px; left: 8px; right: 8px; }
    .cookie-banner-actions { flex: 1 1 100%; }
    .btn-cookie { flex: 1; }
  }
