:root{
    --navy-950:#060f22;
    --navy-900:#0a1830;
    --navy-850:#0c1e3c;
    --navy-800:#0f2647;
    --navy-700:#15315c;
    --cyan-400:#3fd0ea;
    --cyan-500:#20b8d8;
    --cyan-600:#0ea0c2;
    --orange-500:#e07b34;
    --ink:#0a1830;
    --paper:#eef3f8;
    --paper-2:#f6f9fc;
    --muted-on-dark:#a9bcd6;
    --muted-on-light:#5b6b84;
    --line-on-dark:rgba(255,255,255,.12);
    --line-on-light:#dde5ef;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter', system-ui, sans-serif;
    background:var(--paper);
    color:var(--ink);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4,.display{
    font-family:'Plus Jakarta Sans','Inter',sans-serif;
    line-height:1.14;
    letter-spacing:-0.01em;
  }
  img{display:block; max-width:100%; height:auto;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  .wrap{
    max-width:1240px;
    margin:0 auto;
    padding:0 32px;
  }
  section{padding:96px 0;}
  .eyebrow{
    display:flex; align-items:center; gap:10px;
    font-size:13px; font-weight:600;
    letter-spacing:.02em;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:26px; height:2px;
    background:var(--cyan-400);
    display:inline-block;
    flex-shrink:0;
  }
  .eyebrow.on-dark{color:var(--cyan-400);}
  .eyebrow.on-light{color:var(--cyan-600);}

  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:14px 24px;
    border-radius:8px;
    font-weight:600;
    font-size:15px;
    white-space:nowrap;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn-primary{
    background:var(--cyan-500);
    color:var(--navy-950);
    border:1px solid var(--cyan-500);
  }
  .btn-primary:hover{background:var(--cyan-400);}
  .btn-outline-dark{
    background:transparent;
    color:#fff;
    border:1px solid rgba(255,255,255,.35);
  }
  .btn-outline-dark:hover{border-color:#fff; background:rgba(255,255,255,.06);}
  .btn-outline-light{
    background:transparent;
    color:var(--ink);
    border:1px solid var(--line-on-light);
  }
  .btn-outline-light:hover{border-color:var(--ink);}
  .btn svg{width:16px; height:16px; flex-shrink:0;}
  button.btn{font-family:inherit; cursor:pointer;}
  .btn.copied{border-color:#22b06b !important; color:#22b06b !important;}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(6,15,34,.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-on-dark);
  }
  /* barra de administración de WordPress (solo visible con sesión iniciada) */
  .admin-bar header{top:32px;}
  @media (max-width:782px){ .admin-bar header{top:46px;} }

  .nav-row{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
    color:#fff;
  }
  .brand{display:flex; align-items:center; gap:12px;}
  .brand-mark{
    width:40px; height:40px;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .brand-mark svg, .brand-mark img{width:40px; height:40px;}
  .brand-text{line-height:1.15;}
  .brand-text .name{font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:15.5px; letter-spacing:.02em;}
  .brand-text .tagline{font-size:9.5px; letter-spacing:.09em; color:var(--muted-on-dark); font-weight:600; text-transform:uppercase; margin-top:2px;}

  .nav-links{display:flex; align-items:center; gap:34px;}
  .nav-links a{
    font-size:14.5px; font-weight:500; color:var(--muted-on-dark);
    position:relative; padding:6px 0;
    transition:color .15s ease;
  }
  .nav-links a:hover, .nav-links a.active{color:#fff;}
  .nav-right{display:flex; align-items:center; gap:20px;}
  .nav-cta{padding:11px 20px; font-size:14px;}
  .menu-toggle{display:none;}

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    background:
      linear-gradient(100deg, rgba(6,15,34,.94) 22%, rgba(6,15,34,.62) 55%, rgba(6,15,34,.32) 100%),
      linear-gradient(0deg, var(--navy-950) 0%, rgba(6,15,34,0) 30%),
      var(--hero-img)
      center/cover no-repeat;
    color:#fff;
    padding:150px 0 110px;
  }
  .hero-content{max-width:620px;}
  .hero h1{
    font-size:44px;
    font-weight:800;
    color:#fff;
    max-width:560px;
  }
  .hero h1 .accent{color:var(--cyan-400);}
  .hero p{
    color:var(--muted-on-dark);
    font-size:16px;
    max-width:520px;
    margin-top:20px;
  }
  .hero p + p{margin-top:14px;}
  .hero-actions{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap;}

  /* stat strip */
  .stat-strip{
    background:var(--navy-900);
    border-top:1px solid var(--line-on-dark);
    border-bottom:1px solid var(--line-on-dark);
  }
  .stat-strip .wrap{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    padding:36px;
  }
  .stat-item{
    display:flex; align-items:flex-start; gap:14px;
    padding:0 24px;
    border-left:1px solid var(--line-on-dark);
  }
  .stat-item:first-child{border-left:none; padding-left:0;}
  .stat-icon{
    width:26px; height:26px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    margin-top:2px;
  }
  .stat-icon svg{width:26px; height:26px; stroke:var(--cyan-400);}
  .stat-title{color:#fff; font-weight:700; font-size:15px;}
  .stat-sub{color:var(--muted-on-dark); font-size:12.5px; margin-top:3px; line-height:1.4;}

  /* ---------- SECTION 2: en terreno (hero) ---------- */
  .terreno{
    background:var(--navy-950);
    color:#fff;
    padding:0 0 96px;
  }
  .terreno-hero{
    position:relative;
    background:
      linear-gradient(100deg, rgba(6,15,34,.94) 30%, rgba(6,15,34,.6) 58%, rgba(6,15,34,.28) 100%),
      linear-gradient(0deg, var(--navy-950) 0%, rgba(6,15,34,0) 28%),
      var(--terreno-img)
      center/cover no-repeat;
    padding:130px 0 96px;
    margin-bottom:64px;
  }
  .terreno-hero-content{max-width:560px; text-align:left;}
  .terreno-hero-content h2{font-size:34px; font-weight:800; color:#fff; max-width:520px;}
  .terreno-hero-content p{color:var(--muted-on-dark); font-size:15.5px; max-width:520px; margin-top:18px;}
  .terreno-hero-content p b{color:#fff; font-weight:600;}
  .feature-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
  }
  .feature{border-top:1px solid var(--line-on-dark); padding-top:22px;}
  .feature-icon{
    width:30px; height:30px; margin-bottom:16px;
    display:flex; align-items:center; justify-content:center;
  }
  .feature-icon svg{width:28px; height:28px; stroke:var(--cyan-400);}
  .feature h4{font-size:15.5px; font-weight:700; color:#fff;}
  .feature p{font-size:13.5px; color:var(--muted-on-dark); margin-top:8px; line-height:1.5;}

  /* ---------- SERVICIOS ---------- */
  .servicios{background:var(--paper);}
  .servicios-head{max-width:640px;}
  .servicios h2{font-size:32px; font-weight:800; color:var(--ink);}
  .servicios-head p{color:var(--muted-on-light); font-size:15.5px; margin-top:16px;}

  /* Cuadrícula compacta de servicios (2 columnas; el 07 ocupa el ancho completo) */
  .svc-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:20px;
    margin-top:44px;
  }
  .svc-card{
    background:#fff;
    border:1px solid var(--line-on-light);
    border-radius:14px;
    padding:28px;
    display:flex;
    flex-direction:column;
    gap:12px;
    transition:transform .35s cubic-bezier(.16,.8,.24,1), box-shadow .35s ease, border-color .35s ease;
  }
  .svc-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 34px -18px rgba(10,24,48,.28);
    border-color:rgba(14,160,194,.35);
  }
  .svc-card.wide{grid-column:1 / -1;}
  .svc-card-head{
    display:flex; align-items:center; justify-content:space-between;
  }
  .svc-icon{
    width:44px; height:44px; flex-shrink:0;
    border-radius:12px;
    background:rgba(14,160,194,.08);
    display:flex; align-items:center; justify-content:center;
    transition:transform .35s cubic-bezier(.16,.8,.24,1);
  }
  .svc-card:hover .svc-icon{transform:scale(1.08) rotate(-4deg);}
  .svc-icon svg{width:22px; height:22px; stroke:var(--cyan-600);}
  .svc-num{
    font-family:'Plus Jakarta Sans',sans-serif;
    font-weight:800; font-size:13px; color:var(--cyan-600);
    letter-spacing:.03em;
  }
  .svc-card h3{font-size:18px; font-weight:700; color:var(--ink);}
  .svc-card > p{font-size:14px; color:var(--muted-on-light); line-height:1.55;}
  .svc-label{
    margin-top:6px;
    font-size:11.5px; font-weight:700;
    letter-spacing:.08em; text-transform:uppercase;
    color:var(--ink); opacity:.6;
  }
  .svc-chips{
    display:flex; flex-wrap:wrap; gap:8px;
  }
  .svc-chips li{
    font-size:12.5px; font-weight:600;
    color:var(--cyan-600);
    background:rgba(14,160,194,.08);
    border:1px solid rgba(14,160,194,.18);
    border-radius:16px;
    padding:6px 12px;
    line-height:1.3;
  }
  .svc-chips.alt li{
    background:var(--navy-900);
    border-color:var(--navy-900);
    color:var(--cyan-400);
    letter-spacing:.02em;
  }
  .svc-card .iso-badges{margin-top:4px;}

  /* Insignias ISO (servicio 06) */
  .iso-badges{
    display:flex; flex-wrap:wrap; gap:12px;
    margin-top:8px;
  }
  .iso-badge{
    display:flex; align-items:center; gap:10px;
    flex:1 1 190px;
    padding:8px 14px 8px 8px;
    border:1px solid var(--line-on-light);
    border-radius:14px;
    background:#fff;
    box-shadow:0 1px 2px rgba(10,24,48,.06);
  }
  .iso-logo{
    flex:none;
    width:48px; height:48px;
    border-radius:50%;
    background:var(--navy-900);
    color:#fff;
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    line-height:1;
    font-family:'Plus Jakarta Sans','Inter',Arial,sans-serif;
    box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 4.5px var(--navy-900);
  }
  .iso-logo b{font-size:9px; font-weight:800; letter-spacing:.14em; opacity:.85; margin-bottom:3px;}
  .iso-logo span{font-size:12px; font-weight:800; letter-spacing:.02em;}
  .iso-logo.iso-logo-img{background:transparent; box-shadow:none; border-radius:0;}
  .iso-logo.iso-logo-img img{width:48px; height:48px; object-fit:contain; display:block;}
  .iso-text{display:flex; flex-direction:column; gap:2px; min-width:0;}
  .iso-text strong{font-size:14px; font-weight:700; color:var(--ink); line-height:1.2;}
  .iso-text small{font-size:12px; color:var(--muted-on-light); line-height:1.3;}

  /* ---------- CIBERSEGURIDAD (especialización) ---------- */
  .ciber{background:var(--paper-2);}
  .ciber-head{max-width:720px; margin-bottom:44px;}
  .ciber-head h2{font-size:32px; font-weight:800; color:var(--ink);}
  .ciber-head p{color:var(--muted-on-light); font-size:15.5px; margin-top:16px; line-height:1.6;}

  .ciber-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:28px;
  }
  .ciber-card{
    background:#fff;
    border:1px solid var(--line-on-light);
    border-radius:14px;
    padding:32px 28px;
    display:flex;
    flex-direction:column;
  }
  .ciber-card.featured{
    grid-column:1 / -1;
    flex-direction:row;
    align-items:flex-start;
    gap:36px;
  }
  .ciber-card.featured .ciber-icon{
    width:64px;
    height:64px;
    flex-shrink:0;
  }
  .ciber-card.featured .ciber-icon svg{
    width:64px;
    height:64px;
  }
  .ciber-card.featured .ciber-body{flex:1;}
  .ciber-card.featured h3{font-size:20px; margin-bottom:12px;}

  .ciber-icon{
    width:48px; height:48px; flex-shrink:0;
    border-radius:12px;
    background:rgba(14,160,194,.08);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
  }
  .ciber-icon svg{width:24px; height:24px; stroke:var(--cyan-600);}
  .ciber-phase{
    font-family:'Plus Jakarta Sans',sans-serif;
    font-weight:800; font-size:12.5px; color:var(--cyan-600);
    letter-spacing:.06em; text-transform:uppercase;
    margin-bottom:8px;
  }
  .ciber-card h3{font-size:17px; font-weight:700; color:var(--ink); margin-bottom:10px;}
  .ciber-card > p, .ciber-body > p{
    font-size:14px; color:var(--muted-on-light); line-height:1.55;
    margin-bottom:16px;
  }
  .ciber-body{flex:1;}

  .ciber-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
  }
  .ciber-tags span{
    font-size:12px;
    font-weight:600;
    color:var(--cyan-600);
    background:rgba(14,160,194,.08);
    border-radius:16px;
    padding:6px 12px;
    display:inline-block;
  }

  .ciber-list{
    margin-top:14px;
  }
  .ciber-list .list-item{
    display:flex; align-items:flex-start; gap:8px;
    font-size:13.5px; color:var(--muted-on-light);
    margin-bottom:8px; line-height:1.4;
  }
  .ciber-list .list-item svg{width:13px; height:13px; stroke:var(--cyan-600); margin-top:3px; flex-shrink:0;}

  /* ---------- EXPERIENCIA ---------- */
  .experiencia{
    position:relative;
    color:#fff;
    background:
      linear-gradient(100deg, rgba(6,15,34,.94) 30%, rgba(6,15,34,.72) 70%),
      var(--experiencia-img)
      center/cover no-repeat;
  }
  .experiencia h2{font-size:32px; font-weight:800; color:#fff; max-width:480px;}
  .experiencia p{color:var(--muted-on-dark); font-size:15.5px; max-width:480px; margin-top:16px;}
  .exp-stats{
    display:grid;
    grid-template-columns:repeat(4,auto);
    gap:44px;
    margin-top:44px;
  }
  .exp-stat{display:flex; align-items:center; gap:14px;}
  .exp-stat-icon{
    width:46px; height:46px; flex-shrink:0;
    border-radius:50%;
    border:1px solid rgba(63,208,234,.45);
    display:flex; align-items:center; justify-content:center;
  }
  .exp-stat-icon svg{width:21px; height:21px; stroke:var(--cyan-400);}
  .exp-stat .num{font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:24px; color:#fff; line-height:1;}
  .exp-stat .cap{font-size:12px; color:var(--muted-on-dark); margin-top:4px; line-height:1.3;}

  /* ---------- NOTICIAS (tarjetas de prensa) ---------- */
  .noticias{background:#fff;}
  .noticias-head{display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap;}
  .noticias-head h2{font-size:30px; font-weight:800; color:var(--ink); max-width:520px;}
  .ver-todas{display:flex; align-items:center; gap:6px; font-weight:600; font-size:14px; color:var(--cyan-600);}
  .ver-todas svg{width:14px; height:14px;}
  .press-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:44px;}
  .press-card{display:block; background:#fff; border:1px solid var(--line-on-light); border-radius:14px; overflow:hidden;}
  .press-card img{width:100%; aspect-ratio:16/9; object-fit:cover;}
  .press-fallback{
    aspect-ratio:16/9;
    display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color:var(--cyan-400);
    font-family:'Plus Jakarta Sans',sans-serif;
    font-weight:800; font-size:14px; letter-spacing:.08em; text-transform:uppercase;
  }
  .press-body{padding:20px 22px 24px;}
  .news-date{font-size:11.5px; font-weight:700; letter-spacing:.05em; color:var(--cyan-600);}
  .press-card h4{font-size:16px; font-weight:700; color:var(--ink); margin-top:8px; line-height:1.35;}
  .press-card p{font-size:13.5px; color:var(--muted-on-light); margin-top:8px; line-height:1.5;}
  .leer-mas{display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:600; color:var(--cyan-600); margin-top:12px;}
  .leer-mas svg{width:13px; height:13px;}
  .press-card:hover{border-color:rgba(14,160,194,.35);}

  /* ---------- CTA ---------- */
  .cta{
    position:relative;
    color:#fff;
    background:
      linear-gradient(90deg, rgba(6,15,34,.95) 40%, rgba(6,15,34,.45) 100%),
      var(--experiencia-img)
      right center/cover no-repeat;
    padding:88px 0;
  }
  .cta .eyebrow{color:var(--cyan-400); font-size:12.5px;}
  .cta h2{font-size:32px; font-weight:800; max-width:640px; color:#fff;}
  .cta-actions{margin-top:30px; display:flex; gap:14px; flex-wrap:wrap;}

  /* ---------- FOOTER ---------- */
  footer{background:var(--navy-950); color:#fff; padding:56px 0 28px;}
  .footer-top{
    display:flex; align-items:center; justify-content:space-between;
    flex-wrap:wrap; gap:24px;
    padding-bottom:36px;
    border-bottom:1px solid var(--line-on-dark);
  }
  .footer-nav{display:flex; gap:28px; flex-wrap:wrap;}
  .footer-nav a{font-size:14px; color:var(--muted-on-dark); font-weight:500;}
  .footer-nav a:hover{color:#fff;}
  .socials{display:flex; gap:10px;}
  .social-btn{
    width:36px; height:36px; border-radius:50%;
    background:rgba(255,255,255,.07);
    border:1px solid var(--line-on-dark);
    display:flex; align-items:center; justify-content:center;
  }
  .social-btn svg{width:15px; height:15px; stroke:#fff; fill:none;}
  .footer-bottom{
    display:flex; align-items:center; justify-content:space-between;
    flex-wrap:wrap; gap:12px;
    padding-top:24px;
    font-size:12.5px; color:var(--muted-on-dark);
  }

  /* ---------- ANIMATIONS ---------- */
  @media (prefers-reduced-motion: no-preference){

  @keyframes fadeUp{
    from{opacity:0; transform:translateY(26px);}
    to{opacity:1; transform:translateY(0);}
  }
  @keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
  }
  @keyframes floatY{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-6px);}
  }
  @keyframes pulseRing{
    0%{box-shadow:0 0 0 0 rgba(63,208,234,.45);}
    100%{box-shadow:0 0 0 10px rgba(63,208,234,0);}
  }

  /* generic scroll reveal */
  .reveal{
    opacity:0;
    transform:translateY(26px);
    transition:opacity .8s cubic-bezier(.16,.8,.24,1), transform .8s cubic-bezier(.16,.8,.24,1);
    will-change:opacity, transform;
  }
  .reveal.is-visible{opacity:1; transform:translateY(0);}
  .reveal-scale{opacity:0; transform:scale(.94); transition:opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1);}
  .reveal-scale.is-visible{opacity:1; transform:scale(1);}

  /* stagger delays for grid children */
  .stat-strip .stat-item:nth-child(1),.feature-row .feature:nth-child(1),.svc-grid .svc-card:nth-child(1),.exp-stats .exp-stat:nth-child(1),.ciber-grid .ciber-card:nth-child(1){transition-delay:.02s;}
  .stat-strip .stat-item:nth-child(2),.feature-row .feature:nth-child(2),.svc-grid .svc-card:nth-child(2),.exp-stats .exp-stat:nth-child(2),.ciber-grid .ciber-card:nth-child(2){transition-delay:.11s;}
  .stat-strip .stat-item:nth-child(3),.feature-row .feature:nth-child(3),.svc-grid .svc-card:nth-child(3),.exp-stats .exp-stat:nth-child(3),.ciber-grid .ciber-card:nth-child(3){transition-delay:.2s;}
  .stat-strip .stat-item:nth-child(4),.feature-row .feature:nth-child(4),.svc-grid .svc-card:nth-child(4),.exp-stats .exp-stat:nth-child(4),.ciber-grid .ciber-card:nth-child(4){transition-delay:.29s;}

  /* hero entrance (plays on load, staggered) */
  .hero-content .eyebrow{animation:fadeUp .8s cubic-bezier(.16,.8,.24,1) both; animation-delay:.05s;}
  .hero-content h1{animation:fadeUp .9s cubic-bezier(.16,.8,.24,1) both; animation-delay:.16s;}
  .hero-content p:nth-of-type(1){animation:fadeUp .9s cubic-bezier(.16,.8,.24,1) both; animation-delay:.28s;}
  .hero-content p:nth-of-type(2){animation:fadeUp .9s cubic-bezier(.16,.8,.24,1) both; animation-delay:.36s;}
  .hero-actions{animation:fadeUp .9s cubic-bezier(.16,.8,.24,1) both; animation-delay:.46s;}

  /* subtle hover / idle motion */
  .ciber-card, .feature, .exp-stat, .stat-item{
    transition:transform .35s cubic-bezier(.16,.8,.24,1), box-shadow .35s ease, border-color .35s ease, opacity .8s cubic-bezier(.16,.8,.24,1);
  }
  .ciber-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 34px -18px rgba(10,24,48,.28);
    border-color:rgba(14,160,194,.35);
  }
  .ciber-card:hover .ciber-icon{transform:scale(1.08) rotate(-4deg);}
  .ciber-icon{transition:transform .35s cubic-bezier(.16,.8,.24,1);}
  .feature:hover{transform:translateY(-4px); border-color:rgba(63,208,234,.5);}
  .feature:hover .feature-icon svg{transform:scale(1.12);}
  .feature-icon svg{transition:transform .35s cubic-bezier(.16,.8,.24,1);}
  .stat-item:hover .stat-icon svg{transform:scale(1.12) rotate(-4deg);}
  .stat-icon svg{transition:transform .35s cubic-bezier(.16,.8,.24,1);}
  .exp-stat:hover .exp-stat-icon{animation:pulseRing 1.1s ease-out; border-color:var(--cyan-400);}
  .exp-stat-icon{transition:border-color .35s ease;}

  .brand-mark{transition:transform .35s cubic-bezier(.16,.8,.24,1);}
  .brand:hover .brand-mark{transform:scale(1.06);}

  .btn-outline-dark:hover, .btn-outline-light:hover{transform:translateY(-2px);}
  .btn-primary:hover{transform:translateY(-2px);}

  .nav-links a::after{
    content:""; position:absolute; left:0; bottom:-4px; height:2px;
    width:0; background:var(--cyan-400); border-radius:2px;
    transition:width .3s cubic-bezier(.16,.8,.24,1);
  }
  .nav-links a.active::after{width:100%;}
  .nav-links a:hover::after{width:100%;}

  .ver-todas svg, .leer-mas svg{transition:transform .3s ease;}
  .ver-todas:hover svg, .leer-mas:hover svg{transform:translateX(4px);}
  .press-card{transition:transform .35s cubic-bezier(.16,.8,.24,1), box-shadow .35s ease, border-color .35s ease, opacity .8s cubic-bezier(.16,.8,.24,1);}
  .press-card:hover{transform:translateY(-6px); box-shadow:0 18px 34px -18px rgba(10,24,48,.28);}

  .social-btn{transition:transform .3s ease, background .3s ease;}
  .social-btn:hover{transform:translateY(-3px); background:rgba(63,208,234,.18);}

  } /* end prefers-reduced-motion guard */

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px){
    .nav-links{display:none;}
    .nav-links.nav-open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 76px; left: 0; right: 0;
      background: #060f22;
      padding: 16px 32px 20px;
      gap: 4px;
      border-bottom: 1px solid rgba(255,255,255,.12);
      z-index: 99;
    }
    .menu-toggle{display:flex; width:38px; height:38px; align-items:center; justify-content:center; border-radius:8px; border:1px solid var(--line-on-dark); flex-shrink:0;}
    .menu-toggle svg{width:18px; height:18px; stroke:#fff;}
    .hero{padding:130px 0 80px;}
    .hero h1{font-size:34px;}
    .stat-strip .wrap{grid-template-columns:repeat(2,1fr); gap:24px 0;}
    .stat-item{border-left:none; border-top:1px solid var(--line-on-dark); padding:20px 0 0;}
    .stat-item:nth-child(odd){padding-right:20px;}
    .stat-item:nth-child(1),.stat-item:nth-child(2){border-top:none;}
    .terreno-hero{padding:100px 0 70px;}
    .feature-row{grid-template-columns:repeat(2,1fr);}
    .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .ciber-grid{grid-template-columns:1fr;}
    .ciber-card.featured{grid-column:1 / -1; flex-direction:column; align-items:flex-start;}
    .exp-stats{grid-template-columns:repeat(2,1fr); gap:28px;}
    .press-grid{grid-template-columns:repeat(2,1fr);}
  }

  /* ---- Tablet chico / móvil grande ---- */
  @media (max-width: 720px){
    .wrap{padding:0 20px;}
    section{padding:64px 0;}

    .nav-row{height:68px;}
    .nav-right{gap:12px;}
    .nav-cta{display:none;}
    header .brand-text{display:none;}

    .hero{padding:100px 0 56px; text-align:center;}
    .hero-content{max-width:100%; margin:0 auto;}
    .hero h1{font-size:30px; max-width:100%;}
    .hero p{max-width:100%; margin-left:auto; margin-right:auto;}
    .hero-actions{justify-content:center;}
    .eyebrow{justify-content:center;}

    .stat-strip .wrap{grid-template-columns:1fr; padding:28px 20px;}
    .stat-item{border-top:1px solid var(--line-on-dark); padding:20px 0 0 !important;}
    .stat-item:first-child{border-top:none; padding-top:0 !important;}

    .terreno-hero{padding:80px 0 56px; text-align:center;}
    .terreno-hero-content{max-width:100%; margin:0 auto; text-align:center;}
    .terreno-hero-content h2, .terreno-hero-content p{max-width:100%;}
    .feature-row{grid-template-columns:1fr; gap:22px;}

    .servicios h2, .servicios-head p{max-width:100%;}
    .svc-grid{grid-template-columns:minmax(0,1fr); gap:16px; margin-top:28px;}
    .svc-card{padding:22px;}
    .svc-card h3{font-size:17px;}

    .ciber-head h2, .ciber-head p{max-width:100%;}
    .ciber-grid{grid-template-columns:1fr;}
    .ciber-card.featured{flex-direction:column;}

    .experiencia h2, .experiencia p{max-width:100%;}
    .exp-stats{grid-template-columns:1fr; gap:20px;}
    .exp-stat{justify-content:flex-start;}

    .noticias-head{flex-direction:column; align-items:flex-start;}
    .noticias-head h2{max-width:100%;}
    .press-grid{grid-template-columns:1fr;}

    .cta{text-align:center;}
    .cta h2{max-width:100%;}
    .cta-actions{justify-content:center;}

    footer{padding:44px 0 24px; text-align:center;}
    .footer-top{flex-direction:column; align-items:center; text-align:center; gap:20px;}
    .brand{flex-direction:column; align-items:center; text-align:center; gap:8px;}
    .footer-nav{justify-content:center; align-items:center; gap:14px 22px;}
    .socials{justify-content:center;}
    .footer-bottom{flex-direction:column; align-items:center; text-align:center; gap:6px;}
  }

  /* ---- Teléfonos pequeños ---- */
  @media (max-width: 420px){
    .wrap{padding:0 16px;}
    section{padding:52px 0;}
    .hero{padding:88px 0 44px;}
    .hero h1{font-size:25px;}
    .hero p{font-size:14.5px;}
    .btn{padding:12px 18px; font-size:14px;}
    .hero-actions{flex-direction:column; align-items:stretch;}
    .hero-actions .btn{justify-content:center;}
    .terreno-hero-content h2{font-size:26px;}
    .servicios h2, .experiencia h2, .ciber-head h2{font-size:26px;}
    .noticias-head h2{font-size:24px;}
    .cta h2{font-size:26px;}
    .cta-actions{flex-direction:column; align-items:stretch;}
    .cta-actions .btn{justify-content:center;}
    .stat-title{font-size:14px;}
    .footer-nav{flex-direction:column; gap:12px;}
  }

/* Enlace mailto visible junto al botón "Copiar correo": da una alternativa
   accesible para lectores de pantalla y usuarios que prefieren su cliente
   de correo en vez de copiar/pegar. */
.cta-email-fallback{
  margin-top:16px;
  font-size:13.5px;
  color:var(--muted-on-dark);
}
.cta-email-fallback a{
  color:var(--cyan-400);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
}