/* ==========================================================================
   TechWings — inner pages (About, Contact, Privacy, Terms)
   Loaded after styles.css on those pages only.
   ========================================================================== */

/* ---------- Page hero band ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 100% 0%, rgb(21 87 255 / .45), transparent),
              radial-gradient(40% 80% at 0% 100%, rgb(21 87 255 / .18), transparent);
}
.page-hero .container { padding-block: 40px 44px; }
.page-hero .crumbs ol { color: rgb(255 255 255 / .6); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs [aria-current] { color: #fff; }
.page-hero h1 { max-width: 46rem; margin-top: 14px; font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.page-hero h1 span { color: var(--brand-soft); }
.page-hero__lead { max-width: 42rem; margin-top: 14px; font-size: 16px; line-height: 1.65; color: rgb(255 255 255 / .75); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-size: 13px; color: rgb(255 255 255 / .6); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 640px) {
  .page-hero .container { padding-block: 56px 60px; }
  .page-hero h1 { font-size: 2.6rem; }
}

/* ---------- About: split story ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-xl); background: var(--canvas); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: var(--r); background: rgb(255 255 255 / .95); box-shadow: var(--shadow-card); font-size: 13px; font-weight: 700;
}
.split__badge .icon { color: var(--brand); }
.prose { display: grid; gap: 14px; margin-top: 16px; font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.checks .icon { margin-top: 2px; color: var(--brand); }

/* ---------- About: mission / vision / values ---------- */
.mv { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .mv { grid-template-columns: repeat(3, 1fr); } }
.mv__card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.mv__card--dark { border-color: var(--navy); background: var(--navy); color: #fff; }
.mv__card h3 { margin-top: 18px; font-size: 18px; font-weight: 800; }
.mv__card p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.mv__card--dark p { color: rgb(255 255 255 / .72); }
.mv__card--dark .why__icon { background: var(--brand); }

/* ---------- About: category links ---------- */
.cat-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
@media (min-width: 768px) { .cat-links { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.cat-links a {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; font-size: 14px; font-weight: 700; transition: border-color .2s, box-shadow .2s, color .2s;
}
.cat-links a:hover { border-color: rgb(21 87 255 / .4); color: var(--brand); box-shadow: var(--shadow-card); }

/* ---------- About: process ---------- */
.process { display: grid; gap: 16px; margin-top: 40px; counter-reset: step; }
@media (min-width: 640px) { .process { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.process li::before {
  counter-increment: step; content: "0" counter(step); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r); background: var(--brand-50); color: var(--brand); font-size: 14px; font-weight: 800;
}
.process h3 { margin-top: 16px; font-size: 16px; font-weight: 700; }
.process p { margin-top: 6px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 24px; }
.contact-grid > * { min-width: 0; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; } }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .panel { padding: 36px; } }
.panel h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; }
.panel__lead { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 24px; }
.form__row { display: grid; gap: 16px; }
.form__row > * { min-width: 0; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--canvas); font-size: 16px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgb(21 87 255 / .1); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #dc2626; background: #fff7f7; }
.field__error { display: none; font-size: 12.5px; font-weight: 600; color: #dc2626; }
.field.is-invalid .field__error { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand); }
.consent a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.consent.is-invalid { color: #dc2626; }
.form__actions { display: grid; gap: 10px; margin-top: 4px; }
@media (min-width: 640px) { .form__actions { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.form__status { display: none; padding: 12px 14px; border-radius: var(--r); background: #ecfdf3; color: #065f46; font-size: 14px; font-weight: 600; }
.form__status.is-visible { display: block; }

.info-list { display: grid; gap: 12px; }
.info-card { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, box-shadow .2s; }
.info-card > span:last-child { min-width: 0; }
a.info-card:hover { border-color: rgb(21 87 255 / .4); box-shadow: var(--shadow-card); }
.info-card__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r); background: var(--brand-50); color: var(--brand); }
.info-card--wa .info-card__icon { background: #e8f8ee; color: var(--whatsapp); }
.info-card small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.info-card b { display: block; margin-top: 2px; font-size: 15px; overflow-wrap: anywhere; }
.info-card em { display: block; margin-top: 2px; font-size: 13px; font-style: normal; color: var(--muted); }
.map { margin-top: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--canvas); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 36px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex-shrink: 0; color: var(--brand); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.sh--center { text-align: center; justify-content: center; }
.sh--center .sh__text { margin-inline: auto; }
.sh--center .eyebrow { justify-content: center; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; gap: 32px; }
.legal-layout > * { min-width: 0; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px 1fr; gap: 56px; align-items: start; } }
.toc { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--canvas); }
@media (min-width: 1024px) { .toc { position: sticky; top: 24px; } }
.toc b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { display: grid; gap: 2px; margin-top: 10px; counter-reset: toc; }
.toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.toc a::before { counter-increment: toc; content: counter(toc) "."; min-width: 18px; color: var(--muted); }
.toc a:hover { background: #fff; color: var(--brand); }
.legal-article { max-width: 780px; font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.legal-article section { scroll-margin-top: 24px; }
.legal-article section + section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-article h2 { font-size: 1.3rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.legal-article h3 { margin-top: 18px; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.legal-article p { margin-top: 12px; }
.legal-article ul { display: grid; gap: 8px; margin-top: 12px; }
.legal-article ul li { position: relative; padding-left: 22px; }
.legal-article ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.legal-article a { color: var(--brand); font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }
.legal-article strong { color: var(--ink); }
.callout { display: flex; gap: 12px; margin-bottom: 32px; padding: 16px 18px; border: 1px solid #fde68a; border-radius: var(--r); background: #fffbeb; font-size: 14px; line-height: 1.6; color: #78350f; }
.callout .icon { flex-shrink: 0; margin-top: 2px; }
.callout--info { border-color: rgb(21 87 255 / .2); background: var(--brand-50); color: var(--ink-2); }
.callout--info .icon { color: var(--brand); }

/* ---------- Phones ---------- */
@media (max-width: 639px) {
  .page-hero__lead { font-size: 15px; }
  .split__media { border-radius: var(--r-lg); }
  .mv__card, .process li { padding: 20px; }
  .panel { border-radius: var(--r-lg); }
  .map { margin-top: 28px; border-radius: var(--r-lg); }
  .map iframe { height: 280px; }
  .legal-article { font-size: 15px; }
  .legal-article h2 { font-size: 1.15rem; }
  .faq summary { padding: 16px; font-size: 15px; }
  .faq details p { padding: 0 16px 16px; }
}
