/* ==========================================================================
   DTI Barcelona · Servicios (servicios.php)
   Estructura del master Innuro (hero + índice + impresión por técnica + corte
   + asesoramiento + 3 pasos + preguntas + tira de servicios) con el diseño
   de DTI Barcelona: negro, crema y amarillo.
   Base y cabecera en header.css · Rótulos, FAQ y botones de línea en componentes.css
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */
.shero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(70% 90% at 85% 10%, #2a2210 0%, #151208 35%, var(--bg) 70%); }
.shero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.shero__title { font-size: clamp(52px, 7.2vw, 112px); }
.shero__title .y { display: block; }
.shero__lead { color: var(--muted); max-width: 580px; margin: 24px 0 30px; font-size: 18px; }
.shero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.shero__pic { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; }
.shero__chip { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: var(--yellow); color: var(--bg); font-size: 14px; font-weight: 700; }
.shero__chip b { font-size: 24px; font-weight: 400; white-space: nowrap; }

/* ==========================================================================
   ÍNDICE DE SERVICIOS
   ========================================================================== */
.idx { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.idx__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.idx a { display: flex; align-items: center; gap: 16px; padding: 22px 20px; color: var(--cream); border-left: 1px solid var(--line); transition: background .25s ease, color .25s ease; }
.idx a:first-child { border-left: 0; }
.idx a:hover { background: var(--bg); color: var(--cream); }
.idx .n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--bg); font-size: 22px; }
.idx b { display: block; font-size: 16px; }
.idx small { display: block; font-size: 13px; color: var(--muted-2); }
.idx svg { margin-left: auto; flex: none; width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.idx a:hover svg { transform: translateY(3px); }

/* ==========================================================================
   SECCIONES 01 · 02 · 03
   ========================================================================== */
.sv { padding: clamp(64px, 8vw, 112px) 0; scroll-margin-top: var(--header-h); }
.shead { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 28px; align-items: end; margin-bottom: 44px; isolation: isolate; }
.shead .big { grid-row: span 2; font-size: clamp(72px, 10vw, 150px); line-height: .8; color: var(--yellow); }
.light .shead .big { color: var(--gold); }
.shead h2 { font-size: clamp(38px, 5vw, 72px); }
.shead p { grid-column: 2; max-width: 640px; margin: 16px 0 0; color: var(--muted); }
.light .shead p { color: #3E3830; }
.hl { color: var(--gold-ink); }

/* 01 · Tarifas por técnica */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(60, 45, 20, .1); transition: transform .35s ease, box-shadow .35s ease; }
.tier:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(60, 45, 20, .18); }
.tier__im { position: relative; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.tier__im img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tier:hover .tier__im img { transform: scale(1.05); }
.tier__tag { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: var(--bg); color: var(--yellow); font-size: 18px; }
.tier__bd { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.tier .ideal { margin: 0; font-size: 15px; color: #3E3830; }
.tier .price { font-family: var(--display); font-size: 26px; text-transform: uppercase; color: var(--ink); }
.tier ul { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 6px; font-size: 14px; color: #4A433A; }
.tier li { display: flex; gap: 8px; align-items: center; }
.tier li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.tier .btn { margin-top: auto; justify-content: center; min-height: 44px; font-size: 14px; }
.tier--ask { background: var(--bg); }
.tier--ask .ideal, .tier--ask ul { color: var(--muted); }
.tier--ask .price { color: var(--yellow); }
.tier--ask .btn--line { border-color: var(--yellow); color: var(--yellow); }
.tier--ask .btn--line:hover { background: var(--yellow); color: var(--bg); }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.perk { padding: 20px 22px; border-radius: 16px; background: var(--sand-2); }
.perk b { display: block; margin-bottom: 4px; font-size: 16px; }
.perk span { font-size: 14px; color: #4A433A; }

/* 02 · Corte */
.sv2 { background: var(--bg); }
.cut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.cut__photo { aspect-ratio: 4 / 3; border-radius: 22px; }
.ask { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 194, 0, .35); color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ask svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cut__title { font-size: clamp(30px, 3.4vw, 46px); margin-top: 18px; }
.cut__lead { color: var(--muted); margin: 14px 0 24px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare > div { padding: 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); }
.compare .compare__yes { border-color: var(--yellow); }
.compare b { display: block; margin-bottom: 10px; font-size: 15px; }
.compare__yes b { color: var(--yellow); }
.compare svg { display: block; width: 100%; height: auto; margin-bottom: 12px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.for { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.for span { padding: 6px 14px; border-radius: 999px; background: var(--bg-3); color: var(--cream); font-size: 13px; font-weight: 700; }
.cut__btn { margin-top: 24px; }

/* 03 · Asesoramiento */
.adv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; isolation: isolate; }
.acard { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(60, 45, 20, .08); }
.acard h3 { font-size: clamp(28px, 2.8vw, 38px); }
.acard p { margin: 12px 0 16px; color: #3E3830; }
.acard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.acard li { display: flex; gap: 10px; align-items: baseline; }
.acard li::before { content: "✓"; flex: none; color: var(--gold); font-weight: 700; }

.checklist { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; margin-top: 16px; padding: clamp(24px, 3.4vw, 40px); border-radius: 20px; background: var(--bg); color: var(--cream); }
.checklist h3 { font-size: clamp(28px, 3vw, 42px); }
.checklist p { margin: 12px 0 0; color: var(--muted) !important; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.spec { padding: 16px 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); }
.spec b { display: block; font-size: 22px; font-weight: 400; color: var(--yellow); }
.spec span { font-size: 13px; color: var(--muted-2); }

.talk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 22px 26px; border-radius: 20px; border: 1.5px dashed #d8cbb4; }
.talk p { margin: 0; max-width: 560px; }
.talk b { display: block; font-size: 18px; color: var(--ink); }
.talk__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   CÓMO PEDIR: 3 PASOS
   ========================================================================== */
.steps { padding: clamp(64px, 8vw, 112px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.steps__title { font-size: clamp(36px, 4.6vw, 64px); max-width: 900px; margin-bottom: 40px; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.steps__list li { padding: 28px 24px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .3s ease, transform .3s ease; }
.steps__list li:hover { border-color: var(--yellow); transform: translateY(-6px); }
.steps__n { display: block; font-size: 56px; line-height: 1; color: var(--yellow); margin-bottom: 14px; }
.steps__list b { display: block; font-size: 18px; margin-bottom: 6px; }
.steps__list p { margin: 0; font-size: 15px; color: var(--muted); }

/* ==========================================================================
   TIRA DE SERVICIOS DE CONFIANZA (amarilla, antes del pie)
   ========================================================================== */
.service { background: var(--yellow); color: var(--bg); }
.service .wrap { display: grid; grid-template-columns: auto auto repeat(4, minmax(0, 1fr)); align-items: center; padding-block: 20px; }
.service .cell { display: flex; align-items: center; gap: 12px; padding: 6px 18px; border-left: 1.5px solid rgba(14, 14, 14, .22); min-width: 0; color: var(--bg); font: 700 14px/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.service .cell:first-child { border: 0; padding-left: 0; white-space: nowrap; font: 400 clamp(20px, 2vw, 26px)/1.05 var(--display); letter-spacing: .01em; }
.service a.cell { transition: opacity .2s ease; }
.service a.cell:hover { color: var(--bg); opacity: .7; }
.service .cell svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service .cell:first-child svg { width: 64px; height: 44px; }
.service .pill { background: var(--bg); border-radius: 999px; padding: 12px 24px; margin-inline: 18px; }
.service .pill img { display: block; width: 140px; height: auto; }

/* ==========================================================================
   MÓVIL
   ========================================================================== */
@media (max-width: 1180px) {
  .tiers, .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1260px) {
  .service .wrap { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .service .cell:first-child { grid-column: 1 / -1; }
  .service .pill { display: none; }
  .service .cell:nth-child(3), .service .cell:nth-child(5) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .shero__grid, .cut, .adv, .checklist { grid-template-columns: 1fr; }
  .shero__pic { max-width: 460px; }
  .idx__grid, .steps__list { grid-template-columns: 1fr; }
  .idx a { border-left: 0; border-top: 1px solid var(--line); }
  .idx a:first-child { border-top: 0; }
}
@media (max-width: 560px) {
  .tiers, .perks, .compare { grid-template-columns: 1fr; }
  .shead { grid-template-columns: 1fr; }
  .shead .big { grid-row: auto; margin-bottom: 8px; }
  .shead p { grid-column: 1; }
  .talk__actions .btn { width: 100%; justify-content: center; }
  .service .wrap { grid-template-columns: 1fr; }
  .service .cell { border-left: 0; padding: 6px 0; }
  .service .cell svg { width: 32px; height: 32px; }
}
