
:root{
  --navy:#071a2a;
  --navy2:#0b2539;
  --gold:#f2b600;
  --gold2:#d89000;
  --cream:#fffdf8;
  --paper:#ffffff;
  --ink:#081b2a;
  --muted:#69747c;
  --line:#e8e0d5;
  --radius:24px;
  --shadow:0 16px 42px rgba(7,26,42,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--cream);line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit}
.wrap{width:min(1540px,calc(100% - 64px));margin-inline:auto}
.eyebrow{display:block;color:#9c6a00;font-weight:900;letter-spacing:.12em;font-size:14px;margin-bottom:10px}
.eyebrow-gold{color:var(--gold)}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{letter-spacing:-.025em}
h2{font-size:clamp(32px,3.3vw,52px);line-height:1.02}
.btn{display:inline-flex;justify-content:center;align-items:center;min-height:52px;padding:0 25px;border-radius:999px;background:var(--gold);color:var(--navy);font-weight:900;border:2px solid var(--gold);cursor:pointer;transition:.18s ease}
.btn:hover{transform:translateY(-1px);filter:brightness(.98)}
.btn-small{min-height:46px;padding-inline:23px}
.btn-ghost{background:transparent;border-color:#c8c7c3}
.btn-on-dark{border-color:#fff;color:#fff}
.btn-dark{background:var(--navy);color:#fff;border-color:var(--navy)}
.text-link{font-weight:900;color:#8d6200}
.tag{display:inline-block;color:#9c6a00;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}

/* Header */
.site-header{height:98px;background:#fffefa;border-bottom:1px solid #eee8dd;position:relative;z-index:30}
.nav-wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand img{width:245px;height:auto}
.mainnav{display:flex;align-items:center;gap:30px;font-weight:800}
.mainnav a[aria-current="page"]{color:#9c6a00}
.menu-btn{display:none;background:var(--navy);color:#fff;border:0;border-radius:12px;padding:10px 14px}

/* Home hero */
.home-hero{position:relative;min-height:675px;background:var(--navy);overflow:hidden;isolation:isolate;color:#fff}
.home-hero-media{position:absolute;inset:0;z-index:-3}
.home-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.home-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#071a2a 0%,#071a2a 35%,rgba(7,26,42,.98) 42%,rgba(7,26,42,.72) 51%,rgba(7,26,42,.18) 64%,rgba(7,26,42,0) 78%)}
.home-hero-inner{min-height:675px;display:flex;align-items:center}
.home-hero-copy{width:min(680px,47vw);padding:55px 0}
.home-hero-copy .eyebrow{color:var(--gold);font-size:15px}
.home-hero h1{font-size:clamp(62px,5.6vw,92px);line-height:.92;text-transform:uppercase;color:#fff;margin:12px 0 28px}
.home-hero h1 span{display:block;color:#e09b00}
.home-hero-copy>p{font-size:20px;line-height:1.58;color:rgba(255,255,255,.96);max-width:640px}
.cta-row{display:flex;gap:16px;flex-wrap:wrap;margin:28px 0 25px}
.hero-values{display:flex;gap:30px;flex-wrap:wrap;font-weight:800;margin-top:22px}
.hero-values span{white-space:nowrap}
.hero-location{margin-top:18px;font-size:17px;color:#fff}

/* Home tips */
.home-tip-access{padding:28px 0 34px;background:#fffefa}
.home-tip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.home-tip-card{min-width:0;display:grid;grid-template-columns:34% 66%;min-height:215px;border:1px solid var(--line);background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 8px 28px rgba(7,26,42,.035);transition:.16s ease}
.home-tip-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.home-tip-card img{width:100%;height:100%;object-fit:cover;object-position:center}
.home-tip-copy{padding:24px 27px;display:flex;flex-direction:column;justify-content:center}
.home-tip-copy>span{color:#a86f00;font-weight:900;letter-spacing:.05em;font-size:14px}
.home-tip-copy h2{font-size:31px;margin:8px 0 10px;line-height:1.06}
.home-tip-copy p{font-size:17px;color:var(--muted);margin:0}

/* Sections */
.section{padding:74px 0;background:var(--cream)}
.section-alt{background:#f6f1e8}
.section-dark{background:var(--navy);color:#fff}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:30px}
.section-head h2{margin-bottom:8px}
.section-head p{margin:0;color:var(--muted);font-size:18px}
.section-head>a{font-weight:900;white-space:nowrap}

/* Service cards */
.service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.service-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 8px 25px rgba(7,26,42,.035)}
.card-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#eee}
.card-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.service-body{padding:19px 19px 22px}
.service-body h3,.service-body h2{font-size:23px;line-height:1.08;margin:8px 0 10px}
.service-body p{color:var(--muted);margin:0}

/* Offers */
.offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.offer-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 8px 28px rgba(7,26,42,.04)}
.offer-card .card-media{aspect-ratio:16/8.2}
.offer-body{padding:24px 26px 28px}
.offer-body h3,.offer-body h2{font-size:29px;margin:8px 0 8px;line-height:1.05}
.offer-body p{color:var(--muted)}
.price{font-size:38px;font-weight:950;color:var(--navy);line-height:1;margin:12px 0}
.price.big{font-size:54px}
.fine{font-size:13px;color:var(--muted);margin-top:18px}

/* Work */
.split-feature{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:center}
.split-feature p{font-size:18px;color:var(--muted);max-width:680px}
.work-preview{display:block;border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.work-preview img{width:100%;aspect-ratio:16/8.5;object-fit:cover}
.final-cta{display:flex;align-items:center;justify-content:space-between;gap:40px}
.final-cta h2{color:#fff;margin:6px 0 12px}
.final-cta p{color:rgba(255,255,255,.8);max-width:770px;margin-bottom:0}

/* Generic pages */
.page-hero{padding:84px 0 70px;background:#f7f2e9}
.page-hero h1{font-size:clamp(50px,6vw,82px);line-height:.95;margin:8px 0 20px}
.page-hero p{font-size:20px;color:var(--muted);max-width:900px}
.detail-hero{padding:70px 0;background:#f7f2e9}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.detail-grid h1{font-size:clamp(46px,5vw,72px);line-height:.98;margin:7px 0 20px}
.detail-grid>div>p{font-size:19px;color:var(--muted)}
.detail-grid>img,.poster-link{border-radius:24px;overflow:hidden;max-height:720px}
.detail-grid>img,.poster-link img{width:100%;height:100%;object-fit:cover}
.poster-link img{max-height:720px;object-fit:contain;background:#fff}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.info-grid p{font-size:18px;color:var(--muted)}
.info-list{display:grid;gap:12px}
.info-list div{padding:18px 20px;border-radius:16px;background:#fff;border:1px solid var(--line);font-weight:800}
.steps{padding-left:24px}
.steps li{margin-bottom:12px}
.tips-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.video-frame{aspect-ratio:16/9;border-radius:24px;overflow:hidden}
.video-frame iframe{width:100%;height:100%;border:0}
.empty-state{padding:40px;border:1px solid var(--line);border-radius:24px;background:#fff}

/* Footer */
.site-footer{background:#061927;color:#fff;padding:34px 0 20px}
.footer-top{display:grid;grid-template-columns:1.1fr 1.5fr 1.1fr 1.2fr;gap:34px;align-items:center}
.footer-brand img{width:190px;filter:brightness(0) invert(1)}
.footer-brand p{margin:8px 0 0;color:rgba(255,255,255,.7)}
.footer-claim{display:grid;gap:5px}
.footer-claim span{color:rgba(255,255,255,.72)}
.footer-wa{background:var(--gold);color:var(--navy);padding:13px 18px;border-radius:16px;display:grid}
.footer-wa span{font-size:13px;font-weight:800}
.footer-wa strong{font-size:27px}
.footer-contact{display:grid;gap:4px;color:rgba(255,255,255,.84)}
.legal{margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:13px;color:rgba(255,255,255,.58)}
.legal a{color:inherit}

/* Cookies */
.cookie-banner{position:fixed;z-index:100;left:20px;right:20px;bottom:20px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 20px;box-shadow:0 18px 60px rgba(7,26,42,.2);display:flex;justify-content:space-between;gap:25px;align-items:center}
.cookie-banner[hidden]{display:none}
.cookie-banner p{margin:4px 0 0;color:var(--muted)}
.cookie-actions{display:flex;gap:10px}
.cookie-actions .btn-ghost{color:var(--ink);background:#fff}

/* Responsive */
@media(max-width:1300px){
  .service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home-hero-copy{width:52vw}
  .home-hero-shade{background:linear-gradient(90deg,#071a2a 0%,#071a2a 39%,rgba(7,26,42,.95) 48%,rgba(7,26,42,.45) 61%,rgba(7,26,42,0) 80%)}
}
@media(max-width:1000px){
  .wrap{width:min(100% - 40px,1540px)}
  .site-header{height:84px}
  .brand img{width:205px}
  .menu-btn{display:block}
  .mainnav{display:none;position:absolute;top:74px;left:20px;right:20px;background:#fff;padding:18px;border-radius:18px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:8px}
  .mainnav.open{display:flex}
  .mainnav>a{padding:10px 12px}
  .mainnav .btn{margin-top:5px}
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .detail-grid,.split-feature,.info-grid{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .wrap{width:calc(100% - 28px)}
  .home-hero{min-height:820px}
  .home-hero-media{inset:auto 0 0;height:46%}
  .home-hero-media img{object-position:center top}
  .home-hero-shade{background:linear-gradient(180deg,#071a2a 0%,#071a2a 49%,rgba(7,26,42,.96) 59%,rgba(7,26,42,.55) 75%,rgba(7,26,42,.05) 100%)}
  .home-hero-inner{min-height:820px;align-items:flex-start}
  .home-hero-copy{width:100%;padding:38px 0 370px}
  .home-hero h1{font-size:clamp(48px,15vw,68px)}
  .home-hero-copy>p{font-size:17px}
  .hero-values{gap:12px 20px;font-size:14px}
  .hero-location{font-size:14px}
  .home-tip-grid,.tips-page-grid,.offer-grid{grid-template-columns:1fr}
  .home-tip-card{display:block}
  .home-tip-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
  .home-tip-copy h2{font-size:27px}
  .service-grid{grid-template-columns:1fr}
  .section{padding:54px 0}
  .section-head{align-items:flex-start;flex-direction:column}
  .final-cta{align-items:flex-start;flex-direction:column}
  .footer-top{grid-template-columns:1fr}
  .cookie-banner{flex-direction:column;align-items:stretch}
  .cookie-actions{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:500px){
  .brand img{width:185px}
  .cta-row{display:grid;grid-template-columns:1fr}
  .cta-row .btn{width:100%}
  .home-hero-copy{padding-bottom:330px}
  .cookie-actions{grid-template-columns:1fr}
}


/* ==============================================================
   V3.1 — AJUSTE A PARTIR DE CAPTURAS REALES DESKTOP + MÓVIL
   Mantiene arquitectura y contenido. Corrige solo presentación.
   ============================================================== */

/* ---------- PORTADA: UN SOLO HERO ---------- */

/* El picture ya no gobierna la maquetación; usamos sus dos imágenes
   como fondos CSS según ancho. */
.home-hero{
  background:
    linear-gradient(
      90deg,
      #071a2a 0%,
      #071a2a 32%,
      rgba(7,26,42,.98) 40%,
      rgba(7,26,42,.80) 49%,
      rgba(7,26,42,.34) 60%,
      rgba(7,26,42,.04) 76%
    ),
    url("/assets/img/media/hero-socios-background.webp") center center / cover no-repeat;
}

.home-hero-media,
.home-hero-shade{
  display:none !important;
}

.home-hero-inner{
  position:relative;
  z-index:2;
}

.home-hero-copy{
  color:#fff;
}

.home-hero-copy h1,
.home-hero-copy p,
.home-hero-copy .hero-location,
.home-hero-copy .hero-values{
  color:#fff;
}

/* ---------- TIPS PORTADA ---------- */
.home-tip-card img{
  object-fit:cover;
}
.home-tip-card{
  align-items:stretch;
}

/* ---------- SERVICIOS ---------- */
.service-card .card-media{
  aspect-ratio:16/9;
}
.service-card .card-media img{
  object-fit:cover;
}

@media (min-width:1001px){
  /* 4 tarjetas por fila: más equilibrado que 5 en pantallas normales */
  .service-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
  }

  /* En la portada, las tarjetas no se hacen excesivamente altas */
  .service-card .card-media{
    max-height:230px;
  }

  .offer-card .card-media{
    aspect-ratio:16/8.8;
    max-height:300px;
  }

  .works-grid{
    display:grid;
    grid-template-columns:minmax(0,760px);
    justify-content:center;
  }

  .works-grid .service-card{
    width:100%;
  }

  .works-grid .card-media{
    aspect-ratio:16/9;
    max-height:none;
  }

  /* Fichas: que las infografías no ocupen toda la pantalla */
  .detail-grid{
    grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);
  }

  .poster-link{
    max-width:850px;
    justify-self:center;
  }

  .poster-link img{
    max-height:640px;
    object-fit:contain;
  }

  .detail-grid > img{
    max-height:620px;
    object-fit:contain;
    background:#fff;
  }

  .work-preview{
    max-width:780px;
    justify-self:end;
  }
}

/* ---------- PÁGINAS INTERNAS ---------- */
.works-grid{
  gap:24px;
}

.page-hero{
  padding:64px 0 50px;
}

.page-hero h1{
  margin-bottom:16px;
}

/* ---------- FOOTER LIMPIO ---------- */
.footer-top-clean{
  grid-template-columns:1.25fr .95fr 1fr .85fr;
  align-items:start;
  gap:46px;
}

.footer-block{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  min-width:0;
}

.footer-block h3{
  margin:0 0 7px;
  color:var(--gold);
  font-size:18px;
}

.footer-block a,
.footer-block span,
.footer-block p{
  display:block;
  margin:0;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.footer-logo-badge{
  background:#fff;
  border-radius:16px;
  padding:9px 13px;
  display:inline-block;
}

.footer-logo-badge img{
  width:190px;
  filter:none !important;
}

.footer-phone{
  font-size:24px;
  font-weight:900;
}

/* ---------- TABLET ---------- */
@media (min-width:761px) and (max-width:1000px){
  .service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .offer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .footer-top-clean{
    grid-template-columns:1fr 1fr;
  }
}

/* ---------- MÓVIL ---------- */
@media (max-width:760px){

  .site-header{
    height:108px;
  }

  .brand img{
    width:178px;
  }

  .menu-btn{
    background:#fff;
    color:var(--ink);
    border:1px solid var(--line);
    border-radius:18px;
    padding:13px 17px;
    font-weight:900;
  }

  /* Un solo hero: foto + texto pertenecen al mismo bloque azul.
     No vuelve a aparecer el fondo crema entre ambos. */
  .home-hero{
    min-height:0;
    padding-top:330px;
    background:
      linear-gradient(
        180deg,
        rgba(7,26,42,.02) 0%,
        rgba(7,26,42,.10) 34%,
        rgba(7,26,42,.72) 48%,
        #071a2a 59%,
        #071a2a 100%
      ),
      url("/assets/img/media/hero-socios-mobile.webp") center top / 100% auto no-repeat,
      #071a2a;
  }

  .home-hero-inner{
    min-height:0;
    display:block;
  }

  .home-hero-copy{
    width:100%;
    padding:28px 0 38px;
  }

  .home-hero h1{
    font-size:clamp(43px,12.5vw,61px);
    line-height:.96;
    margin:10px 0 22px;
  }

  .home-hero-copy > p{
    font-size:17px;
    line-height:1.52;
  }

  .home-hero-copy .eyebrow{
    font-size:13px;
  }

  .hero-values{
    gap:10px 14px;
    font-size:14px;
  }

  .hero-location{
    margin-top:13px;
    font-size:14px;
  }

  /* Tips: conservar el formato que visualmente funciona */
  .home-tip-access{
    padding:22px 0 26px;
  }

  .home-tip-grid,
  .tips-page-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .home-tip-card{
    display:block;
    min-height:0;
    border-radius:20px;
  }

  .home-tip-card img{
    width:100%;
    height:auto;
    aspect-ratio:16/9;
    object-fit:cover;
  }

  .home-tip-copy{
    padding:16px 18px 19px;
  }

  .home-tip-copy h2{
    font-size:25px;
    margin:6px 0 7px;
  }

  .home-tip-copy p{
    font-size:15px;
  }

  /* Secciones más compactas: elimina vacíos excesivos */
  .section{
    padding:40px 0;
  }

  .section-head{
    margin-bottom:18px;
    gap:10px;
  }

  .section-head h2{
    font-size:35px;
  }

  .section-head p{
    font-size:16px;
  }

  .page-hero{
    padding:42px 0 32px;
  }

  .page-hero h1{
    font-size:42px;
    line-height:1;
  }

  .page-hero p{
    font-size:17px;
  }

  /* Servicios: miniatura 16:9 pero tarjeta compacta */
  .service-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .service-card{
    border-radius:20px;
  }

  .service-card .card-media{
    aspect-ratio:16/9;
  }

  .service-body{
    padding:16px 18px 19px;
  }

  .service-body h3,
  .service-body h2{
    font-size:25px;
    margin:7px 0 7px;
  }

  .service-body p{
    font-size:16px;
    line-height:1.45;
  }

  /* Ofertas: imagen controlada y texto compacto */
  .offer-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .offer-card .card-media{
    aspect-ratio:16/9;
    max-height:none;
  }

  .offer-body{
    padding:17px 18px 20px;
  }

  .offer-body h3,
  .offer-body h2{
    font-size:26px;
  }

  .price{
    font-size:34px;
  }

  /* Trabajo real: evitar enormes vacíos e imágenes gigantes */
  .split-feature{
    gap:22px;
  }

  .split-feature p{
    font-size:16px;
  }

  .work-preview{
    width:100%;
    border-radius:20px;
  }

  .work-preview img{
    aspect-ratio:16/9;
  }

  .works-grid{
    display:grid;
    grid-template-columns:1fr;
  }

  /* Fichas */
  .detail-hero{
    padding:40px 0;
  }

  .detail-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .detail-grid h1{
    font-size:40px;
  }

  .detail-grid > div > p{
    font-size:17px;
  }

  .poster-link,
  .detail-grid > img{
    width:100%;
    max-height:none;
  }

  .poster-link img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
  }

  /* Footer sin concatenaciones */
  .site-footer{
    padding:34px 0 20px;
  }

  .footer-top-clean{
    grid-template-columns:1fr;
    gap:30px;
  }

  .footer-logo-badge img{
    width:180px;
  }

  .footer-block{
    gap:8px;
  }

  .footer-block h3{
    font-size:20px;
  }

  .footer-block a,
  .footer-block span,
  .footer-block p{
    font-size:17px;
  }

  .footer-phone{
    font-size:26px !important;
  }

  .legal{
    margin-top:28px;
  }
}

@media (max-width:420px){
  .home-hero{
    padding-top:300px;
  }

  .home-hero h1{
    font-size:42px;
  }

  .brand img{
    width:168px;
  }
}


/* =============================================================
   LISTO CALISTO V3.3 — OBJETIVO VISUAL APROBADO
   Desktop: replica la composición indicada por el usuario.
   Mobile: adaptación del mismo hero; minis móviles intactas.
   ============================================================= */

/* -------- HERO DESKTOP -------- */
.home-hero-v33{
  position:relative;
  isolation:isolate;
  min-height:670px;
  padding:0;
  overflow:hidden;
  background:
    url("/assets/img/media/hero-socios-desktop-clean.jpg")
    center center / cover no-repeat;
}

.home-hero-v33::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(
      90deg,
      rgba(7,26,42,1) 0%,
      rgba(7,26,42,.995) 33%,
      rgba(7,26,42,.90) 43%,
      rgba(7,26,42,.58) 51%,
      rgba(7,26,42,.16) 61%,
      rgba(7,26,42,0) 72%
    );
  pointer-events:none;
}

.home-hero-v33 .home-hero-inner{
  min-height:670px;
  display:flex;
  align-items:center;
  position:relative;
  z-index:2;
}

.home-hero-v33 .home-hero-copy{
  width:min(660px,43vw);
  padding:56px 0 48px;
  color:#fff;
}

.home-hero-v33 .eyebrow{
  color:var(--gold);
  font-size:15px;
  letter-spacing:.13em;
}

.home-hero-v33 h1{
  margin:14px 0 24px;
  color:#fff;
  font-size:clamp(58px,5.25vw,86px);
  line-height:.94;
  letter-spacing:-.035em;
}

.home-hero-v33 h1 span{
  display:block;
  color:#e09a00;
}

.home-hero-v33 .home-hero-copy > p{
  max-width:610px;
  color:rgba(255,255,255,.96);
  font-size:18px;
  line-height:1.55;
}

.home-hero-v33 .cta-row{
  margin:26px 0 24px;
}

.home-hero-v33 .btn{
  min-height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.home-hero-v33 .btn-ghost{
  color:#fff;
  border:2px solid rgba(255,255,255,.92);
  background:rgba(7,26,42,.14);
}

.home-hero-v33 .hero-values{
  display:flex;
  flex-wrap:wrap;
  gap:18px 26px;
  margin:0 0 15px;
  color:#fff;
  font-weight:700;
}

.home-hero-v33 .hero-location{
  color:#fff;
  font-size:16px;
}

/* -------- ACCESOS A TIPS EN DESKTOP -------- */
@media (min-width:1001px){
  .home-tip-access{
    padding:28px 0 32px !important;
  }

  .home-tip-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:24px !important;
  }

  .home-tip-card{
    display:grid !important;
    grid-template-columns:35% 65% !important;
    min-height:215px !important;
    height:215px !important;
    max-height:215px !important;
    overflow:hidden !important;
    border-radius:24px !important;
  }

  .home-tip-card img{
    width:100% !important;
    height:215px !important;
    min-height:215px !important;
    max-height:215px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
  }

  .home-tip-copy{
    min-width:0;
    padding:20px 23px !important;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }

  .home-tip-copy > span{
    font-size:13px !important;
  }

  .home-tip-copy h2{
    margin:6px 0 8px !important;
    font-size:28px !important;
    line-height:1.06 !important;
  }

  .home-tip-copy p{
    font-size:16px !important;
    line-height:1.38 !important;
  }

  /* Servicios: 3 minis por fila, nunca una a ancho completo */
  .service-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px !important;
  }

  .service-grid .service-card{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
  }

  .service-grid .card-media{
    width:100% !important;
    aspect-ratio:16/9 !important;
    height:auto !important;
    max-height:235px !important;
    overflow:hidden !important;
  }

  .service-grid .card-media img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  /* Ofertas: 2 por fila */
  .offer-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:24px !important;
  }

  .offer-card .card-media{
    aspect-ratio:16/9 !important;
    max-height:310px !important;
  }

  .offer-card .card-media img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  /* Trabajos: una ficha de ancho controlado */
  .works-grid{
    display:grid !important;
    grid-template-columns:minmax(0,760px) !important;
    justify-content:center !important;
  }

  .works-grid .service-card{
    width:100% !important;
  }

  .works-grid .card-media{
    aspect-ratio:16/9 !important;
    max-height:430px !important;
  }
}

/* -------- TABLET -------- */
@media (min-width:761px) and (max-width:1000px){
  .service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .home-tip-grid,
  .offer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* -------- MÓVIL: ADAPTACIÓN DEL MISMO DISEÑO -------- */
@media (max-width:760px){
  .home-hero-v33{
    min-height:760px;
    padding:0;
    background:
      url("/assets/img/media/hero-socios-mobile-clean.jpg")
      center top / 100% auto no-repeat,
      #071a2a;
  }

  .home-hero-v33::after{
    background:
      linear-gradient(
        180deg,
        rgba(7,26,42,0) 0%,
        rgba(7,26,42,.04) 31%,
        rgba(7,26,42,.64) 47%,
        rgba(7,26,42,.94) 57%,
        #071a2a 66%,
        #071a2a 100%
      );
  }

  .home-hero-v33 .home-hero-inner{
    min-height:760px;
    align-items:flex-end;
  }

  .home-hero-v33 .home-hero-copy{
    width:100%;
    padding:300px 0 32px;
  }

  .home-hero-v33 h1{
    font-size:clamp(42px,12vw,58px);
    line-height:.94;
    margin:10px 0 18px;
  }

  .home-hero-v33 .home-hero-copy > p{
    font-size:17px;
    line-height:1.48;
  }

  /* NO alterar las miniaturas móviles que el usuario ya aprobó */
  .home-tip-grid,
  .service-grid,
  .offer-grid{
    grid-template-columns:1fr !important;
  }

  .home-tip-card{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .home-tip-card img{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:16/9 !important;
    object-fit:cover !important;
  }
}

@media (max-width:420px){
  .home-hero-v33{
    min-height:730px;
  }

  .home-hero-v33 .home-hero-copy{
    padding-top:285px;
  }
}
