/* ============================================================
   TECMOSA — Componentes de páginas internas
   ============================================================ */

/* módulos Odoo (grid) */
.mod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 860px){ .mod-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px){ .mod-grid { grid-template-columns: 1fr 1fr; } }
.mod { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); transition: .2s; }
.mod:hover { border-color: var(--blue-300); transform: translateY(-3px); box-shadow: var(--shadow); }
.mod .ic { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.mod .ic svg { width: 20px; height: 20px; }
.mod .ic.odoo-app { background: var(--paper); border: 1px solid var(--line); }
.mod .ic.odoo-app img { width: 24px; height: 24px; display: block; }
.mod b { font-weight: 600; font-size: .98rem; }

/* breadcrumb + page hero */
.page-hero { padding: clamp(40px,5vw,76px) 0 clamp(28px,3vw,44px); position: relative; }
.crumb { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.crumb a { color: var(--ink-faint); } .crumb a:hover { color: var(--blue); }
.crumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); max-width: 17ch; }
.page-hero .lead { margin-top: 18px; max-width: 56ch; }
.page-hero.on-navy { background: var(--navy); color: oklch(0.95 0.01 256); }
.page-hero.on-navy h1 { color: oklch(0.98 0.01 250); }
.page-hero.on-navy .crumb, .page-hero.on-navy .crumb a { color: oklch(0.72 0.02 256); }
.page-hero.on-navy .lead { color: oklch(0.84 0.02 256); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,64px); align-items: center; }
.split.media-left { direction: rtl; } .split.media-left > * { direction: ltr; }
@media (max-width: 860px){ .split, .split.media-left { grid-template-columns: 1fr; direction: ltr; } }
.split .ph, .split .shot { min-height: 300px; height: 100%; }

/* check list */
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; line-height: 1.45; }
.checks li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--blue); }
.checks.coral li svg { color: var(--coral-600); }
.checks.on-navy li { color: oklch(0.88 0.02 256); }
.checks.on-navy li svg { color: var(--coral); }

/* feature cards row */
.feat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 860px){ .feat-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .feat-cards { grid-template-columns: 1fr; } }
.feat-cards .card .ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.feat-cards .card .ic svg { width: 23px; height: 23px; }
.feat-cards .card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.feat-cards .card p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

/* timeline / steps vertical */
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.tl-item.done::before { background: var(--blue); }
.tl-item .t { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: var(--coral-600); text-transform: uppercase; }
.tl-item h3 { font-size: 1.2rem; margin: 6px 0 6px; }
.tl-item p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; position: relative; transition: .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--ink); transition: .2s; }
.faq summary .pm::before { width: 11px; height: 2px; } .faq summary .pm::after { width: 2px; height: 11px; }
.faq details[open] summary .pm { background: var(--blue); border-color: var(--blue); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: white; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq .ans { padding: 0 0 24px; color: var(--ink-soft); max-width: 70ch; }

/* CTA band reutilizable */
.cta-band { background: linear-gradient(135deg, var(--blue-700), var(--navy)); color: white; border-radius: var(--r-lg); padding: clamp(36px,5vw,64px); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-40px; bottom:-60px; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, var(--coral), transparent 65%); opacity:.5; }
.cta-band h2 { color: white; position: relative; }
.cta-band .row { position: relative; }
.cta-band .lead { color: oklch(0.9 0.02 256); }

/* logos pequeños */
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(20px,3vw,48px); flex-wrap: wrap; }
.logo-ph { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--ink-faint); text-transform: uppercase; border: 1px dashed var(--line); border-radius: 10px; padding: 12px 22px; }

/* contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 0.85em 1em; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px){ .field-row { grid-template-columns: 1fr; } }
.contact-aside .ci { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-aside .ci:last-child { border-bottom: 0; }
.contact-aside .ci .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-aside .ci .ic svg { width: 21px; height: 21px; }
.contact-aside .ci b { display: block; }
.contact-aside .ci a, .contact-aside .ci span { color: var(--ink-soft); }
.form-note { font-size: .84rem; color: var(--ink-faint); margin-top: 4px; }
.sent-msg { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-700); border-radius: var(--r); padding: 22px; display: none; }
.sent-msg.show { display: block; }
