/* Agencia Tuna · páginas internas (Quiénes somos y Servicios)
   Se carga DESPUÉS de styles.css y reutiliza sus colores, fuentes, cabecera, aviso, botones y pie.
   Estas páginas son de flujo normal (no usan el lienzo de 1167 px del diseño de la home). */

.pg { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.band { padding: 56px 0; }
.band.blanco { background: #fff; } .band.gris { background: var(--g); } .band.verde { background: var(--v); }
.band.oscuro { background: var(--vd); color: #fff; }
.eyebrow { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--vd); font-weight: 700; margin-bottom: 10px; }
.band.verde .eyebrow { color: var(--vd); } .band.oscuro .eyebrow { color: var(--vc); }
.h1 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; }
.h2 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: clamp(24px, 3.6vw, 32px); line-height: 1.15; margin-bottom: 8px; }
.h3 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.25; }
.h1 .v, .h2 .v { color: var(--v); } .band.verde .h2 .v { color: #fff; }
.txt { font-size: 15px; line-height: 1.6; max-width: 62ch; }
.band.verde .sub, .band.verde .txt { color: #000; }
.sub { font-size: 16px; line-height: 1.55; color: #333; max-width: 60ch; margin-top: 10px; }
.band.oscuro .sub { color: #e6e6e6; }
.mt { margin-top: 28px; } .mt-s { margin-top: 14px; }

.pill-tag { display: inline-block; background: var(--g); border: 2px solid var(--ink); border-radius: 30px; padding: 4px 14px; font-size: 12px; font-weight: 700; font-family: "Montserrat", sans-serif; }
.band.gris .pill-tag { background: #fff; }

.tarjeta { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 20px; box-shadow: 8px 8px 0 var(--g); color: #000; }
.band.gris .tarjeta { box-shadow: 8px 8px 0 var(--v); }
.band.verde .tarjeta { box-shadow: 8px 8px 0 var(--g); }
.tarjeta p { font-size: 14px; line-height: 1.55; margin-top: 8px; }
.grid { display: grid; gap: 28px 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .band { padding: 40px 0; } }

.check { list-style: none; margin-top: 10px; }
.check li { position: relative; padding-left: 26px; margin-top: 8px; font-size: 14px; line-height: 1.5; }
.check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 12px; height: 12px; border-radius: 50%; background: var(--v); border: 2px solid var(--ink); }
.check.x li::before { background: #fff; }
.tit-mini { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--vd); font-weight: 700; margin-top: 16px; }

.cta { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 30px; border: 2px solid var(--ink); border-radius: 999px; background: var(--vc);
  font-size: 16px; font-weight: 700; font-family: "Montserrat", sans-serif; color: #000; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.cta.sec { background: var(--g); height: 36px; font-size: 13px; padding: 0 20px; }
@media (hover: hover) { .cta:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink); } }
.note { font-size: 12px; color: var(--gr); margin-top: 8px; }
.band.verde .note, .band.oscuro .note { color: #fff; opacity: .85; }

/* Quiénes somos */
.fundadora { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .fundadora { grid-template-columns: 1fr; } }
.retrato { position: relative; display: flex; align-items: center; justify-content: center; }
.retrato img { width: 100%; height: auto; }
.retrato .ini { position: absolute; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 72px; color: #fff; z-index: 0; }
.retrato img { position: relative; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 12px; background: #fff; }
.pasos5 { counter-reset: p; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 900px) { .pasos5 { grid-template-columns: 1fr; } }
.pasos5 > div { background: #fff; border: 2px solid var(--ink); border-radius: 40px 12px 12px 40px; padding: 14px 16px 14px 22px; }
.pasos5 > div::before { counter-increment: p; content: counter(p); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 34px; color: var(--v); line-height: 1; display: block; }
.pasos5 h3 { font-family: "Montserrat", sans-serif; font-size: 14px; margin-top: 4px; }
.pasos5 p { font-size: 12.5px; line-height: 1.4; margin-top: 4px; }

/* Servicios */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .area { grid-template-columns: 1fr; } }
.area .tarjeta h3 + p { margin-top: 6px; }
.anclas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.anclas a { border: 2px solid var(--ink); border-radius: 14px; padding: 5px 14px; font-size: 12px; background: var(--g);
  display: inline-block; transition: transform .2s ease, box-shadow .2s ease; }
.anclas a.v { background: var(--v); color: #000; }
@media (hover: hover) {
  .anclas a:hover { transform: translateY(-3px); box-shadow: 3px 3px 0 var(--ink); }
}

/* Cotizador */
.cz-banner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--vd); color: #fff; border-radius: 10px; padding: 18px 22px; border: 2px solid var(--ink); }
.cz-banner b { color: var(--vc); }
.cz-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; margin-top: 24px; }
@media (max-width: 960px) { .cz-wrap, .cz-wrap { grid-template-columns: minmax(0,1fr) !important; } }
.cz-cat { display: grid; gap: 22px; min-width: 0; grid-template-columns: minmax(0,1fr); }
.cz-wrap > * { min-width: 0; }
.cz-wrap { grid-template-columns: minmax(0,1fr) 340px; }
.cz-card { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 20px; box-shadow: 6px 6px 0 var(--g); }
.cz-card.on { box-shadow: 6px 6px 0 var(--v); }
.cz-card .tag { display: inline-block; background: var(--g); border: 1.5px solid var(--ink); border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
.cz-card h2 { font-family: "Montserrat", sans-serif; font-size: 19px; line-height: 1.2; margin-top: 8px; }
.cz-card .problem { font-size: 13.5px; line-height: 1.5; color: #444; margin-top: 6px; }
.cz-card .outcome { font-size: 14px; line-height: 1.5; margin-top: 12px; padding: 10px 12px; background: #f3fbf7; border-left: 4px solid var(--v); }
.cz-card .outcome small { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--vd); font-weight: 700; }
.cz-card .lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
@media (max-width: 640px) { .cz-card .lists { grid-template-columns: 1fr; } }
.cz-card .lists h3, .cz-card .addons h3 { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--vd); }
.cz-card .lists ul { list-style: none; margin-top: 6px; }
.cz-card .lists li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.45; margin-top: 5px; }
.cz-card .inc li::before { content: "✓"; position: absolute; left: 0; color: var(--vo); font-weight: 700; }
.cz-card .exc li::before { content: "–"; position: absolute; left: 3px; color: var(--gr); font-weight: 700; }
.tiers { display: grid; gap: 8px; margin-top: 16px; }
.tier, .addon { display: flex; align-items: center; gap: 12px; border: 2px solid var(--ink); border-radius: 10px; padding: 10px 12px; cursor: pointer; background: #fff; font-size: 14px; }
.tier:has(input:checked) { background: #e9f9f1; border-color: var(--vo); }
.tier .n, .addon small { display: block; font-size: 12px; color: var(--gr); font-weight: 400; }
.tier > span:nth-child(2), .addon > span:nth-child(2) { flex: 1; }
.price { text-align: right; font-weight: 700; white-space: nowrap; }
.price .was { display: block; font-size: 11px; color: var(--gr); text-decoration: line-through; font-weight: 400; }
.price .promo { color: var(--vo); }
.addons { margin-top: 14px; } .addons.locked { opacity: .45; }
.addon { margin-top: 6px; padding: 8px 12px; font-size: 13px; }
.clear { margin-top: 10px; background: none; border: 0; color: var(--gr); text-decoration: underline; font-size: 12px; cursor: pointer; font-family: inherit; }
.cz-sum { position: sticky; top: 16px; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 20px; box-shadow: 6px 6px 0 var(--v); }
@media (max-width: 960px) { .cz-sum { position: static; } }
.cz-sum h2 { font-family: "Montserrat", sans-serif; font-size: 18px; }
.lines { list-style: none; margin-top: 10px; }
.lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #ccc; }
.lines .sub { color: var(--gr); font-size: 11.5px; }
.empty { font-size: 13px; color: var(--gr); margin-top: 10px; }
.cz-sum .row { display: flex; justify-content: space-between; font-size: 13.5px; margin-top: 8px; }
.cz-sum .row.save { color: var(--vo); font-weight: 700; }
.cz-sum .row.total { font-size: 19px; font-weight: 700; font-family: "Montserrat", sans-serif; margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--ink); }
.codebox { display: flex; gap: 8px; margin-top: 16px; }
.codebox input { flex: 1; min-width: 0; border: 2px solid var(--ink); border-radius: 999px; padding: 0 14px; height: 38px; font: 700 13px "Poppins", sans-serif; text-transform: uppercase; }
.codebox button { height: 38px; border: 2px solid var(--ink); border-radius: 999px; background: var(--g); padding: 0 16px; font: 700 12px "Montserrat", sans-serif; cursor: pointer; }
.msg { font-size: 12px; margin-top: 8px; line-height: 1.4; } .msg.ok { color: var(--vo); font-weight: 700; } .msg.bad { color: #b3261e; } .msg.hint { color: var(--gr); }
.bonus { margin-top: 16px; font-size: 12.5px; }
.bonus h3 { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--vd); }
.bonus ul { list-style: none; } .bonus li { display: flex; gap: 8px; margin-top: 8px; line-height: 1.4; } .bonus li.got { color: var(--vo); }
.bonus b { display: block; } .bonus .val { color: var(--gr); } .bonus .note { margin-top: 8px; }
.cz-sum .actions { display: grid; gap: 8px; margin-top: 16px; }
.cz-sum .cta { width: 100%; }
.cz-sum .legal { font-size: 11px; color: var(--gr); margin-top: 10px; line-height: 1.4; }
.txt.ancho { max-width: none; font-size: 13px; line-height: 1.5; }
.cta.gris { background: var(--g); }

/* Servicios plegables */
.cz-card { padding: 0; }
.cz-toggle { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.cz-toggle .tt { flex: 1; min-width: 0; }
.cz-toggle .tag { display: inline-block; }
.cz-toggle .nm { display: block; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 19px; line-height: 1.2; margin-top: 8px; }
.cz-toggle .problem { display: block; font-size: 13.5px; line-height: 1.5; color: #444; margin-top: 6px; }
.cz-toggle .from { display: block; font-size: 13px; font-weight: 700; color: var(--vo); margin-top: 10px; }
.chev-i { flex: none; width: 12px; height: 12px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; margin-right: 6px; }
.cz-toggle[aria-expanded="true"] .chev-i { transform: rotate(-135deg); }
.cz-toggle:focus-visible { outline: 3px solid var(--v); outline-offset: -3px; border-radius: 10px; }
.cz-body { padding: 0 20px 20px; }
.cz-body[hidden] { display: none; }


/* texto del mismo ancho que el título */
.igual { display: table; max-width: 100%; }
.igual .sub { display: table-caption; caption-side: bottom; max-width: none; }

/* elementos flotantes (línea visual de la home) */
.con-deco { position: relative; overflow: hidden; }
.con-deco .pg { position: relative; }
.decos { position: absolute; top: 0; bottom: 0; right: max(20px, calc(50% - 500px)); width: 260px; pointer-events: none; }
.decos .d { position: absolute; }
@keyframes flotar-d { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: no-preference) {
  .decos .f1 { animation: flotar-d 2s ease-in-out infinite; }
  .decos .f2 { animation: flotar-d 2s ease-in-out .25s infinite; }
  .decos .f3 { animation: flotar-d 2s ease-in-out .5s infinite; }
}
@media (max-width: 900px) { .decos { display: none; } }

/* centrado vertical y línea que corre de izquierda a derecha */
.decos { top: 50%; bottom: auto; height: 208px; margin-top: -102px; }
@media (prefers-reduced-motion: no-preference) {
  .decos .marcha { animation: marcha-d .7s linear infinite; }
  @keyframes marcha-d { to { stroke-dashoffset: -20; } }
}

.lema { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--v); margin-top: 6px; }

/* ============================================================ ANIMACIONES (coherentes con la home) */
@media (prefers-reduced-motion: no-preference) {
  /* .pre-reveal lo agrega animations.js: si el script no corre, nada queda oculto */
  .tarjeta.pre-reveal, .pasos5 > div.pre-reveal {
    opacity: 0;
    scale: .92;
    translate: 0 30px;
    transition: opacity .5s cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 60ms),
                scale .5s cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 60ms),
                translate .5s cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 60ms),
                transform .25s ease;
  }
  .tarjeta.pre-reveal.en-vista, .pasos5 > div.pre-reveal.en-vista { opacity: 1; scale: 1; translate: 0 0; }
}

@media (hover: hover) {
  .tarjeta:hover, .cz-card:hover { transform: translateY(-6px); }
}
.tarjeta, .cz-card { transition: transform .25s ease; }
