/* NCT 360 · estilos por seccion (hero, mercado, problema, areas, consola, territorio, cumplimiento, ROI, precios, implantacion, FAQ, formulario) */

/* ----- hero ----- */
.hero { padding-block: var(--s-7) var(--s-8); background:
  radial-gradient(60% 50% at 80% 10%, rgba(240, 0, 0, .18), transparent 70%),
  radial-gradient(40% 40% at 10% 90%, rgba(255, 90, 31, .10), transparent 70%); }
@media (min-width: 1024px) { .hero { padding-block: var(--s-8) var(--s-9); } }
.hero h1 { margin-bottom: var(--s-4); }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); margin-bottom: var(--s-5); }
.hero__actions { margin-bottom: var(--s-6); }
.hero__art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--bg); }
.hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { border-left: 3px solid var(--accent); padding-left: var(--s-3); }
.stat__value { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--nct-white); }
.stat__label { font-size: .875rem; color: var(--text-2); margin-top: var(--s-1); }

/* ----- banda de mercado ----- */
.band { background: var(--surface); border-block: 1px solid var(--border); padding-block: var(--s-6); }
.band__grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .band__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.band .stat__value { color: var(--nct-orange); font-size: 2.25rem; }
.band .stat { border-color: var(--border); }
.band__source { margin-top: var(--s-4); font-size: .8125rem; color: var(--text-2); }

/* ----- problema ----- */
.pain { display: flex; gap: var(--s-4); align-items: flex-start; }
.pain__mark { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(240, 0, 0, .14); color: var(--accent); font-weight: 700; }
.pain h3 { margin-bottom: var(--s-1); }
.pain p { color: var(--text-2); font-size: .95rem; }

/* ----- areas ----- */
.areas__grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .areas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.area { display: flex; flex-direction: column; }
.area__tag { color: var(--text-2); font-size: .95rem; }
.area__num { font-family: var(--font-display); color: var(--nct-gray-500); font-size: .9rem; letter-spacing: .08em; }

/* ----- consola ----- */
.console__cols { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 768px) { .console__cols { grid-template-columns: 1fr 1fr; } }
.console__cols .card h3 { display: flex; align-items: center; gap: var(--s-2); }
.console__cols .card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.console__cols .card:last-child h3::before { background: var(--nct-orange); }
.network { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 768px) { .network { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.network .card { padding: var(--s-4); }
.network .card h4 { margin-bottom: var(--s-1); }
.network .card p { font-size: .9375rem; color: var(--text-2); }
.art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg); }

/* ----- territorio (pasos numerados) ----- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s-4); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: var(--s-3); align-items: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--nct-orange); border: 1px solid var(--border); border-radius: 10px; height: 44px; display: grid; place-items: center; }
.steps h3 { margin-bottom: var(--s-1); font-size: 1.05rem; }
.steps p { color: var(--text-2); font-size: .95rem; max-width: none; }

/* ----- cumplimiento ----- */
.badges { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.badge { padding: var(--s-4); }
.badge h3 { font-size: 1rem; display: flex; align-items: center; gap: var(--s-2); }
.badge h3 svg { width: 22px; height: 22px; color: var(--ok); flex: 0 0 auto; }
.badge p { font-size: .9rem; color: var(--text-2); }
.dates { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
@media (min-width: 768px) { .dates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.date { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-4); background: var(--surface); }
.date__when { font-family: var(--font-display); font-size: 1.5rem; color: var(--nct-orange); }
.date p { font-size: .9375rem; color: var(--text-2); margin-top: var(--s-1); }

/* ----- calculadora ROI ----- */
.roi { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .roi { grid-template-columns: 1fr 1fr; align-items: start; } }
.roi__inputs .field { margin-bottom: var(--s-4); }
.roi__results { position: sticky; top: calc(var(--header-h) + 16px); }
.result { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--border); }
.result:last-of-type { border-bottom: 0; }
.result__label { color: var(--text-2); font-size: .95rem; }
.result__label small { display: block; font-size: .8125rem; color: var(--nct-gray-500); }
.result__value { font-family: var(--font-display); font-size: 1.375rem; white-space: nowrap; color: var(--nct-white); }
.result--total { border-top: 2px solid var(--accent); margin-top: var(--s-3); padding-top: var(--s-4); }
.result--total .result__value { color: var(--nct-orange); font-size: 1.75rem; }
.roi__payback { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); font-size: .95rem; }
.roi__payback strong { color: var(--nct-white); }
details.assumptions { margin-top: var(--s-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
details.assumptions summary { cursor: pointer; padding: var(--s-3) var(--s-4); font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
details.assumptions summary::-webkit-details-marker { display: none; }
details.assumptions summary::after { content: "+"; font-size: 1.4rem; color: var(--nct-orange); }
details.assumptions[open] summary::after { content: "\2212"; }
details.assumptions .assumptions__body { padding: 0 var(--s-4) var(--s-4); display: grid; gap: var(--s-3); }
@media (min-width: 640px) { details.assumptions .assumptions__body { grid-template-columns: 1fr 1fr; } }
details.assumptions .field { margin: 0; }
details.assumptions label { font-size: .875rem; }

/* ----- precios ----- */
.plans { display: grid; gap: var(--s-4); align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); }
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan__badge { position: absolute; top: -14px; left: var(--s-5); background: var(--accent); color: var(--nct-white); font-size: .8125rem; font-weight: 600; padding: .25em .8em; border-radius: var(--radius-pill); }
.plan__name { font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--s-1); }
.plan__tagline { color: var(--text-2); font-size: .95rem; margin-bottom: var(--s-4); min-height: 3em; }
.plan__price { font-family: var(--font-display); font-size: 2.75rem; line-height: 1; font-weight: 600; }
.plan__price small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--text-2); }
.plan__setup { color: var(--text-2); font-size: .95rem; margin: var(--s-2) 0 var(--s-4); }
.plan__setup strong { color: var(--nct-white); }
.plan__list { margin: 0 0 var(--s-5); flex: 1; }
.plan__list li { font-size: .95rem; }
.plan__list li + li { margin-top: .55em; }
.plan__list .plan__inherits { color: var(--nct-orange); font-weight: 600; }
.pricing__foot { margin-top: var(--s-5); display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .pricing__foot { grid-template-columns: 1fr 1fr; } }
.addons { list-style: none; margin: 0; padding: 0; }
/* Phones: the price goes under its label and may wrap ("12 % des dépenses publicitaires" is wider than a 320 px screen). */
.addons li { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-3) 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.addons li:last-child { border-bottom: 0; }
.addons .addons__price { color: var(--nct-orange); font-weight: 600; }
@media (min-width: 640px) {
  .addons li { flex-direction: row; justify-content: space-between; gap: var(--s-4); }
  .addons .addons__price { white-space: nowrap; }
}
.pricing__note { font-size: .875rem; color: var(--text-2); }

/* ----- implantacion ----- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); position: relative; }
@media (min-width: 1024px) { .timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.timeline li { position: relative; padding-top: var(--s-5); }
.timeline li::before { content: ""; position: absolute; left: 0; right: -16px; top: 9px; height: 2px; background: var(--border); }
.timeline li:last-child::before { right: 0; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
@media (max-width: 1023px) {
  .timeline li { padding: 0 0 0 var(--s-6); }
  .timeline li::before { left: 7px; right: auto; top: 0; bottom: -20px; width: 2px; height: auto; }
  .timeline li::after { top: 4px; }
}
.timeline__week { font-family: var(--font-display); color: var(--nct-orange); letter-spacing: .08em; font-size: .9rem; text-transform: uppercase; }
.timeline h3 { font-size: 1.05rem; margin: var(--s-1) 0 var(--s-2); }
.timeline p { color: var(--text-2); font-size: .9375rem; max-width: none; }

/* ----- FAQ ----- */
.faq { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; font-weight: 600; font-size: 1.05rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 1.5rem; color: var(--nct-orange); line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq p { color: var(--text-2); padding-bottom: var(--s-4); max-width: 70ch; }

/* ----- formulario ----- */
.form-wrap { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .form-wrap { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.form { display: grid; gap: var(--s-4); }
.field label { display: block; font-weight: 500; margin-bottom: var(--s-1); }
.field .req { color: var(--nct-orange); }
.field .hint { display: block; font-size: .8125rem; color: var(--text-2); margin-top: var(--s-1); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid #5C5C5C; border-radius: 10px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder { color: var(--nct-gray-500); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--nct-white); outline: 2px solid var(--focus); outline-offset: 2px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23C9C9C9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px; padding-right: 2.5rem; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--nct-red); }
.field__error { display: none; color: #FF6B6B; font-size: .875rem; margin-top: var(--s-1); }
.field--error .field__error { display: flex; gap: .4em; align-items: flex-start; }
.field__error::before { content: "!"; flex: 0 0 auto; width: 1.15em; height: 1.15em; border-radius: 50%; background: var(--nct-red); color: #fff; font-weight: 700; font-size: .8em; display: grid; place-items: center; margin-top: .2em; }
.field--check { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-start; }
.field--check .field__error { flex-basis: 100%; }
.field--check label { flex: 1; min-width: 0; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: .2em; accent-color: var(--cta); flex: 0 0 auto; }
.field--check label { font-weight: 400; font-size: .9375rem; color: var(--text-2); margin: 0; }
.field--check label a { color: var(--text); }
.form__optional { justify-self: start; background: none; border: 0; color: var(--text-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9375rem; padding: .5rem 0; min-height: 44px; }
.form__status { border-radius: var(--radius); padding: var(--s-4); border: 1px solid var(--border); background: var(--surface); }
.form__status[hidden] { display: none; }
.form__status--ok { border-color: var(--nct-green); }
.form__status--error { border-color: var(--nct-red); }
.form__status h3 { margin-bottom: var(--s-2); }
.form__status p { color: var(--text-2); max-width: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-box .card + .card { margin-top: var(--s-4); }
.contact-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); font-size: .95rem; }
.contact-box dt { color: var(--text-2); }
.contact-box dd { margin: 0; }

/* ----- noscript / impresion ----- */
.noscript-note { background: var(--warn); color: var(--nct-black); padding: var(--s-3) var(--gutter); font-weight: 500; text-align: center; }
@media print {
  .header, .hero__actions, .btn, .nav, .skip-link, .form-wrap, .roi { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .band { padding-block: 16px; background: #fff; }
  .card, .plan, .date { border-color: #999; background: #fff; }
  a { color: #000; }
}
