/* Estilos comunes — extraídos de index.html */
    :root {
      --azul: #0D2340;
      --azul2: #163560;
      --rojo: #A41B1B;
      --rojo2: #C22020;
      --dorado: #B8972A;
      --blanco: #FFFFFF;
      --papel: #F5F2ED;
      --papel2: #E9E4DA;
      --gris-os: #3A3830;
      --gris: #706860;
      --gris-cl: #A8A09A;
      --linea: #DDD8CE;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--blanco);
      color: var(--gris-os);
      overflow-x: hidden;
      cursor: none;
    }

    /* LUCIDE ICONS PREMIUM STYLING */
    i[data-lucide] {
      display: inline-block;
      vertical-align: middle;
      stroke-width: 1.75px;
    }

    .lang-float i[data-lucide] {
      width: 0.9rem;
      height: 0.9rem;
      margin-right: 0.4rem;
      color: #fff;
    }

    .cred-icon i[data-lucide] {
      width: 1.25rem;
      height: 1.25rem;
      color: var(--blanco);
    }

    .banda-inner i[data-lucide] {
      width: 1rem;
      height: 1rem;
      margin-right: 0.4rem;
      color: var(--dorado);
      stroke-width: 2.2px;
    }

    .motif-icon i[data-lucide] {
      width: 2.5rem;
      height: 2.5rem;
      stroke-width: 1.5px;
    }

    .motif-box:nth-child(1) .motif-icon i[data-lucide] {
      color: var(--azul);
    }

    .motif-box:nth-child(2) .motif-icon i[data-lucide] {
      color: var(--dorado);
    }

    .motif-row:nth-child(2) .motif-box:nth-child(1) .motif-icon i[data-lucide] {
      color: var(--rojo);
    }

    .motif-row:nth-child(2) .motif-box:nth-child(2) .motif-icon i[data-lucide] {
      color: var(--azul2);
    }

    .srv-deco-lupa i[data-lucide] {
      width: 28rem;
      height: 28rem;
      color: var(--azul);
      stroke-width: 0.5px;
    }

    .srv-ico i[data-lucide] {
      width: 2.2rem;
      height: 2.2rem;
      stroke-width: 1.75px;
    }

    .srv-grid .srv-card:nth-child(1) .srv-ico i[data-lucide] {
      color: var(--azul);
    }

    .srv-grid .srv-card:nth-child(2) .srv-ico i[data-lucide] {
      color: var(--dorado);
    }

    .srv-grid .srv-card:nth-child(3) .srv-ico i[data-lucide] {
      color: #1b4d3e;
    }

    .srv-grid .srv-card:nth-child(4) .srv-ico i[data-lucide] {
      color: var(--rojo);
    }

    .srv-grid .srv-card:nth-child(5) .srv-ico i[data-lucide] {
      color: var(--azul2);
    }

    .ai-card .srv-ico i[data-lucide] {
      color: var(--blanco) !important;
    }

    .pq-ico i[data-lucide] {
      width: 2.8rem;
      height: 2.8rem;
      stroke-width: 2px !important;
    }

    .pq-card:nth-child(odd) .pq-ico i[data-lucide] {
      color: var(--dorado) !important;
    }

    .pq-card:nth-child(even) .pq-ico i[data-lucide] {
      color: var(--blanco) !important;
    }

    .ctc-ico i[data-lucide] {
      width: 1.25rem;
      height: 1.25rem;
      stroke-width: 2px;
    }

    .ctc-dato:nth-child(1) .ctc-ico i[data-lucide] {
      color: var(--azul);
    }

    .ctc-dato:nth-child(2) .ctc-ico i[data-lucide] {
      color: var(--rojo);
    }

    .ctc-dato:nth-child(3) .ctc-ico i[data-lucide] {
      color: var(--dorado);
    }

    /* LANG FLOAT */
    .lang-float {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 2000;
      padding: .8rem 1.4rem;
      background: var(--azul);
      border: 2px solid var(--rojo);
      color: #fff;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: .18em;
      cursor: pointer;
      transition: background .25s, transform .2s;
      box-shadow: 0 4px 20px rgba(13, 35, 64, .3);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lang-float:hover {
      background: var(--rojo);
      transform: translateY(-2px);
    }

    /* CURSOR */
    .cur {
      width: 8px;
      height: 8px;
      background: var(--rojo);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width .25s, height .25s;
    }

    .curR {
      width: 30px;
      height: 30px;
      border: 1px solid rgba(164, 27, 27, .35);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: width .25s, height .25s, border-color .25s;
    }

    .cur.h {
      width: 14px;
      height: 14px;
    }

    .curR.h {
      width: 44px;
      height: 44px;
      border-color: var(--dorado);
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      height: 72px;
      padding: 0 4rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--azul);
      border-bottom: 3px solid var(--rojo);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: .9rem;
      text-decoration: none;
    }

    .nav-seal {
      width: 36px;
      height: 36px;
      border: 1.5px solid rgba(255, 255, 255, .2);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .nav-seal span {
      font-family: 'Libre Baskerville', serif;
      font-size: .95rem;
      color: rgba(255, 255, 255, .8);
    }

    .nav-txt strong {
      display: block;
      font-family: 'Libre Baskerville', serif;
      font-size: 0.95rem;
      color: #fff;
      font-weight: 400;
      letter-spacing: .03em;
    }

    .nav-txt small {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .38);
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      align-items: center;
    }

    .nav-links a {
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .55);
      text-decoration: none;
      transition: color .2s;
    }

    .nav-links a:hover {
      color: #fff;
    }

    .nav-cta {
      padding: .48rem 1.2rem;
      background: var(--rojo);
      color: #fff !important;
      transition: background .25s !important;
    }

    .nav-cta:hover {
      background: var(--rojo2) !important;
    }

    .lang-btn {
      padding: .4rem .9rem;
      border: 1px solid rgba(255, 255, 255, .2);
      color: rgba(255, 255, 255, .6);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      cursor: pointer;
      background: transparent;
      font-family: 'DM Sans', sans-serif;
      transition: border-color .2s, color .2s;
    }

    .lang-btn:hover {
      border-color: rgba(255, 255, 255, .5);
      color: #fff;
    }

    /* SVG DECORATIVOS */
    .deco-svg {
      position: absolute;
      pointer-events: none;
      user-select: none;
      opacity: .055;
    }

    /* HERO */
    #inicio {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 55% 45%;
      padding-top: 72px;
      position: relative;
      overflow: hidden;
    }

    .hero-l {
      background: var(--azul);
      padding: 6rem 5rem 5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    /* grid pattern */
    .hero-l::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
      background-size: 55px 55px;
    }

    /* red right border */
    .hero-l::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(to bottom, transparent, var(--rojo) 20%, var(--rojo) 80%, transparent);
    }

    /* decorative SVG elements in hero */
    .hero-magnifier {
      position: absolute;
      bottom: -3rem;
      right: 6rem;
      width: 280px;
      opacity: .04;
    }

    .hero-nib {
      position: absolute;
      top: 4rem;
      right: 3rem;
      width: 140px;
      opacity: .06;
    }

    .hero-tag {
      display: flex;
      align-items: center;
      gap: .8rem;
      margin-bottom: 2.5rem;
      opacity: 0;
      animation: fup .8s .3s ease forwards;
    }

    .hero-tag-bar {
      width: 26px;
      height: 2px;
      background: var(--rojo);
    }

    .hero-tag span {
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .26em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .42);
    }

    .hero-h1 {
      font-family: 'Libre Baskerville', serif;
      font-size: clamp(2.2rem, 4.2vw, 4.4rem);
      font-weight: 400;
      line-height: 1.12;
      color: #fff;
      overflow: hidden;
      margin-bottom: 2rem;
    }

    .hero-h1 em {
      font-style: italic;
      color: rgba(255, 255, 255, .45);
    }

    .h1l {
      display: block;
      opacity: 0;
      transform: translateY(100%);
      animation: lup 1s ease forwards;
    }

    .h1l:nth-child(1) {
      animation-delay: .45s;
    }

    .h1l:nth-child(2) {
      animation-delay: .6s;
    }

    .h1l:nth-child(3) {
      animation-delay: .75s;
    }

    @keyframes lup {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-sub {
      font-size: 1rem;
      font-weight: 300;
      color: rgba(255, 255, 255, .48);
      line-height: 1.95;
      max-width: 410px;
      margin-bottom: 2.8rem;
      opacity: 0;
      animation: fup .8s 1s ease forwards;
    }

    .hero-btns {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      opacity: 0;
      animation: fup .8s 1.2s ease forwards;
    }

    .btn-p {
      padding: .85rem 2rem;
      background: var(--rojo);
      color: #fff;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .16em;
      text-transform: uppercase;
      text-decoration: none;
      transition: background .25s, box-shadow .25s, transform .2s;
    }

    .btn-p:hover {
      background: var(--rojo2);
      box-shadow: 0 6px 24px rgba(164, 27, 27, .4);
      transform: translateY(-2px);
    }

    .btn-o {
      padding: .85rem 2rem;
      border: 1px solid rgba(255, 255, 255, .2);
      color: rgba(255, 255, 255, .6);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .16em;
      text-transform: uppercase;
      text-decoration: none;
      transition: border-color .25s, color .25s;
    }

    .btn-o:hover {
      border-color: rgba(255, 255, 255, .5);
      color: #fff;
    }

    .hero-name-stamp {
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, .1);
      opacity: 0;
      animation: fup .8s 1.4s ease forwards;
    }

    .hero-name-stamp p {
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .3);
      margin-bottom: .3rem;
    }

    .hero-name-stamp strong {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.1rem;
      color: rgba(255, 255, 255, .85);
      font-weight: 400;
      letter-spacing: .04em;
    }

    .hero-r {
      background: var(--papel);
      padding: 5rem 4rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border-left: 1px solid var(--linea);
      position: relative;
      overflow: hidden;
    }

    /* subtle rubric watermark */
    .hero-r-deco {
      position: absolute;
      bottom: -2rem;
      right: -2rem;
      font-family: 'Libre Baskerville', serif;
      font-size: 16rem;
      color: rgba(13, 35, 64, .04);
      line-height: 1;
      pointer-events: none;
      user-select: none;
      font-style: italic;
    }

    .creds {
      display: flex;
      flex-direction: column;
      gap: 0;
      opacity: 0;
      animation: fup .8s .5s ease forwards;
    }

    .cred {
      display: flex;
      gap: 1.1rem;
      padding: 1.6rem 0;
      border-bottom: 1px solid var(--linea);
      align-items: flex-start;
      transition: padding-left .3s, background .25s;
    }

    .cred:first-child {
      border-top: 1px solid var(--linea);
    }

    .cred:hover {
      padding-left: .4rem;
    }

    .cred-icon {
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: .1rem;
      font-size: .9rem;
    }

    .cred-title {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--azul);
      margin-bottom: .2rem;
    }

    .cred-sub {
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--gris);
      line-height: 1.65;
    }

    .badge-row {
      display: flex;
      gap: .35rem;
      margin-top: .4rem;
      flex-wrap: wrap;
    }

    .badge {
      padding: .15rem .5rem;
      background: rgba(13, 35, 64, .07);
      border: 1px solid rgba(13, 35, 64, .12);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--azul);
    }

    .hero-quote {
      margin-top: 2rem;
      padding: 1.4rem 1.6rem;
      background: var(--azul);
      border-left: 3px solid var(--rojo);
      opacity: 0;
      animation: fup .8s .9s ease forwards;
    }

    .hero-quote p {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.05rem;
      font-style: italic;
      color: rgba(255, 255, 255, .65);
      line-height: 1.7;
    }

    .hero-quote cite {
      display: block;
      margin-top: .5rem;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .28);
      font-style: normal;
    }

    @keyframes fup {
      from {
        opacity: 0;
        transform: translateY(14px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* BANDA */
    .banda {
      background: var(--rojo);
      overflow: hidden;
    }

    .banda-inner {
      display: inline-flex;
      white-space: nowrap;
      animation: band 50s linear infinite;
      padding: .7rem 0;
    }

    .banda-inner span {
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .82);
      padding: 0 2rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .banda-inner .s {
      color: rgba(255, 255, 255, .22);
      padding: 0;
    }

    @keyframes band {
      from {
        transform: translateX(0);
      }

      to {
        transform: translateX(-50%);
      }
    }

    /* UTILIDADES */
    .sec {
      padding: 8rem 5rem;
    }

    .lbl {
      display: flex;
      align-items: center;
      gap: .7rem;
      margin-bottom: 1rem;
    }

    .lbl-bar {
      width: 20px;
      height: 2px;
      background: var(--rojo);
    }

    .lbl-txt {
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .24em;
      text-transform: uppercase;
      color: var(--rojo);
    }

    h2.sh {
      font-family: 'Libre Baskerville', serif;
      font-size: clamp(1.8rem, 2.8vw, 2.8rem);
      font-weight: 400;
      line-height: 1.2;
      color: var(--azul);
      margin-bottom: 1.2rem;
    }

    h2.sh em {
      font-style: italic;
      color: var(--rojo);
    }

    .sdiv {
      width: 34px;
      height: 2px;
      background: var(--dorado);
      margin-bottom: 2.5rem;
    }

    /* SOBRE */
    #sobre {
      background: var(--blanco);
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 6rem;
      align-items: start;
      border-top: 1px solid var(--linea);
      position: relative;
      overflow: hidden;
    }

    /* forensic decorative motifs panel */
    .sobre-motifs {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      position: relative;
    }

    .motif-box {
      background: var(--papel);
      border: 1px solid var(--linea);
      padding: 2.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      transition: border-color .3s, transform .3s;
    }

    .motif-box:hover {
      border-color: rgba(164, 27, 27, .25);
      transform: translateY(-3px);
    }

    .motif-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: transparent;
      transition: background .3s;
    }

    .motif-box:hover::before {
      background: var(--rojo);
    }

    .motif-icon {
      font-size: 3rem;
      margin-bottom: .8rem;
      display: block;
    }

    .motif-title {
      font-family: 'Libre Baskerville', serif;
      font-size: 1rem;
      color: var(--azul);
      margin-bottom: .4rem;
    }

    .motif-desc {
      font-size: 0.9rem;
      color: var(--gris);
      line-height: 1.7;
      font-weight: 300;
    }

    .motif-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .sobre-txt p {
      font-size: 0.95rem;
      font-weight: 300;
      line-height: 2;
      color: var(--gris);
      margin-bottom: 1rem;
    }

    .sobre-txt p strong {
      color: var(--azul);
      font-weight: 600;
    }

    .nombre-firma {
      margin-top: 2.5rem;
      padding: 1.5rem 2rem;
      background: var(--papel);
      border-left: 3px solid var(--azul);
      display: flex;
      flex-direction: column;
      gap: .3rem;
    }

    .nombre-firma span {
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--gris-cl);
    }

    .nombre-firma strong {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.4rem;
      color: var(--azul);
      font-weight: 400;
      letter-spacing: .04em;
    }

    .nombre-firma em {
      font-size: 0.9rem;
      font-style: normal;
      color: var(--rojo);
      font-weight: 500;
    }

    .acred-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .7rem;
      margin-top: 2rem;
    }

    .acred {
      padding: .9rem 1.1rem;
      border: 1px solid var(--linea);
      background: var(--papel);
      border-top: 2px solid var(--azul);
      transition: border-top-color .25s, transform .25s;
    }

    .acred:hover {
      border-top-color: var(--rojo);
      transform: translateY(-2px);
    }

    .acred strong {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .06em;
      color: var(--azul);
      margin-bottom: .15rem;
    }

    .acred span {
      font-size: 0.9rem;
      color: var(--gris);
      font-weight: 300;
      line-height: 1.5;
    }

    /* STATS */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      background: var(--azul);
    }

    .stat {
      padding: 3rem 2rem;
      text-align: center;
      border-right: 1px solid rgba(255, 255, 255, .07);
      transition: background .3s;
    }

    .stat:last-child {
      border-right: none;
    }

    .stat:hover {
      background: var(--azul2);
    }

    .stat-n {
      font-family: 'Libre Baskerville', serif;
      font-size: 2.8rem;
      color: #fff;
      line-height: 1;
      margin-bottom: .4rem;
    }

    .stat-n sup {
      font-size: 1.2rem;
      color: var(--rojo);
    }

    .stat-l {
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .38);
    }

    /* SERVICIOS */
    #servicios {
      background: var(--papel);
      border-top: 1px solid var(--linea);
      position: relative;
      overflow: hidden;
    }

    /* big decorative lupa behind */
    .srv-deco-lupa {
      position: absolute;
      right: -4rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 28rem;
      opacity: .025;
      pointer-events: none;
      user-select: none;
    }

    .srv-hdr {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: end;
      margin-bottom: 4rem;
    }

    .srv-hdr p {
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--gris);
      line-height: 1.95;
    }

    .srv-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--linea);
      border: 1px solid var(--linea);
      position: relative;
      z-index: 1;
    }

    .srv-card {
      background: var(--papel);
      padding: 2rem 1.8rem;
      position: relative;
      overflow: hidden;
      transition: background .3s;
    }

    .srv-top-bar {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: transparent;
      transition: background .35s;
    }

    .srv-card:hover {
      background: var(--blanco);
    }

    .srv-card:hover .srv-top-bar {
      background: var(--rojo);
    }

    .srv-n {
      font-family: 'Libre Baskerville', serif;
      font-size: 2rem;
      color: rgba(13, 35, 64, .06);
      line-height: 1;
      margin-bottom: .8rem;
    }

    .srv-ico {
      font-size: 1.3rem;
      margin-bottom: .7rem;
      display: block;
    }

    .srv-title {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.02rem;
      font-weight: 400;
      color: var(--azul);
      margin-bottom: .6rem;
    }

    .srv-desc {
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--gris);
      line-height: 1.9;
    }

    .srv-tag {
      display: inline-block;
      margin-top: .9rem;
      padding: .2rem .6rem;
      border: 1px solid var(--linea);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--dorado);
    }

    /* AI card highlight */
    .srv-card.ai-card {
      background: var(--azul);
    }

    .srv-card.ai-card:hover {
      background: var(--azul2);
    }

    .srv-card.ai-card .srv-n {
      color: rgba(255, 255, 255, .04);
    }

    .srv-card.ai-card .srv-title {
      color: #fff;
    }

    .srv-card.ai-card .srv-desc {
      color: rgba(255, 255, 255, .5);
    }

    .srv-card.ai-card .srv-tag {
      border-color: rgba(255, 255, 255, .15);
      color: rgba(255, 255, 255, .45);
    }

    .srv-card.ai-card .srv-top-bar {
      background: var(--rojo);
    }

    /* PROCESO */
    #proceso {
      background: var(--blanco);
      border-top: 1px solid var(--linea);
    }

    .proc-hdr {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 5rem;
      align-items: end;
      margin-bottom: 3.5rem;
    }

    .proc-hdr p {
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--gris);
      line-height: 1.95;
    }

    .proc-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border: 1px solid var(--linea);
      position: relative;
    }

    .proc-steps::before {
      content: '';
      position: absolute;
      top: 39px;
      left: 0;
      right: 0;
      height: 1px;
      background: var(--linea);
      z-index: 0;
    }

    .proc-step {
      padding: 2rem 1.8rem 2rem;
      border-right: 1px solid var(--linea);
      background: var(--blanco);
      transition: background .3s;
      position: relative;
    }

    .proc-step:last-child {
      border-right: none;
    }

    .proc-step:hover {
      background: var(--papel);
    }

    .proc-step:hover .proc-nb {
      background: var(--rojo);
      border-color: var(--rojo);
    }

    .proc-step:hover .proc-num {
      color: #fff;
    }

    .proc-nb {
      width: 40px;
      height: 40px;
      border: 1px solid var(--linea);
      background: var(--blanco);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.4rem;
      position: relative;
      z-index: 1;
      transition: background .3s, border-color .3s;
    }

    .proc-num {
      font-family: 'Libre Baskerville', serif;
      font-size: 0.95rem;
      font-style: italic;
      color: var(--rojo);
      transition: color .3s;
    }

    .proc-title {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--azul);
      margin-bottom: .6rem;
      letter-spacing: .02em;
    }

    .proc-desc {
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--gris);
      line-height: 1.85;
    }

    /* ESPECIALIDADES */
    #especialidades {
      background: var(--papel);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      border-top: 1px solid var(--linea);
      position: relative;
      overflow: hidden;
    }

    .esp-gran {
      font-family: 'Libre Baskerville', serif;
      font-size: 7vw;
      font-style: italic;
      color: transparent;
      -webkit-text-stroke: 1px rgba(13, 35, 64, .08);
      line-height: .92;
      user-select: none;
      margin-bottom: 2rem;
    }

    .esp-cats {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
    }

    .esp-cat {
      padding: .42rem .85rem;
      background: var(--blanco);
      border: 1px solid var(--linea);
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--gris-os);
      transition: all .25s;
    }

    .esp-cat:hover {
      border-color: var(--azul);
      color: var(--azul);
      background: rgba(13, 35, 64, .04);
    }

    .esp-item {
      border-bottom: 1px solid var(--linea);
    }

    .esp-item:first-child {
      border-top: 1px solid var(--linea);
    }

    .esp-hd {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.3rem 0;
      cursor: pointer;
    }

    .esp-hd:hover .esp-nm {
      color: var(--rojo);
    }

    .esp-nm {
      font-family: 'Libre Baskerville', serif;
      font-size: .98rem;
      color: var(--azul);
      font-weight: 400;
      transition: color .25s;
    }

    .esp-plus {
      width: 22px;
      height: 22px;
      border: 1px solid var(--linea);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--rojo);
      font-size: .85rem;
      flex-shrink: 0;
      transition: transform .3s, background .3s;
    }

    .esp-item.open .esp-plus {
      transform: rotate(45deg);
      background: var(--rojo);
      color: #fff;
      border-color: var(--rojo);
    }

    .esp-bd {
      max-height: 0;
      overflow: hidden;
      transition: max-height .4s ease;
    }

    .esp-item.open .esp-bd {
      max-height: 160px;
    }

    .esp-bd p {
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--gris);
      line-height: 1.9;
      padding-bottom: 1.1rem;
    }

    /* SEO / POR QUÉ ELEGIRNOS */
    #porqué {
      background: var(--azul);
      padding: 8rem 5rem;
      position: relative;
      overflow: hidden;
    }

    #porqué::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
      background-size: 55px 55px;
    }

    #porqué .lbl-bar {
      background: rgba(255, 255, 255, .25);
    }

    #porqué .lbl-txt {
      color: rgba(255, 255, 255, .45);
    }

    #porqué h2.sh {
      color: #fff;
    }

    #porqué h2.sh em {
      color: rgba(255, 255, 255, .4);
    }

    #porqué .sdiv {
      background: var(--rojo);
    }

    .pq-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: rgba(255, 255, 255, .06);
      margin-top: 3rem;
      border: 1px solid rgba(255, 255, 255, .06);
    }

    .pq-card {
      padding: 2.5rem 2rem;
      background: rgba(255, 255, 255, .02);
      transition: background .3s;
    }

    .pq-card:hover {
      background: rgba(255, 255, 255, .05);
    }

    .pq-ico {
      font-size: 1.8rem;
      margin-bottom: 1rem;
      display: block;
      color: #F5F2ED;
    }

    .pq-title {
      font-family: 'Libre Baskerville', serif;
      font-size: 1rem;
      color: #fff;
      margin-bottom: .7rem;
      font-weight: 400;
    }

    .pq-desc {
      font-size: 0.9rem;
      font-weight: 300;
      color: rgba(255, 255, 255, .45);
      line-height: 1.9;
    }

    /* CONTACTO */
    #contacto {
      background: var(--blanco);
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 7rem;
      border-top: 1px solid var(--linea);
    }

    .ctc-l p {
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--gris);
      line-height: 1.95;
      margin-bottom: 1.8rem;
    }

    .ctc-dato {
      display: flex;
      align-items: center;
      gap: 1.1rem;
      margin-bottom: 1.4rem;
    }

    .ctc-ico {
      width: 36px;
      height: 36px;
      border: 1px solid var(--linea);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .85rem;
      flex-shrink: 0;
      background: var(--papel);
    }

    .ctc-lbl {
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--gris-cl);
      margin-bottom: .12rem;
    }

    .ctc-val {
      font-size: 0.95rem;
      color: var(--gris-os);
      font-weight: 400;
    }

    .ctc-sep {
      width: 100%;
      height: 1px;
      background: var(--linea);
      margin: 1.8rem 0;
    }

    .nombre-placa {
      padding: 1.2rem 1.5rem;
      background: var(--papel);
      border: 1px solid var(--linea);
      border-left: 3px solid var(--azul);
    }

    .nombre-placa span {
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--gris-cl);
      display: block;
      margin-bottom: .3rem;
    }

    .nombre-placa strong {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.15rem;
      color: var(--azul);
      font-weight: 400;
    }

    .nombre-placa em {
      display: block;
      font-size: 0.9rem;
      font-style: normal;
      color: var(--rojo);
      margin-top: .2rem;
      font-weight: 500;
    }

    .ctc-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .f-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .f-gr {
      display: flex;
      flex-direction: column;
      gap: .4rem;
    }

    .f-gr label {
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--gris-cl);
    }

    .f-gr input,
    .f-gr textarea,
    .f-gr select {
      background: var(--papel);
      border: 1px solid var(--linea);
      padding: .82rem 1rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--gris-os);
      outline: none;
      transition: border-color .25s, background .25s;
      appearance: none;
    }

    .f-gr input:focus,
    .f-gr textarea:focus,
    .f-gr select:focus {
      border-color: var(--azul);
      background: var(--blanco);
    }

    .f-gr textarea {
      min-height: 115px;
      resize: vertical;
    }

    .f-sub {
      padding: .9rem 2.2rem;
      background: var(--rojo);
      color: #fff;
      border: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: .18em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background .25s, transform .2s, box-shadow .25s;
      align-self: flex-start;
    }

    .f-sub:hover {
      background: var(--rojo2);
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(164, 27, 27, .35);
    }

    /* FOOTER */
    footer {
      background: #07131F;
      padding: 2rem 4rem;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      border-top: 3px solid var(--rojo);
    }

    .ft-l {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, .22);
      letter-spacing: .08em;
    }

    .ft-c {
      font-family: 'Libre Baskerville', serif;
      font-size: 0.95rem;
      color: rgba(255, 255, 255, .28);
      letter-spacing: .14em;
      text-align: center;
    }

    .ft-r {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, .22);
      text-align: right;
      letter-spacing: .06em;
    }

    /* REVEAL */
    .rv {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity .8s ease, transform .8s ease;
    }

    .rv-l {
      opacity: 0;
      transform: translateX(-30px);
      transition: opacity .8s ease, transform .8s ease;
    }

    .rv-r {
      opacity: 0;
      transform: translateX(30px);
      transition: opacity .8s ease, transform .8s ease;
    }

    .rv.on,
    .rv-l.on,
    .rv-r.on {
      opacity: 1;
      transform: none;
    }

    /* HIDDEN LANG */
    [data-en] {
      /* shown by JS */
    }

    /* CHECKBOX PRIVACIDAD */
    .f-check-gr {
      display: flex;
      align-items: flex-start;
      gap: .8rem;
      margin: .5rem 0;
    }

    .f-check-gr input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: var(--rojo);
      cursor: pointer;
      flex-shrink: 0;
      margin-top: .1rem;
    }

    .f-check-gr label {
      font-size: 0.9rem;
      color: var(--gris);
      line-height: 1.4;
      font-weight: 400;
      text-transform: none;
      letter-spacing: 0;
      cursor: pointer;
    }

    .f-check-gr label a {
      color: var(--rojo);
      text-decoration: underline;
      transition: color .2s;
    }

    .f-check-gr label a:hover {
      color: var(--rojo2);
    }

    /* MODAL PRIVACIDAD */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(13, 35, 64, .75);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 3000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity .4s ease;
    }

    .modal-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-box {
      background: var(--papel);
      border: 2px solid var(--azul);
      width: 90%;
      max-width: 650px;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 15px 45px rgba(13, 35, 64, .35);
      position: relative;
      transform: translateY(30px);
      transition: transform .4s ease;
    }

    .modal-backdrop.open .modal-box {
      transform: translateY(0);
    }

    .modal-header {
      padding: 1.5rem 2rem;
      border-bottom: 1px solid var(--linea);
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--azul);
      color: #fff;
    }

    .modal-title {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.15rem;
      font-weight: 400;
      letter-spacing: .02em;
    }

    .modal-close {
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, .6);
      font-size: 1.5rem;
      cursor: pointer;
      transition: color .2s;
      font-family: 'DM Sans', sans-serif;
      line-height: 1;
    }

    .modal-close:hover {
      color: #fff;
    }

    .modal-body {
      padding: 2rem;
      overflow-y: auto;
      font-size: 0.9rem;
      color: var(--gris-os);
      line-height: 1.8;
      font-weight: 300;
    }

    .modal-body h3 {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.15rem;
      color: var(--azul);
      margin: 1.4rem 0 .5rem;
      font-weight: 400;
    }

    .modal-body h3:first-child {
      margin-top: 0;
    }

    .modal-body p {
      margin-bottom: 1rem;
    }

    .modal-body ul {
      margin-bottom: 1rem;
      padding-left: 1.2rem;
    }

    /* STATUS MESSAGE */
    .form-status {
      padding: 1rem;
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: .05em;
      display: none;
      margin-top: 0.5rem;
    }

    .form-status.success {
      display: block;
      background: #EBFDF1;
      border-left: 3px solid #1a5c2a;
      color: #1a5c2a;
    }

    .form-status.error {
      display: block;
      background: #FDF2F2;
      border-left: 3px solid var(--rojo);
      color: var(--rojo);
    }

    @media(max-width:900px) {
      nav {
        padding: 0 1.5rem;
      }

      .nav-links {
        display: none;
      }

      #inicio,
      #sobre,
      #especialidades,
      #contacto {
        grid-template-columns: 1fr;
      }

      .hero-l,
      .hero-r {
        padding: 5rem 1.5rem 3rem;
      }

      .sec {
        padding: 5rem 1.5rem;
      }

      .srv-grid,
      .proc-steps,
      .pq-grid {
        grid-template-columns: 1fr;
      }

      .stats {
        grid-template-columns: 1fr 1fr;
      }

      .srv-hdr,
      .proc-hdr {
        grid-template-columns: 1fr;
      }

      .f-row,
      .motif-row,
      .acred-grid {
        grid-template-columns: 1fr;
      }

      footer {
        grid-template-columns: 1fr;
        gap: .8rem;
        text-align: center;
      }

      .ft-r {
        text-align: center;
      }
    }
