/* Inquestica Consulting — site styles
   Self-hosted only. No external requests. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand palette — sampled from the Inquestica logo */
  --red: #73A220;          /* brand green (accents, icons, eyebrows) */
  --red-dark: #5B8419;     /* darker green for buttons/links (AA contrast on white) */
  --maroon: #466213;       /* forest green */
  --maroon-deep: #22330A;  /* deep forest for dark panels */
  --lime: #9BDA2B;         /* bright highlight */
  --ink: #0E100A;          /* brand near-black */
  --ink-2: #33372B;
  --muted: #6A6F60;
  --line: #E5E8DF;
  --bg: #FFFFFF;
  --bg-soft: #F6F8F2;
  --bg-tint: #EEF6DF;
  --focus: #1D4ED8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 20, 26, .08);
  --max: 1160px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .75rem; }

.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Skip link */
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand-name span { color: var(--red); }
.brand-sub { font-size: .62rem; letter-spacing: .32em; color: var(--muted); text-transform: uppercase; font-weight: 500; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: .55rem .85rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--red-dark); }
.nav-links .btn { margin-left: .5rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .75rem; }
  .nav-links .btn { margin: .5rem 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91, 132, 25, .28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--lime); color: var(--ink); }
.btn-light:hover { background: #b6ee4f; color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("cube-pattern.svg"); background-size: 320px; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(3rem, 7vw, 6rem) 0; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { max-width: 560px; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(100%, 340px); filter: drop-shadow(0 30px 50px rgba(70, 98, 19, .28)); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art img { width: 180px; } }

.hero-bar { background: linear-gradient(90deg, var(--maroon), var(--lime) 55%, var(--maroon)); height: 6px; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.25rem 0; }
.trust p { margin: 0; font-size: .9rem; color: var(--muted); }
.trust ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .95rem; color: var(--ink-2); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 1px 0 rgba(22,20,26,.02); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe3a6; }
.card h3 { margin-top: .9rem; }
.card p { margin-bottom: 0; color: var(--ink-2); }
.card .more { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: .92rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--red); }
.icon svg { width: 24px; height: 24px; }

/* Numbered steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -.2rem; font-size: 1.8rem; font-weight: 700; color: var(--red); opacity: .85; letter-spacing: -.02em; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--ink-2); margin: 0; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .split-panel { order: 2; } }
.split-panel { background: var(--maroon-deep); color: #fff; border-radius: var(--radius); padding: 2.25rem; background-image: radial-gradient(circle at 80% 10%, rgba(155,218,43,.35), transparent 50%); }
.split-panel h3 { color: #fff; }
.split-panel p { color: rgba(255,255,255,.82); }
.split-panel ul { margin: 1rem 0 0; padding-left: 1.2rem; color: rgba(255,255,255,.9); }
.split-panel li { margin-bottom: .45rem; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-2); }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--bg-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373A220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/14px no-repeat; margin-top: .15rem; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--ink), var(--maroon-deep) 55%, var(--maroon)); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta h2 { color: #fff; margin-bottom: .35rem; }
.cta p { margin: 0; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Page header */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-head h1 { margin-bottom: .5rem; }
.page-head p { max-width: 720px; margin: 0; color: var(--ink-2); font-size: 1.1rem; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }

.placeholder { background: #FFF4CC; border: 1px dashed #D4A500; border-radius: 6px; padding: .05em .35em; font-weight: 500; color: #6B4E00; }
.notice { border-left: 4px solid var(--red); background: var(--bg-tint); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.contact-card h3 { margin-bottom: .25rem; }
.contact-card dl { margin: 1rem 0 0; display: grid; gap: .9rem; }
.contact-card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-card dd { margin: .1rem 0 0; font-weight: 500; }

form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #D6D2DB; border-radius: 10px; padding: .8rem .95rem; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(115,162,32,.18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #C81E1E; }
textarea { min-height: 150px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: 0 0 auto; accent-color: var(--red); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-status { display: none; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 500; }
.form-status.ok { display: block; background: #E8F7EE; color: #14532D; border: 1px solid #A7E3BE; }
.form-status.err { display: block; background: #FDECEC; color: #7F1D1D; border: 1px solid #F5B5B5; }
.field-error { font-size: .82rem; color: #B91C1C; display: none; }
.field-error.show { display: block; }

/* Footer */
.site-footer { background: #0E100A; color: rgba(255,255,255,.78); padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; margin-bottom: 1rem; }
.footer-brand img { width: 34px; }
.footer-tag { font-style: italic; color: rgba(255,255,255,.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.55); }

/* 404 */
.center { text-align: center; }
.big { font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; color: var(--red); line-height: 1; margin-bottom: .5rem; }

/* utilities (no inline styles — CSP style-src 'self') */
.mt-lg { margin-top: 1.5rem; }
.steps-grid { gap: 1.75rem; margin-top: 1.5rem; }
.footer-brand .brand-name span { color: var(--lime); }
