.watermark{
    --logo-img: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAB/CAYAAAC5ZZqOAAAnd0lEQVR4nO2deZwdVZXHv6+7k3TIQkJ2CGvYAwFEwQSFAOLIMkBwAYIsBieigLKIgCgIiIogKCoozEREwIVtAAcXQAiMAmEXEiCCEAUCkewrpNNv/vjVnbrv9q16S6e7X3ef7+fTn+5+r+rWrXqvfnXuOeeeW7hz6ngMwzCM6mno6g4YhmF0V0xADcMwasQE1DAMo0ZMQA3DMGrEBNQwDKNGTEANwzBqxATUMAyjRkxADcMwasQE1DAMo0ZMQA3DMGrEBNQwDKNGTEANwzBqxATUMAyjRkxADcMwasQE1DAMo0ZMQA3DMGrEBNQwDKNGTEANwzBqxATUMAyjRkxADcMwasQE1DAMo0ZMQA3DMGrEBNQwDKNGTEANwzBqxATUMAyjRkxADcMwasQE1DAMo0ZMQA3DMGrEBNQwDKNGTEANwzBqxATUMAyjRv4Pq4ncTcg85WMAAAAASUVORK5CYII=");
  }
 
  *{margin:0;padding:0;box-sizing:border-box;}
 
  html,body{
    height:100%;
    width:100%;
    overflow-x:hidden;
    background:var(--cream);
    color:var(--ink);
    font-family:'Cormorant Garamond',serif;
    scroll-behavior:smooth;
  }

  /* Letra general de la web (igual que Privacidad): Cormorant Garamond */
  body{font-size:1.15rem;font-weight:500;}
 
  body{
    background-image:
      repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 43px,
        rgba(94,46,21,0.07) 44px
      );
  }
 
  .scroller{
    height:100vh;
    height:100dvh;
    overflow-x:hidden;
    overflow-y:scroll;
    scroll-snap-type:y proximity;
  }
 
  section{
    min-height:100vh;
    min-height:100dvh;
    scroll-snap-align:start;
    scroll-snap-stop:normal;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:visible;
    padding:6vh 10vw 6vh 12vw;
    opacity:0;
    transform:translateY(24px);
    transition:opacity 0.9s ease, transform 0.9s ease;
  }
  section.in-view{
    opacity:1;
    transform:translateY(0);
  }
 
  .watermark::before{
    content:"";
    position:absolute;
    top:50%;
    right:-4%;
    width:min(70vw, 900px);
    aspect-ratio:336/127;
    transform:translateY(-50%);
    background-image:var(--logo-img);
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    opacity:0.06;
    pointer-events:none;
    z-index:0;
  }
  .watermark > *{
    position:relative;
    z-index:1;
  }
 
  .eyebrow{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:0.95rem;
    letter-spacing:0.32em;
    text-transform:uppercase;
    color:var(--muted);
    margin-bottom:1.6rem;
  }
  .eyebrow::before{
    content:"";
    display:inline-block;
    width:26px;
    height:1px;
    background:var(--copper);
    margin-right:14px;
    vertical-align:middle;
  }
 
  #hero{
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
    padding:0 10vw 0 8vw;
    overflow:hidden;
  }
  .hero-bg{
    position:absolute;
    inset:0;
    z-index:0;
  }
  .hero-bg .slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 2.2s ease;
  }
  .hero-bg .slide.active{
    opacity:1;
  }
  .hero-bg::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
      to top,
      rgba(30,17,9,0.45) 0%,
      rgba(46,25,13,0.28) 45%,
      rgba(46,25,13,0.15) 100%
    );
  }
  #hero > *{
    position:relative;
    z-index:1;
  }
  #hero h1.welcome,#hero .eyebrow,#hero .hero-subtitle,#hero .hero-sub{
    text-shadow:0 1px 14px rgba(20,10,4,0.55);
  }
  #hero > .hero-bg{
    position:absolute;
    z-index:0;
  }
  #hero > .hero-credit{
    position:absolute;
    right:1.4rem;
    bottom:1.1rem;
    z-index:2;
    font-family:'Cormorant Garamond',serif;
    font-size:0.86rem;
    font-weight:500;
    letter-spacing:0.02em;
    color:rgba(245,239,227,0.8);
    text-shadow:0 1px 6px rgba(20,10,4,0.6);
    pointer-events:none;
  }
  @media (max-width:700px){
    .hero-credit{right:1rem;bottom:0.8rem;font-size:0.66rem;}
  }
  .eyebrow.on-dark{
    color:rgba(245,239,227,0.75);
  }
  .eyebrow.on-dark::before{
    background:var(--copper);
  }
  h1.welcome{
    font-family:'Cormorant Garamond',serif;
    font-weight:400;
    font-style:normal;
    font-size:clamp(2.6rem, 5.6vw, 4rem);
    line-height:1.2;
    color:var(--cream);
    letter-spacing:0.01em;
  }
  h1.welcome span{
    display:block;
    color:var(--cream);
    font-weight:600;
    font-size:clamp(3.4rem, 7.2vw, 5.4rem);
    margin-top:0.15em;
    letter-spacing:0.02em;
  }
  .hero-subtitle{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:clamp(1.2rem, 1.92vw, 1.44rem);
    color:rgba(245,239,227,0.82);
    max-width:38ch;
    margin-top:1.6rem;
    line-height:1.5;
  }
  .hero-sub{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:clamp(1.2rem, 1.92vw, 1.44rem);
    color:rgba(245,239,227,0.82);
    margin-top:1.4rem;
    max-width:34ch;
    line-height:1.5;
  }
  .hero-rule{
    width:120px;
    height:2px;
    background:var(--copper);
    margin-top:2.6rem;
  }
 
  .placeholder{
    flex-direction:column;
    align-items:flex-start;
  }
  .placeholder .eyebrow{margin-bottom:1rem;}
  .placeholder h2{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:clamp(2.2rem, 5vw, 3.6rem);
    color:var(--maroon);
  }
  .placeholder p.note{
    margin-top:1rem;
    color:var(--muted);
    font-size:0.95rem;
    font-style:italic;
  }
  #serveis{background:var(--paper);}
  #clients{background:#FFFFFF;}
  #noticies{background:var(--cream);}
  #maps{background:var(--paper);}
  #contacte{background:var(--cream);}
 
  #clients{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:8vh 7vw;
    padding-top:calc(8vh + 110px);
    overflow:visible;
  }
  #clients h2{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:clamp(2.1rem, 4.2vw, 3.2rem);
    color:var(--maroon);
    margin-bottom:2.4rem;
  }
 
  #serveis{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:8vh 7vw;
    padding-top:calc(8vh + 110px);
    overflow:visible;
  }
  #serveis .eyebrow{margin-bottom:1.2rem;}
  #serveis h2{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:clamp(2.1rem, 4.2vw, 3.2rem);
    color:var(--maroon);
    margin-bottom:2.4rem;
  }
 
  .services-links{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:2.4rem;
    margin-top:1rem;
  }
  .service-link{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    text-decoration:none;
    color:inherit;
    padding:2.4rem 1.4rem;
    background:var(--cream);
    border:1px solid var(--rule);
    transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .service-link:hover{
    transform:translateY(-6px);
    border-color:var(--copper);
    box-shadow:0 14px 30px rgba(94,46,21,0.14);
  }
  .service-link .icon{
    width:64px;
    height:64px;
    margin-bottom:1.4rem;
    color:var(--copper);
    object-fit:contain;
  }
  .icon-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:'Cormorant Garamond',serif;
    font-weight:600;
    font-size:1.8rem;
    border:2px dashed var(--rule);
    border-radius:50%;
  }
  .service-link h3{
    font-family:'Cormorant Garamond',serif;
    font-weight:600;
    font-size:1.6rem;
    letter-spacing:0.03em;
    color:var(--maroon);
  }
  .service-link span.hint{
    display:block;
    margin-top:0.6rem;
    font-size:0.82rem;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--muted);
  }
  @media (max-width:1100px){
    #serveis{
      padding:2vh 7vw 3vh;
      padding-top:calc(4vh + 120px);
    }
    #serveis .eyebrow{margin-bottom:1rem;}
    .services-links{grid-template-columns:1fr;gap:1.8rem;margin-top:0.5rem;}   /* separación entre bloques (Laboral, Fiscal...) */
    .service-link{
      flex-direction:row;
      align-items:center;
      justify-content:flex-start;
      text-align:left;
      padding:1.4rem 1.8rem;
      gap:1.3rem;
    }
    .service-link .icon{
      width:52px;
      height:52px;
      margin-bottom:0;
      flex-shrink:0;
    }
    .service-link h3{font-size:1.45rem;}
    .service-link span.hint{
      display:block;
      margin-top:0;
      margin-left:auto;
      padding-left:0.8rem;
      font-size:0.78rem;
      white-space:nowrap;
    }
  }

  /* ---- CLIENTS ---- */
  #clients .eyebrow{margin-bottom:1.4rem;}
  .clients-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:2.6rem 2.4rem;
    align-items:end;
    justify-items:center;
    transition:opacity 0.4s ease;
  }
  .clients-grid.fading{
    opacity:0;
  }
  .client-logo{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    height:100px;
    width:100%;
    min-width:0;
    text-decoration:none;
  }
  .client-logo img{
    height:76px;
    width:auto;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    filter:grayscale(100%);
    opacity:0.55;
    transition:filter 0.3s ease, opacity 0.3s ease;
  }
  .client-logo:hover img{
    filter:grayscale(0%);
    opacity:1;
  }
  @media (max-width:1000px){
    #clients{padding-top:calc(6vh + 100px);padding-bottom:6vh;}
    #clients .eyebrow{margin-bottom:1.2rem;}
    .clients-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:2.2rem 1.8rem;}
    .client-logo{height:82px;}
    .client-logo img{height:58px;}
  }
  @media (max-width:700px){
    #clients{padding:9vh 6vw;padding-top:calc(9vh + 100px);padding-bottom:9vh;}
    .clients-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:1.8rem 1.2rem;}
    .client-logo{height:62px;}
    .client-logo img{height:44px;}
  }

  /* ---- NOTÍCIES ---- */
 #noticies{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:8vh 7vw;
    padding-top:calc(8vh + 90px);
    overflow:visible;
  }
  #noticies .eyebrow{margin-bottom:2.4rem;}
 
  .news-box{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:2.4rem;
    border:3px solid var(--copper);
    background:rgba(177,90,43,0.07);
    box-shadow:0 20px 50px rgba(177,90,43,0.22);
    padding:3.4rem;
  }
 
  /* ===== NOTÍCIES =====
     Pantalla grande (más de 1300px): tarjetas con la imagen de fondo, fecha y título encima
     y el resumen al pasar el ratón (como siempre).
     Pantalla de este tamaño, mediana o móvil (1300px o menos): filas, con la fecha debajo de la imagen
     y el resumen siempre visible (ver más abajo). */
  @media (min-width:1301px){
    .news-grid{
      width:100%;
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:2rem;
    }
    .news-grid.solo .news-card{max-width:260px;}
    .news-card{
      position:relative;
      flex:1 1 240px;
      max-width:300px;
      height:230px;
      overflow:hidden;
      background:var(--paper);
      border:1px solid var(--rule);
      box-shadow:0 14px 30px rgba(94,46,21,0.14);
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      text-decoration:none;
      color:inherit;
      cursor:pointer;
      transition:transform 0.25s ease, box-shadow 0.25s ease;
    }
    .news-card:hover{
      transform:translateY(-4px);
      box-shadow:0 20px 36px rgba(94,46,21,0.22);
    }
    .news-card .nc-media,
    .news-card .nc-body{display:contents;}
    .news-card img{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }
    .news-card::after{
      content:"";
      position:absolute;
      left:0;right:0;bottom:0;
      height:72%;
      background:linear-gradient(to top, rgba(245,239,227,0.97) 52%, rgba(245,239,227,0) 100%);
      pointer-events:none;
      transition:opacity 0.25s ease;
    }
    .news-card .date{
      position:relative;
      z-index:1;
      padding:0 1.2rem;
      margin-bottom:0.3rem;
      font-size:0.78rem;
      color:var(--copper);
      font-weight:600;
      letter-spacing:0.04em;
      transition:opacity 0.25s ease;
    }
    .news-card .title{
      position:relative;
      z-index:1;
      padding:0 1.2rem 1.1rem;
      font-family:'Cormorant Garamond',serif;
      font-size:1.14rem;
      color:var(--ink);
      line-height:1.35;
      font-weight:600;
      transition:opacity 0.25s ease;
    }
    .news-card .summary{
      position:absolute;
      inset:0;
      z-index:2;
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      padding:1.5rem;
      background:linear-gradient(160deg, rgba(94,46,21,0.95), rgba(177,90,43,0.95));
      color:var(--cream);
      font-family:'Cormorant Garamond',serif;
      font-size:1.06rem;
      line-height:1.55;
      opacity:0;
      transform:translateY(6px);
      transition:opacity 0.25s ease, transform 0.25s ease;
    }
    .news-card:hover .summary{
      opacity:1;
      transform:translateY(0);
    }
    .news-card:hover .date,
    .news-card:hover .title,
    .news-card:hover::after{opacity:0;}
    .news-card .nc-arrow{display:none;}
    .news-card.more-card{
      align-items:center;
      justify-content:center;
      background:var(--cream);
      border:2px dashed var(--copper);
      transition:background 0.2s ease, border-color 0.2s ease;
    }
    .news-card.more-card::after{display:none;}
    .news-card.more-card:hover{
      background:var(--paper);
      border-color:var(--maroon);
      transform:none;
      box-shadow:none;
    }
    .news-card.more-card span{
      font-family:'Cormorant Garamond',serif;
      font-weight:600;
      font-size:1.3rem;
      color:var(--maroon);
      text-align:center;
    }
  }
  /* 1300px o menos (este tamaño, pantalla mediana y móvil): noticias en fila */
  @media (max-width:1300px){
    .news-grid{
      width:100%;
      display:flex;
      flex-direction:column;
      gap:1.4rem;
    }
    .news-card{
      display:grid;
      grid-template-columns:180px 1fr auto;
      gap:0.4rem 1.2rem;
      align-items:start;
      padding:0.9rem;
      background:var(--cream);
      border:1px solid var(--rule);
      text-decoration:none;
      color:inherit;
      cursor:pointer;
      transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }
    .news-card:hover{
      transform:translateY(-4px);
      border-color:var(--copper);
      box-shadow:0 14px 30px rgba(94,46,21,0.14);
    }
    .news-card .nc-media img{
      width:100%;
      height:115px;
      object-fit:cover;
      display:block;
      background:var(--paper);
    }
    .news-card .date{
      display:block;
      margin-top:0.4rem;
      font-size:0.95rem;
      color:var(--copper);
      font-weight:600;
      letter-spacing:0.04em;
    }
    .news-card .title{
      display:block;
      font-family:'Cormorant Garamond',serif;
      font-size:1.3rem;
      font-weight:600;
      line-height:1.2;
      color:var(--maroon);
    }
    .news-card .summary{
      margin-top:0.4rem;
      font-size:1.05rem;
      line-height:1.45;
      color:var(--muted);
      display:-webkit-box;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
      overflow:hidden;
    }
    .news-card .nc-arrow{
      align-self:center;
      font-size:1.6rem;
      color:var(--copper);
      line-height:1;
    }
    .news-card.more-card{
      display:flex;
      align-items:center;
      justify-content:center;
      padding:1.2rem;
      background:var(--cream);
      border:2px dashed var(--copper);
      transition:background 0.2s ease, border-color 0.2s ease;
    }
    .news-card.more-card:hover{
      background:var(--paper);
      border-color:var(--maroon);
      transform:none;
      box-shadow:none;
    }
    .news-card.more-card span{
      font-family:'Cormorant Garamond',serif;
      font-weight:600;
      font-size:1.4rem;
      color:var(--maroon);
      text-align:center;
    }
  }
 
  .news-pagination{
    display:flex;
    justify-content:center;
    gap:1.6rem;
  }
  .news-pagination button{
    background:none;
    border:none;
    font-family:'Cormorant Garamond',serif;
    font-weight:600;
    font-size:1.3rem;
    color:var(--muted);
    cursor:pointer;
    padding-bottom:4px;
    border-bottom:2px solid transparent;
    transition:color 0.2s ease, border-color 0.2s ease;
  }
  .news-pagination button:hover{
    color:var(--maroon);
  }
  .news-pagination button.active{
    color:var(--maroon);
    border-color:var(--copper);
  }
  @media (max-width:1000px){
    #noticies{
      justify-content:center;
      padding:3vh 7vw 3vh;
      padding-top:calc(3vh + 100px);
    }
    #noticies .eyebrow{margin-bottom:1rem;}
    .news-box{padding:1.6rem 1.4rem;gap:1.4rem;}
    .news-grid{gap:1rem;}
    .news-card{grid-template-columns:180px 1fr;}
    .news-card .nc-arrow{display:none;}
  }
  @media (max-width:700px){
    #noticies{
      padding:2vh 6vw 3vh;
      padding-top:calc(2vh + 150px);
    }
    .news-box{padding:1.2rem 1rem;gap:1.1rem;border-width:2px;}
    .news-grid{gap:0.8rem;}
    .news-card{grid-template-columns:1fr;gap:0.3rem;padding:0.9rem;}
    .news-card .nc-media img{height:180px;}
    .news-card .title{font-size:1.35rem;margin-top:0.5rem;}
    .news-card .summary{font-size:1.1rem;margin-top:0.4rem;-webkit-line-clamp:4;}
    .news-pagination{gap:1rem;}
  }
 
  .site-nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:50;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:2.2rem;
    padding:1.2rem 4vw;
    background:rgba(245,239,227,0.94);
    border-bottom:1px solid var(--rule);
    backdrop-filter:blur(6px);
    opacity:0;
    transform:translateY(-100%);
    transition:opacity 0.35s ease, transform 0.35s ease;
    pointer-events:none;
  }
  .site-nav.visible{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .site-nav .nav-links{
    display:flex;
    align-items:center;
    gap:2.2rem;
  }
  .site-logo{
    display:flex;
    align-items:center;
    gap:0.7rem;
    text-decoration:none;
    color:inherit;
    flex-shrink:0;
  }
  .site-logo .mark{
    height:42px;
    width:auto;
    object-fit:contain;
    display:block;
  }
  .site-logo .brand-text{
    font-family:'Cormorant Garamond',serif;
    font-weight:600;
    font-size:1.05rem;
    letter-spacing:0.02em;
    color:var(--maroon);
    white-space:nowrap;
  }
  .site-nav a{
    font-family:'Cormorant Garamond',serif;
    font-weight:600;
    font-size:1.1rem;
    letter-spacing:0.02em;
    color:var(--ink);
    text-decoration:none;
    padding-bottom:4px;
    border-bottom:2px solid transparent;
    transition:color 0.2s ease, border-color 0.2s ease;
  }
  .site-nav a:hover,
  .site-nav a.active{
    color:var(--copper);
    border-color:var(--copper);
  }
  .site-nav .lang-flag{
    width:24px;
    height:16px;
    border-radius:2px;
    overflow:hidden;
    cursor:pointer;
  }
  .site-nav .lang-flag img{width:100%;height:100%;object-fit:cover;display:block;}

  /* ---- SELECTOR D'IDIOMA ---- */

  .lang-current .flag img{width:100%;height:100%;object-fit:cover;display:block;}

  .lang-menu a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:0.7rem 1rem;
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:1.1rem;
    color:var(--ink);
    text-decoration:none;
    border-bottom:1px solid var(--rule);
  }
  .lang-menu a:last-child{border-bottom:none;}
  .lang-menu a:hover{
    background:var(--paper);
    color:var(--copper);
  }
  .lang-menu a.current{
    color:var(--copper);
    font-weight:600;
  }
  .lang-menu a .flag{
    width:20px;
    height:14px;
    border-radius:2px;
    overflow:hidden;
    flex-shrink:0;
  }
  .lang-menu a .flag img{width:100%;height:100%;object-fit:cover;display:block;}
 
  /* ---- MAPS ---- */
  #maps{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:0 7vw 4vh;
    padding-top:calc(4vh + 105px);
    height:100vh;
    height:100dvh;
    overflow:hidden;
  }
  #maps .eyebrow{margin-bottom:1.4rem;flex-shrink:0;}
  .maps-embed{
    width:100%;
    flex:1 1 auto;
    min-height:0;
    border:1px solid var(--rule);
    overflow:hidden;
  }
  .maps-embed iframe{
    width:100%;
    height:100%;
    border:0;
    display:block;
  }
  @media (max-width:1000px){
    #maps{
      padding:0 7vw 6vh;
      padding-top:calc(5vh + 120px);
    }
  }

  /* ---- CONTACTE ---- */
  #contacte{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding:8vh 7vw 10vh;
    padding-top:calc(8vh + 110px);
    min-height:0;
    height:auto;
    overflow:visible;
  }
  #contacte .eyebrow{margin-bottom:2.6rem;}
  .contact-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:2.4rem 2.6rem;
  }
  .contact-col h3{
    font-family:'Cormorant Garamond',serif;
    font-weight:500;
    font-size:1.5rem;
    letter-spacing:0.01em;
    color:var(--maroon);
    margin-bottom:1rem;
    padding-top:1rem;
    border-top:1px solid var(--rule);
  }
  .contact-col p{
    font-family:'Cormorant Garamond',serif;   /* misma letra que Privacidad */
    font-weight:500;
    font-size:1.35rem;
    line-height:1.7;
    color:var(--muted);
  }
  .contact-col p strong{
    color:var(--ink);
    font-weight:600;
  }
  .contact-col a{
    color:var(--ink);
    text-decoration:none;
    border-bottom:1px solid var(--rule);
    transition:color 0.2s ease, border-color 0.2s ease;
  }
  .contact-col a:hover{
    color:var(--copper);
    border-color:var(--copper);
  }
  @media (max-width:1100px){
    .contact-grid{grid-template-columns:repeat(2, 1fr);gap:2.6rem;}
    .contact-col h3{
      font-size:1.35rem;
      margin-bottom:0.7rem;
      padding-top:0.7rem;
    }
    .contact-col p{
      font-size:1.25rem;
      line-height:1.5;
    }
  }
  @media (max-width:600px){
    .contact-grid{grid-template-columns:1fr;gap:2.2rem;}
    .contact-col h3{
      font-size:1.2rem;
      margin-bottom:0.6rem;
      padding-top:0.6rem;
    }
    .contact-col p{
      font-size:1.15rem;
      line-height:1.45;
    }
  }
 
  @media (max-width:1024px){
    section{padding:0 7vw;}
    #hero{padding:0 7vw;}
  }
 
  @media (max-width:700px){
    section{
      padding:8vh 6vw;
      height:auto;
      min-height:100vh;
      min-height:100dvh;
      overflow:visible;
    }
    #hero{padding:8vh 6vw;justify-content:center;align-items:flex-start;text-align:left;overflow:hidden;}
    .eyebrow{font-size:0.78rem;letter-spacing:0.22em;}
    .eyebrow::before{width:18px;margin-right:10px;}
    h1.welcome{font-size:clamp(2rem, 9vw, 2.6rem);}
    h1.welcome span{font-size:clamp(2.4rem, 11vw, 3.2rem);}
    .hero-subtitle,.hero-sub{max-width:none;}
 
    .site-nav{
      flex-wrap:wrap;
      justify-content:center;
      gap:0.9rem 1.1rem;
      padding:0.9rem 4vw;
    }
    .site-nav .nav-links{
      flex-wrap:wrap;
      justify-content:center;
      gap:0.9rem 1.1rem;
    }
    .site-nav a{font-size:0.92rem;}
 
    #serveis{
      padding:6vh 6vw;
      padding-top:calc(6vh + 120px);
    }
    #serveis .eyebrow{margin-bottom:0.9rem;}
    #serveis h2{margin-bottom:1.2rem;}
 
    #maps{
      padding:6vh 6vw 6vh;
      padding-top:calc(6vh + 120px);
    }

    #contacte{
      padding:6vh 6vw 8vh;
      padding-top:calc(6vh + 130px);
      min-height:0;
      height:auto;
    }
 
    .watermark::before{width:90vw;opacity:0.05;}
  }
 
  @media (max-width:420px){
    .site-nav a{font-size:0.84rem;}
    .site-nav{gap:0.7rem 0.9rem;}
  }

  /* Barra de menú en ventanas medias (701-1000 px): todo en UNA fila ("Quiénes somos" no se parte) */
  @media (min-width:701px) and (max-width:1000px){
    .site-nav{gap:1rem;padding:0.9rem 3vw;}
    .site-nav .nav-links{flex-wrap:nowrap;gap:clamp(0.8rem, 2.2vw, 1.8rem);}
    .site-nav a{font-size:1rem;white-space:nowrap;}
  }
 
  .site-footer{
    height:auto;
    min-height:0;
    scroll-snap-align:start;
    background:#1B1D24;
    color:#CBD0DA;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    padding:4vh 8vw 5vh;
    opacity:1;
    transform:none;
  }
  .footer-menu{
    list-style:none;
    border-top:1px solid rgba(255,255,255,0.12);
  }
  .footer-menu li{
    border-bottom:1px solid rgba(255,255,255,0.12);
  }
  .footer-menu a{
    display:flex;
    align-items:center;
    gap:0.9rem;
    padding:1.1rem 0.2rem;
    color:#CBD0DA;
    text-decoration:none;
    font-family:'Cormorant Garamond',serif;font-weight:500;
    font-size:1.15rem;
    transition:color 0.2s ease;
  }
  .footer-menu a:hover{color:#5AC8F5;}
  .footer-menu a .chev{
    width:22px;
    height:22px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.08);
    border-radius:3px;
    font-size:0.75rem;
    color:#9AA2B1;
  }
  
  .footer-legal a{
    color:#EDEFF3;
    text-decoration:none;
    font-family:'Cormorant Garamond',serif;font-weight:500;font-size:1.15rem;
  }
  .footer-legal a:hover{color:#5AC8F5;}
 
  @media (max-width:700px){
    .site-footer{padding:5vh 15vw 15vh;}
    .footer-legal{flex-direction:column;gap:0.8rem;}
  }

  /* ---- MAPA BAJO DEMANDA (no se carga nada de Google hasta que el usuario pulsa) ---- */
  .maps-embed,.contacte-map{display:flex;}
  .maps-embed iframe,.contacte-map iframe{flex:1 1 auto;}
  .map-consent{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1.1rem;
    padding:2rem 1.4rem;
    text-align:center;
    background:var(--paper);
    overflow:auto;
  }
  .map-consent-text{
    max-width:46ch;
    font-family:'Cormorant Garamond',serif;
    font-size:1.14rem;
    line-height:1.6;
    color:var(--ink);
  }
  .map-consent-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:1rem 1.6rem;
  }
  .map-consent-btn{
    font-family:'Cormorant Garamond',serif;
    font-size:0.98rem;
    font-weight:600;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--cream);
    background:var(--copper);
    border:1px solid var(--copper);
    padding:0.85rem 1.7rem;
    cursor:pointer;
    transition:background 0.2s ease, border-color 0.2s ease;
  }
  .map-consent-btn:hover{background:var(--maroon);border-color:var(--maroon);}
  .map-consent a{
    font-family:'Cormorant Garamond',serif;
    font-size:1.02rem;
    color:var(--maroon);
    text-decoration:none;
    border-bottom:1px solid var(--rule);
  }
  .map-consent a:hover{color:var(--copper);border-color:var(--copper);}
  .map-consent .map-consent-btn:focus-visible,
  .map-consent a:focus-visible{outline:2px solid var(--copper);outline-offset:3px;}

  /* ---- AJUSTE A LA PANTALLA (ver assets/ajustar.js) ----
     Cada apartado empieza justo debajo del menú (altura real medida por JS)
     y, si hace falta, su contenido se reduce un poco para caber entero. */
  @media (max-width:1100px){
    html{--navh:120px;}                 /* valor de reserva; ajustar.js lo corrige */
    #serveis,#clients,#noticies,#maps,#contacte{
      padding-top:calc(var(--navh) + clamp(26px, 6vh, 52px));   /* aire bajo el menú */
      padding-bottom:4.75rem;                                    /* deja libre el botón de cookies */
    }
    section.ajustada > *{zoom:var(--zoom,1);}
    section.ajustada > .eyebrow{zoom:1;}      /* el título del apartado no se encoge */

    /* Contacto: 2 columnas (Dirección | Teléfono, Correo | Horario) y texto más grande */
    #contacte .contact-grid{
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:1.3rem 1.5rem;
    }
    #contacte .contact-col h3{
      font-size:1.2rem;
      margin-bottom:0.5rem;
      padding-top:0.6rem;
    }
    #contacte .contact-col p{
      font-size:1.15rem;
      line-height:1.45;
    }
    #contacte .contact-col a{overflow-wrap:anywhere;}
    #serveis .eyebrow,#clients .eyebrow,#noticies .eyebrow,#maps .eyebrow,#contacte .eyebrow{
      font-size:0.80rem;
      letter-spacing:0.2em;
      margin-bottom:1.3rem;
    }
    #serveis .eyebrow::before,#clients .eyebrow::before,#noticies .eyebrow::before,#maps .eyebrow::before,#contacte .eyebrow::before{
      width:20px;
      margin-right:10px;
    }
  }

  /* ---- SERVICIOS (portada) en pantallas grandes: contenido centrado en vertical ----
     Se centra entre el menú y el borde inferior de la pantalla. */
  @media (min-width:1101px){
    #serveis{
      justify-content:center;
      padding-top:calc(var(--navh, 90px) + 4vh);
      padding-bottom:12vh;      /* mayor = el contenido sube más */
    }
  }

  /* ---- NOTÍCIES centradas en vertical en pantallas medias y pequeñas ----
     (va al final para ganar a las reglas anteriores sin tocarlas) */
  @media (min-width:701px) and (max-width:1100px){
    #noticies{
      justify-content:center;
      padding-top:calc(var(--navh, 120px) + 2vh);
      padding-bottom:1rem;
    }
    #noticies .eyebrow{
      margin-bottom:1.6rem;
    }
  }

 /* ---- CLIENTS: Lamitex y Punt Roma, tamaño y altura alineados con el resto ---- */
@media (min-width:1001px) and (max-width:1500px){
  .client-logo img[alt="Lamitex"]{
    --h:min(163px, 12.6vw);
    max-height:none;
    height:var(--h);
    transform:translateY(calc(var(--h) / 2 - 38px)) !important;
  }
  .client-logo img[alt="Puntroma"]{
    --h:min(133px, 10.1vw);
    max-height:none;
    height:var(--h);
    transform:translateY(calc(var(--h) / 2 - 38px)) !important;
  }
}

@media (min-width:1101px) and (max-width:1300px){
  #noticies{
    justify-content:center;
    padding-top:calc(var(--navh, 120px) + 2vh);
    padding-bottom:1rem;
  }
  #noticies .eyebrow{margin-bottom:1.2rem;}
  .news-box{padding:1.6rem 1.8rem;gap:1.2rem;}
  .news-grid{gap:1rem;}
  .news-card{padding:0.7rem;}
  .news-card .nc-media img{height:100px;}
  .news-card .summary{-webkit-line-clamp:2;}
  .news-card.more-card{padding:0.9rem;}
}

@media (min-width:701px) and (max-width:1100px){
  .news-card .title{font-size:1.15rem;}
  .news-card .summary{font-size:0.95rem;line-height:1.4;}
  .news-card .date{font-size:0.85rem;}
  .news-card.more-card{padding:0.55rem;}
  .news-card.more-card span{font-size:1.1rem;}
}

@media (min-width:1101px) and (max-width:1300px){
  #noticies{
    justify-content:center;
    padding-top:calc(var(--navh, 120px) + 2vh);
    padding-bottom:1rem;
  }
  #noticies .eyebrow{margin-bottom:1.2rem;}
  .news-box{padding:1.6rem 1.8rem;gap:1.2rem;}
  .news-grid{gap:1rem;}
  .news-card{padding:0.7rem;}
  .news-card .nc-media img{height:100px;}
  .news-card .title{font-size:1.15rem;}
  .news-card .summary{font-size:0.95rem;line-height:1.4;-webkit-line-clamp:2;}
  .news-card .date{font-size:0.85rem;}
  .news-card.more-card{padding:0.55rem;}
  .news-card.more-card span{font-size:1.1rem;}
}

@media (min-width:481px) and (max-width:700px){
  #noticies{
    justify-content:center;
    padding-top:calc(var(--navh, 120px) + 2vh);
    padding-bottom:1rem;
  }
  #noticies .eyebrow{margin-bottom:1rem;}
  .news-box{padding:1.1rem 1rem;gap:0.9rem;}
  .news-grid{gap:0.8rem;}
  .news-card{
    grid-template-columns:120px 1fr auto;
    gap:0.3rem 0.9rem;
    padding:0.7rem;
  }
  .news-card .nc-media img{height:85px;}
  .news-card .title{font-size:1.1rem;margin-top:0;}
  .news-card .summary{font-size:0.9rem;line-height:1.4;-webkit-line-clamp:2;}
  .news-card .date{font-size:0.8rem;}
  .news-card.more-card{padding:0.55rem;}
  .news-card.more-card span{font-size:1.1rem;}
}

@media (max-width:1300px){
  .news-card .summary{color:#6F6150;}
}