/* Page-specific styles: mejores-estudios-tatuajes-alicante */

:root{
  --red:#CC0014;
  --red-bright:#ff1744;
  --ink:#1c1c1e;
  --ink-soft:#515154;
  --ink-mute:#86868b;
  --line:rgba(0,0,0,0.08);
  --surface:#eef0f2;
  --gold:#e8b923;
}
.entry-content .page, .entry-content .page *, .entry-content .page-header, .entry-content .page-header *{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
.entry-content .page{
  max-width:1200px;margin:0 auto;padding:40px 20px 80px;
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',Roboto,sans-serif;
  background:#ffffff;
  color:var(--ink);
}

/* ---------- HEADER ---------- */
.page-header{
  width:100%;
  background:#ffffff;
  padding:44px 20px 36px;
  border-bottom:1px solid var(--line);
  font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',Roboto,sans-serif;
  color:var(--ink);
}
.header-inner{max-width:760px;margin:0 auto;text-align:center;}
.eyebrow{
  color:var(--red)!important;font-weight:700!important;font-size:13px!important;
  letter-spacing:0.08em;text-transform:uppercase;margin:0 0 8px;line-height:1.3;
}
.page-header h1{font-size:32px!important;font-weight:800!important;letter-spacing:-0.02em;line-height:1.15!important;margin:0 0 10px!important;}
.subhead{color:var(--ink-soft)!important;font-size:16px!important;line-height:1.5!important;margin:0 0 22px;}
.page-header h2{color:var(--red)!important;font-size:22px!important;font-weight:800!important;line-height:1.25!important;margin:0 0 10px!important;}
.intro-copy{color:var(--ink-soft)!important;font-size:15px!important;line-height:1.6!important;margin:0;}
.mobile-top5{display:none;}

.jump-nav{
  display:flex;gap:8px;flex-wrap:wrap;justify-content:center;
  overflow-x:auto;margin-top:24px;padding:4px 2px 4px;
  scrollbar-width:none;
}
.jump-nav::-webkit-scrollbar{display:none;}
.jump-pill{
  flex:0 0 auto;display:flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:20px;border:1px solid var(--line);
  background:#eef0f2!important;color:var(--ink)!important;font-size:0.85rem;font-weight:600;
  cursor:pointer;white-space:nowrap;transition:all .2s ease;
}
.jump-pill:hover,
.jump-pill:focus{border-color:var(--red)!important;color:var(--red)!important;background:#eef0f2!important;}
.jump-rank{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:50%;
  background:var(--red);color:#fff;font-size:0.68rem;font-weight:800;
}

/* ---------- RATING ---------- */
.rating-line{display:flex;align-items:center;gap:6px;white-space:nowrap;}
.rating-line .stars{color:var(--gold);font-size:1.05rem;letter-spacing:1px;}
.rating-line .score{font-size:0.85rem;font-weight:700;color:var(--ink-soft);}

/* ---------- HERO #1 ---------- */
.hero-pick{
  display:grid;grid-template-columns:1.1fr 1fr;gap:0;
  background:var(--surface);border:1px solid var(--line);border-radius:24px;
  overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,0.12);margin-bottom:48px;
  scroll-margin-top:220px;
  width:100%;max-width:100%;
}
.hero-media{position:relative;aspect-ratio:16/11;min-width:0;}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block;}
.hero-body{padding:36px 36px 32px;display:flex;flex-direction:column;gap:16px;min-width:0;}
.hero-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;}
.hero-badge{
  background:linear-gradient(135deg,var(--red),var(--red-bright));
  color:#fff;font-weight:800;font-size:0.78rem;letter-spacing:0.03em;
  padding:7px 16px;border-radius:20px;
  box-shadow:0 4px 14px rgba(204,0,20,0.35);
}
.hero-logo-name{display:flex;align-items:center;gap:14px;min-width:0;}
.hero-logo{
  width:56px;height:56px;border-radius:50%;object-fit:cover;
  background:#fff;padding:4px;box-shadow:0 4px 16px rgba(0,0,0,0.12);
}
.hero-body h3{font-size:1.7rem;font-weight:800;letter-spacing:-0.02em;margin:0;overflow-wrap:break-word;}
.hero-body .location{color:var(--ink-soft);font-size:0.92rem;margin-top:2px;}
.hero-body .teaser{color:var(--ink-soft);line-height:1.55;font-size:0.98rem;margin:0;}

/* ---------- STYLE TAGS ---------- */
.styles-heading{
  color:var(--ink-mute);font-size:0.82rem;font-weight:700;
  text-transform:uppercase;letter-spacing:0.04em;margin:0 0 -6px;
}
.style-tags{display:flex;flex-wrap:wrap;gap:6px;}
.style-tag{
  background:rgba(204,0,20,0.08);color:var(--red);
  padding:5px 12px;border-radius:15px;font-size:0.78rem;font-weight:600;
  border:1px solid rgba(204,0,20,0.15);
}

/* ---------- DETAILS / WHY ---------- */
.why-details{border-top:1px solid var(--line);padding-top:12px;}
.why-details summary{
  cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;
}
.why-details summary::-webkit-details-marker{display:none;}
.why-details summary h4{
  font-weight:700;font-size:0.9rem;color:var(--ink);margin:0;
}
.why-details summary::before{
  content:'+';display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:50%;background:rgba(204,0,20,0.1);
  color:var(--red);font-weight:800;font-size:0.9rem;flex:0 0 auto;
  transition:transform .2s ease;
}
.why-details[open] summary::before{transform:rotate(45deg);}
.features-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;}
.features-list li{
  color:var(--ink-soft);font-size:0.88rem;line-height:1.45;
  padding-left:14px;position:relative;
}
.features-list li::before{content:'•';color:var(--red);font-weight:800;position:absolute;left:0;}
.features-list strong{color:var(--red);}

/* ---------- ACTIONS ---------- */
.action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px;}
.btn{
  flex:1;min-width:120px;text-align:center;padding:11px 18px;border-radius:24px;
  font-weight:700;font-size:0.86rem;text-decoration:none!important;cursor:pointer;
  transition:all .2s ease;border:2px solid transparent;
  display:inline-block;
}
.btn-primary,
.btn-primary:link,
.btn-primary:visited{background:linear-gradient(135deg,var(--red),var(--red-bright))!important;color:#fff!important;border-color:transparent!important;}
.btn-primary:hover,
.btn-primary:focus{background:linear-gradient(135deg,var(--red),var(--red-bright))!important;color:#fff!important;filter:brightness(0.92);transform:translateY(-1px);}

.btn-outline,
.btn-outline:link,
.btn-outline:visited{border-color:var(--red)!important;color:var(--red)!important;background:transparent!important;}
.btn-outline:hover,
.btn-outline:focus{background:var(--red)!important;color:#fff!important;border-color:var(--red)!important;}

.btn-ghost,
.btn-ghost:link,
.btn-ghost:visited{color:var(--ink-soft)!important;border-color:var(--line)!important;background:#fff!important;}
.btn-ghost:hover,
.btn-ghost:focus{border-color:var(--ink-soft)!important;color:var(--ink-soft)!important;background:#fff!important;}

/* ---------- GRID (resto) ---------- */
.studios-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
  gap:28px;
}
.studio-card{
  background:var(--surface);border:1px solid var(--line);border-radius:20px;
  overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,0.08);
  transition:transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  display:flex;flex-direction:column;
  scroll-margin-top:220px;
}
.studio-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,0.12);}
.studio-card.is-hidden{display:none;}

.card-image{position:relative;height:180px;}
.card-image img{width:100%;height:100%;object-fit:cover;display:block;}
.rank-badge{
  position:absolute;top:14px;right:14px;
  background:rgba(0,0,0,0.55);backdrop-filter:blur(6px);color:#fff;
  padding:5px 12px;border-radius:14px;font-weight:800;font-size:0.85rem;
}
.card-content{padding:22px 22px 24px;display:flex;flex-direction:column;gap:14px;flex:1;}
.logo-name-row{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;}
.logo-name-row > div:first-of-type{flex:1;}
.studio-logo{
  width:42px;height:42px;border-radius:50%;object-fit:cover;
  background:#fff;padding:3px;box-shadow:0 3px 12px rgba(0,0,0,0.12);flex:0 0 auto;
}
.studio-name{font-size:1.2rem;font-weight:800;letter-spacing:-0.01em;margin:0;}
.studio-location{color:var(--ink-mute);font-size:0.82rem;margin:2px 0 0;}
.studio-teaser{color:var(--ink-soft);font-size:0.88rem;line-height:1.5;margin:0;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:860px){
  .hero-pick{grid-template-columns:1fr;}
  .hero-media{aspect-ratio:16/9;}
}

@media (max-width:600px){
  .entry-content .page-header, .entry-content .page{
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }

  .entry-content .page{padding:6px 16px 40px!important;}

  .page-header{padding:14px 16px 14px!important;}
  .eyebrow{font-size:11px!important;margin-bottom:5px;}
  .page-header h1{font-size:24px!important;line-height:1.2!important;margin-bottom:5px!important;}
  .page-header h2{font-size:17px!important;margin:0 0 5px!important;}
  .subhead{font-size:14px!important;line-height:1.45!important;margin-bottom:12px;}
  .page-header h2{display:none!important;}
  .intro-copy{display:none!important;}
  .mobile-top5{
    display:block!important;
    color:var(--red)!important;font-weight:800!important;
    font-size:17px!important;letter-spacing:-0.01em;
    margin:0 0 4px!important;
  }

  .jump-nav{
    justify-content:flex-start;flex-wrap:nowrap;
    margin:10px -16px 0!important;padding:4px 16px 6px;
    scroll-snap-type:x proximity;
  }
  .jump-pill{padding:8px 13px;font-size:0.8rem;scroll-snap-align:start;}

  .hero-pick{border-radius:18px;margin-top:16px;margin-bottom:28px;}
  .hero-body{padding:20px 16px;gap:12px;}
  .hero-body h3{font-size:1.3rem;}
  .hero-badge{font-size:0.72rem;padding:6px 13px;}

  .studios-grid{grid-template-columns:1fr;gap:18px;}
  .card-image{height:160px;}
  .card-content{padding:16px 16px 18px;gap:10px;}
  .studio-name{font-size:1.1rem;}

  .style-tag{font-size:0.75rem;padding:5px 11px;}
  .features-list li{font-size:0.86rem;}

  .action-row{gap:8px;}
  .action-row .btn{min-width:100%;padding:12px 18px;}
}

@media (max-width:380px){
  .page-header h1{font-size:1.4rem;}
  .hero-body h3{font-size:1.2rem;}
  .hero-logo, .studio-logo{width:38px;height:38px;}
}



  /* === AlicantinoFino | Bloque descuento + form (SCOPED) === */
  .af-descuento{
    max-width: 980px;
    margin: 28px auto;
    padding: 0 16px;
  }

  .af-descuento__box{
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 22px 18px;
    background: #fff;
    box-sizing: border-box;
  }

  .af-descuento__pill{
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(196,0,0,0.08);
    color: #c40000;
    font-weight: 900;
    font-size: 13px;
    margin: 0 0 12px 0;
  }

  .af-descuento__title{
    margin: 0;
    text-align: center;
    font-weight: 1000;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-size: clamp(28px, 3vw, 44px);
  }

  .af-descuento__title .af-red{
    color: #c40000;
  }

  .af-descuento__subtitle{
    margin: 10px 0 0 0;
    text-align: center;
    color: rgba(0,0,0,0.65);
    font-size: 14px;
    line-height: 1.45;
  }

  /* Form wrapper */
  .af-descuento__form{
    max-width: 520px;
    margin: 18px auto 0 auto;
  }

  /* Intentamos “normalizar” el form de Brevo sin romper nada */
  .af-descuento__form [form]{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    max-width: 100% !important;
  }

