/* ==========================================================================
   CreApp — Identidad visual web
   Colores extraídos del logo oficial:
     Lima CreApp   #BFF376   (acento, isotipo "A")
     Petróleo      #082230   (base oscura, versión monocromática)
     Carbón        #2E2E2E   (texto del logotipo sobre fondo claro)
   Tipografía: Plus Jakarta Sans (gratuita, Google Fonts) — alternativa libre a Gilroy
   ========================================================================== */


:root {
  /* Marca */
  --lime: #BFF376;
  --lime-hover: #CDF98F;
  --lime-deep: #8FC743;     /* bordes y detalles sobre fondo claro */
  --lime-tint: #F1FCE3;     /* fondos suaves */
  --petrol: #082230;
  --petrol-2: #0E2F40;
  --petrol-3: #16405A;
  --carbon: #2E2E2E;

  /* Sistema */
  --ink: #082230;
  --text: #2E2E2E;
  --muted: #5E6B70;
  --line: #E1E6DC;
  --bg: #F5F7F2;
  --card: #FFFFFF;
  --link: #0E5A4A;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(8, 34, 48, .05), 0 10px 30px rgba(8, 34, 48, .07);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 800; color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: underline; text-decoration-color: var(--lime-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--petrol); text-decoration-color: var(--petrol); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--lime); color: var(--petrol); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 34, 48, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(191, 243, 118, .12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: rgba(255,255,255,.78); font-weight: 700; font-size: .95rem; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav a.lang-switch { border: 1px solid rgba(191,243,118,.35); color: var(--lime); font-size: .85rem; }
.nav a.lang-switch:hover { background: rgba(191,243,118,.1); color: var(--lime); }
.nav a.cta { background: var(--lime); color: var(--petrol); margin-left: 8px; }
.nav a.cta:hover { background: var(--lime-hover); }
.menu-btn { display: none; background: none; border: 0; color: var(--lime); font-size: 1.6rem; cursor: pointer; padding: 6px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px;
    background: var(--petrol); border-bottom: 1px solid rgba(191,243,118,.12);
  }
  .nav.open { display: flex; }
  .nav a.cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Decoración: triángulos del isotipo ---------- */
.tri { position: absolute; pointer-events: none; opacity: .9; }
.tri svg { width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(720px 460px at 88% 10%, rgba(191, 243, 118, .16), transparent 60%),
    radial-gradient(600px 400px at -5% 105%, rgba(22, 64, 90, .9), transparent 60%),
    var(--petrol);
  padding: 104px 0 112px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lime); background: rgba(191,243,118,.08); border: 1px solid rgba(191,243,118,.3);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--lime); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.03em; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.74); max-width: 560px; margin: 0 0 34px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--lime); color: var(--petrol); }
.btn-primary:hover { background: var(--lime-hover); color: var(--petrol); }
.btn-primary::after { content: "→"; font-weight: 800; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--petrol); color: #fff; }
.btn-dark:hover { background: var(--petrol-3); color: #fff; }
.stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; color: var(--lime); }
.stats span { color: rgba(255,255,255,.62); font-size: .92rem; }

/* Mockup de teléfono */
.phone {
  position: relative; z-index: 1;
  width: 280px; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1d4a63, #061a25);
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(191,243,118,.18);
  transform: rotate(4deg);
}
.phone-screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #0e2f40, #071b26); padding: 30px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.ps-brand { display: flex; justify-content: center; margin-bottom: 4px; }
.ps-brand img { height: 16px; width: auto; }
.phone-screen .ps-title { font-size: .72rem; color: rgba(255,255,255,.5); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ps-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border-radius: 14px; padding: 10px; color: #fff; }
.ps-row .app-icon { width: 38px; height: 38px; border-radius: 11px; font-size: .78rem; }
.ps-row b { display: block; font-size: .82rem; }
.ps-row small { color: rgba(255,255,255,.5); font-size: .7rem; }
.ps-player { margin-top: auto; background: var(--lime); color: var(--petrol); border-radius: 18px; padding: 14px; }
.ps-player b { font-size: .85rem; display: block; }
.ps-player small { opacity: .75; font-size: .72rem; }
.ps-bar { height: 4px; border-radius: 4px; background: rgba(8,34,48,.2); margin-top: 12px; overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: 62%; background: var(--petrol); border-radius: 4px; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: 230px; }
  .hero .tri { display: none; }
}

/* ---------- Secciones ---------- */
section { padding: 92px 0; }
.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--petrol); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--lime-deep); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.025em; line-height: 1.1; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--petrol); color: rgba(255,255,255,.75); }
.dark h2, .dark h3 { color: #fff; }
.dark .kicker { color: var(--lime); }
.dark .kicker::before { border-bottom-color: var(--lime); }
.dark .section-head p { color: rgba(255,255,255,.65); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card h3 { margin: 18px 0 8px; font-size: 1.22rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text); font-size: .95rem; }
.card ul li { margin: 6px 0; padding-left: 20px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .5em; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--lime-deep); }
.service:hover { transform: translateY(-3px); border-color: var(--lime-deep); }
.ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: var(--petrol); color: var(--lime);
}
.ico svg { width: 24px; height: 24px; }

.step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step .num { font-size: 2.4rem; font-weight: 800; color: var(--lime); line-height: 1; letter-spacing: -.03em; }
.step h3 { margin: 16px 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: rgba(255,255,255,.65); font-size: .97rem; }

/* ---------- Tarjetas de apps ---------- */
.app-icon {
  width: 64px; height: 64px; border-radius: 18px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.app-icon.has-img { background: #fff; overflow: hidden; padding: 0; box-shadow: 0 2px 8px rgba(8,34,48,.12), inset 0 0 0 1px rgba(8,34,48,.06); }
.app-icon.has-img img { width: 100%; height: 100%; object-fit: cover; }
.app-card { display: flex; flex-direction: column; gap: 16px; }
.app-card:hover { border-color: var(--lime-deep); }
.app-card .top { display: flex; gap: 16px; align-items: center; }
.app-card h3 { margin: 0; font-size: 1.15rem; }
.app-card .tag { display: inline-block; font-size: .76rem; font-weight: 700; color: var(--petrol); background: var(--lime-tint); border: 1px solid #d8f2b4; padding: 2px 10px; border-radius: 999px; margin-top: 6px; }
.app-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.app-card .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.app-card .links a {
  font-size: .86rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); color: var(--petrol); background: #fff;
}
.app-card .links a:hover { border-color: var(--petrol); }
.app-card .links a.primary { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.app-card .links a.primary:hover { background: var(--lime); border-color: var(--lime); color: var(--petrol); }

/* ---------- Banda CTA ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: 64px; color: var(--petrol);
  background:
    radial-gradient(420px 260px at 100% 100%, rgba(255,255,255,.35), transparent 70%),
    linear-gradient(120deg, var(--lime) 0%, #CFF795 100%);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
  box-shadow: 0 20px 50px rgba(143, 199, 67, .25);
}
.band .tri { position: absolute; z-index: -1; opacity: .12; }
.band-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--petrol); background: rgba(8,34,48,.08); padding: 6px 12px; border-radius: 999px;
}
.band-kicker::before { content: ""; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--petrol); }
.band h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; color: var(--petrol); max-width: 620px; }
.band p { margin: 0; color: rgba(8,34,48,.78); max-width: 560px; font-size: 1.08rem; }
.band-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.band-points li {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem;
  background: rgba(255,255,255,.55); border: 1px solid rgba(8,34,48,.08); padding: 8px 14px; border-radius: 999px;
}
.band-points li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--petrol); color: var(--lime); font-size: .7rem; }
.band-actions { display: flex; flex-direction: column; gap: 12px; min-width: 270px; }
.band-actions .btn { width: 100%; }
.btn-dark::after { content: "→"; }
.btn-line { background: transparent; color: var(--petrol); border-color: rgba(8,34,48,.35); }
.btn-line:hover { background: rgba(8,34,48,.06); border-color: var(--petrol); color: var(--petrol); }
@media (max-width: 860px) {
  .band { grid-template-columns: 1fr; padding: 44px 32px; gap: 28px; }
  .band-actions { min-width: 0; }
}
@media (max-width: 480px) { .band { padding: 36px 22px; border-radius: 24px; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .item b { display: block; color: var(--ink); }
.contact-info .item span { color: var(--muted); font-size: .95rem; }

form.contact { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(191,243,118,.55); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text); font-weight: 500; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--petrol); }
.form-status { display: none; padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: .95rem; }
.form-status.ok { display: block; background: var(--lime-tint); color: var(--petrol); border: 1px solid #cdeea0; }
.form-status.err { display: block; background: #fdecec; color: #9b1c1c; border: 1px solid #f6c5c5; }
form.contact .btn-primary { background: var(--petrol); color: #fff; }
form.contact .btn-primary:hover { background: var(--lime); color: var(--petrol); }

/* ---------- Cabecera de páginas internas ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 56px;
  background:
    radial-gradient(600px 300px at 95% 0%, rgba(191,243,118,.14), transparent 60%),
    var(--petrol);
}
.page-head .tri { right: 4%; top: 18px; width: 170px; height: 158px; opacity: .12; }
.page-head h1 { color: #fff; margin: 10px 0 10px; font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.025em; line-height: 1.12; }
.page-head p { margin: 0; color: rgba(255,255,255,.72); max-width: 680px; font-size: 1.05rem; }
.page-head .app-head { display: flex; align-items: center; gap: 20px; position: relative; }
.page-head .app-icon { width: 78px; height: 78px; border-radius: 22px; font-size: 1.4rem; }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.5); position: relative; }
.crumbs a { color: var(--lime); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Documentos legales ---------- */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 56px 0 92px; align-items: start; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static !important; } }
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc b { display: block; margin-bottom: 10px; color: var(--ink); font-weight: 800; }
.toc ol { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.toc li { margin: 7px 0; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--petrol); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 46px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .doc { padding: 26px 20px; } }
.doc .meta { color: var(--muted); font-size: .92rem; margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 1.32rem; margin: 38px 0 10px; letter-spacing: -.01em; scroll-margin-top: 96px; }
.doc h2:first-of-type { margin-top: 8px; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--lime-deep); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .93rem; }
.doc th, .doc td { text-align: left; padding: 11px 13px; border: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--petrol); color: #fff; font-weight: 700; }
.doc code { background: var(--bg); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .88em; }
.note { background: var(--lime-tint); border: 1px solid #d3f0a8; border-left: 5px solid var(--lime-deep); color: var(--petrol); border-radius: 14px; padding: 16px 18px; font-size: .96rem; margin: 18px 0; }

/* ---------- Soporte ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
.faq details[open] { border-color: var(--lime-deep); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--petrol); font-size: 1.1rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list span { color: var(--muted); }
.info-list b { text-align: right; word-break: break-all; color: var(--ink); }

/* ---------- Guía de marca ---------- */
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.swatch .chip { height: 130px; display: flex; align-items: flex-end; padding: 14px; font-weight: 800; }
.swatch .meta { padding: 16px; font-size: .9rem; color: var(--muted); }
.swatch .meta b { display: block; color: var(--ink); font-size: 1rem; }
.logo-tile { border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; padding: 40px 28px; min-height: 180px; }
.logo-tile img { max-height: 60px; width: auto; }
.logo-tile.mark img { max-height: 90px; }
.type-sample { font-size: 3.2rem; font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -.03em; }
.weights span { display: inline-block; margin-right: 20px; font-size: 1.3rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol); color: rgba(255,255,255,.65); padding: 68px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--lime); margin: 0 0 14px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Validación del formulario ---------- */
.field { display: flex; flex-direction: column; min-width: 0; }
.field-error { display: block; min-height: 0; color: #B42318; font-size: .84rem; font-weight: 600; margin-top: 6px; }
.field-error:empty { display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D92D20; background: #FFF6F5; box-shadow: 0 0 0 3px rgba(217,45,32,.10); }
.field.invalid input:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 4px rgba(217,45,32,.18); }
.field.invalid .check { color: #B42318; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.field-foot .field-error { margin-right: auto; }
.counter { margin-top: 6px; margin-left: auto; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.counter.ok { color: #2F6B0F; }
.cf-turnstile { min-height: 65px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.secure-note { margin: 0; flex: 1 1 260px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
form.contact[aria-busy="true"] button[type="submit"] { opacity: .7; cursor: progress; }
form.contact button[type="submit"]:disabled { cursor: progress; }
