/* ============================================================
   AIpros — enterprise automation. Design system 2026.
   Graphite + paper, one accent (vault green), serif display.
   ============================================================ */
:root {
  --ink: #15181d;
  --graphite: #1e2227;
  --graphite-2: #262b31;
  --paper: #f4f3ef;
  --white: #ffffff;
  --line: #dcdad3;
  --line-dark: rgba(255,255,255,0.12);
  --steel: #5f6670;
  --mute: #8a9099;
  --accent: #0e5a52;
  --accent-ink: #0a3f3a;
  --accent-soft: #e3efec;
  --font-display: 'Newsreader', 'Times New Roman', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.text-gradient { color: inherit; background: none; -webkit-text-fill-color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 3000; }
.skip-link:focus { left: 8px; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; padding: 0; }
.container-wide { width: min(100% - 2.5rem, 1440px); margin-inline: auto; }
section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.bg-paper { background: var(--paper); }
.bg-dark-section, .bg-graphite { background: var(--graphite); color: #fff; }
.bg-dark-section h2, .bg-dark-section h3, .bg-graphite h2, .bg-graphite h3 { color: #fff; }
.bg-dark-section .section-subtitle, .bg-graphite .section-subtitle, .bg-dark-section p { color: rgba(255,255,255,0.78); }
.section-label { display: block; font-size: .9rem; font-weight: 500; color: var(--accent); margin-bottom: .9rem; letter-spacing: 0; text-transform: none; }
.bg-graphite .section-label, .bg-dark-section .section-label { color: #9fd3c9; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-title { margin-bottom: .5em; }
.section-subtitle { font-size: 1.2rem; color: var(--steel); max-width: 60ch; margin: 0; }
.lead { font-size: 1.25rem; color: var(--steel); }
.serif-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }

/* ---------- buttons ---------- */
.btn, .btn-glow, .btn-outline-glow, .btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease; box-shadow: none; background-image: none;
}
.btn-primary, .btn-glow { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-glow:hover { background: var(--accent-ink); color: #fff; text-decoration: none; }
.btn-secondary, .btn-outline-glow { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover, .btn-outline-glow:hover { background: var(--ink); color: #fff; text-decoration: none; }
.on-dark .btn-primary, .on-dark .btn-glow, .bg-graphite .btn-primary, .bg-dark-section .btn-glow { background: #fff; color: var(--ink); }
.on-dark .btn-primary:hover, .bg-graphite .btn-primary:hover { background: var(--paper); }
.on-dark .btn-secondary, .on-dark .btn-outline-glow, .bg-graphite .btn-secondary, .bg-dark-section .btn-outline-glow { color: #fff; border-color: rgba(255,255,255,0.55); }
.on-dark .btn-secondary:hover, .bg-graphite .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .7rem 1.1rem; font-size: .92rem; }
.text-link { font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.94); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 2rem; }
.brand { display: inline-flex; align-items: baseline; gap: .1rem; font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand-stack .brand-sub { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: 0 0 0 52px; line-height: 1; }
.site-footer .brand img { height: 64px; }
@media (max-width: 520px) { .brand img { height: 34px; } .brand-stack .brand-sub { margin-left: 44px; font-size: .55rem; } }
.brand b { font-weight: 500; }
.brand .brand-sub { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-top: -.15rem; }
.nav { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: .55rem .85rem; color: var(--steel); font-weight: 500; font-size: .98rem; border-radius: var(--radius); }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--paper); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-phone { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: var(--radius); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; z-index: 999; padding: 1rem 1.25rem 2rem; overflow-y: auto; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a { display: block; padding: 1rem 0; font-size: 1.3rem; font-family: var(--font-display); color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a.sub { font-family: var(--font-body); font-size: 1rem; color: var(--steel); padding: .6rem 0 .6rem 1rem; border: 0; }
.mobile-nav .btn { margin-top: 1.5rem; width: 100%; }
@media (max-width: 1024px) { .nav, .nav-phone { display: none; } .nav-toggle { display: block; } }
@media (max-width: 520px) { .nav-actions .btn { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(7rem, 14vw, 10rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .92; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,24,29,0.93) 0%, rgba(21,24,29,0.72) 48%, rgba(21,24,29,0.28) 100%), linear-gradient(0deg, rgba(21,24,29,0.9) 0%, rgba(21,24,29,0) 55%); }
.hero .container { position: relative; z-index: 1; }
.hero-kicker { display: block; font-size: .95rem; color: rgba(255,255,255,0.72); margin-bottom: 1.25rem; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: #cfe6e1; }
.hero p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: rgba(255,255,255,0.86); max-width: 38rem; margin-bottom: 2rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- facts strip ---------- */
.facts { padding: 0; border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 1.75rem 1.5rem 1.75rem 0; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; margin-bottom: .3rem; }
.fact span { color: var(--steel); font-size: .95rem; }
@media (max-width: 860px) { .facts-grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .facts-grid { grid-template-columns: 1fr; } .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

/* ---------- capability rows ---------- */
.cap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.cap:first-of-type { border-top: 0; padding-top: 0; }
.cap.rev .cap-media { order: 2; }
.cap-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.cap-media img { width: 100%; height: 100%; object-fit: cover; }
.cap-body .index { font-family: var(--font-display); color: var(--steel); font-size: 1.1rem; display: block; margin-bottom: .5rem; }
.cap-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cap-body p { color: var(--steel); font-size: 1.1rem; max-width: 52ch; }
.cap-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .55rem; }
.cap-list li { position: relative; padding-left: 1.4rem; }
.cap-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: .7rem; height: 1.5px; background: var(--accent); }
.more-caps { margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; }
.more-caps ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 2.5rem; }
.more-caps li a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.more-caps li a span { color: var(--steel); font-weight: 400; font-size: .95rem; text-align: right; }
.more-caps li a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 860px) { .cap, .cap.rev { grid-template-columns: 1fr; } .cap.rev .cap-media { order: 0; } .more-caps { grid-template-columns: 1fr; } .more-caps ul { grid-template-columns: 1fr; } }

/* ---------- function matrix ---------- */
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-dark); }
.matrix-cell { padding: 2rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.matrix-cell:nth-child(3n) { border-right: 0; }
.matrix-cell:nth-last-child(-n+3) { border-bottom: 0; }
.matrix-cell h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.matrix-cell ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; color: rgba(255,255,255,0.8); font-size: .98rem; }
.matrix-cell li { padding-left: 1.1rem; position: relative; }
.matrix-cell li::before { content: ""; position: absolute; left: 0; top: .7em; width: .5rem; height: 1.5px; background: #9fd3c9; }
@media (max-width: 900px) { .matrix { grid-template-columns: 1fr 1fr; } .matrix-cell:nth-child(3n) { border-right: 1px solid var(--line-dark); } .matrix-cell:nth-child(2n) { border-right: 0; } .matrix-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-dark); } .matrix-cell:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 560px) { .matrix { grid-template-columns: 1fr; } .matrix-cell { border-right: 0 !important; } .matrix-cell:last-child { border-bottom: 0; } }

/* ---------- program steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { border-top: 2px solid var(--line); padding-top: 1.25rem; }
.step .n { font-family: var(--font-display); font-size: 2rem; color: var(--accent); display: block; margin-bottom: .5rem; line-height: 1; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--steel); font-size: 1rem; }
.step small { display: block; color: var(--mute); margin-top: .5rem; font-size: .88rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- industries mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--graphite); color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,24,29,0.88) 0%, rgba(21,24,29,0.1) 60%); }
.tile:hover img { transform: scale(1.04); } .tile:hover { text-decoration: none; }
.tile-body { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.25rem; z-index: 1; }
.tile h3 { color: #fff; font-size: 1.45rem; margin-bottom: .2rem; }
.tile p { color: rgba(255,255,255,0.82); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mosaic { grid-template-columns: 1fr; } }

/* ---------- reasons / values ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.reason h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.reason p { color: var(--steel); }
@media (max-width: 800px) { .reasons { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- statement (about teaser) ---------- */
.statement { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.statement-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.statement-media img { width: 100%; height: 100%; object-fit: cover; }
.statement blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.3; color: var(--ink); }
.statement blockquote footer { font-family: var(--font-body); font-size: .95rem; color: var(--steel); margin-top: 1.25rem; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* ---------- cards / grids (services page, blog, about) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card, .service-card, .blog-card, .value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img, .blog-card:hover img { transform: scale(1.03); }
.card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { font-size: 1.35rem; margin: 0; }
.card-body p { color: var(--steel); font-size: .98rem; margin: 0; }
.card-body .card-link, .read-more { margin-top: auto; padding-top: .75rem; font-weight: 500; color: var(--ink); }
.blog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card .blog-card-body, .blog-card > div:not(.card-media) { padding: 1.4rem 1.5rem 1.6rem; }
.blog-card h3 { font-size: 1.3rem; margin: .4rem 0 .5rem; } .blog-card h3 a { color: var(--ink); }
.blog-meta, .blog-category, .blog-date { color: var(--steel); font-size: .88rem; }
.blog-card p { color: var(--steel); font-size: .98rem; }

/* ---------- inner pages ---------- */
.page-banner { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-banner h1 { max-width: 18ch; }
.page-banner.has-photo { position: relative; color: #fff; background: var(--ink); border-bottom: 0; padding: clamp(6rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-banner.has-photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,24,29,0.93) 0%, rgba(21,24,29,0.7) 50%, rgba(21,24,29,0.35) 100%); }
.page-banner.has-photo .container { position: relative; z-index: 1; }
.page-banner.has-photo h1, .page-banner.has-photo .section-subtitle { color: #fff; }
.page-banner.has-photo .section-subtitle { color: rgba(255,255,255,0.85); }
.breadcrumb-custom { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--steel); }
.breadcrumb-custom li + li::before { content: "/"; margin-right: .4rem; color: var(--mute); }
.breadcrumb-custom a { color: var(--steel); }
.has-photo .breadcrumb-custom, .has-photo .breadcrumb-custom a { color: rgba(255,255,255,0.75); }
.content-narrow { max-width: 72ch; }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--paper); }
.aside h3 { font-size: 1.2rem; } .aside ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; } .aside li a { color: var(--ink); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.feature-list li { position: relative; padding-left: 1.5rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: .8rem; height: 1.5px; background: var(--accent); }
.process-step { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.process-step .step-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); line-height: 1; }
.process-step h3 { font-size: 1.2rem; margin-bottom: .25rem; } .process-step p { color: var(--steel); }
.tech-tag { display: inline-block; border: 1px solid var(--line); border-radius: 100px; padding: .35rem .85rem; font-size: .9rem; margin: 0 .4rem .5rem 0; color: var(--ink); }
.usecase { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; height: 100%; } .usecase h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; } .usecase p { color: var(--steel); font-size: .95rem; margin: 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; background: #fff; }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.35rem; background: none; border: 0; font: inherit; font-weight: 600; text-align: left; cursor: pointer; color: var(--ink); }
.faq-question::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--steel); transition: transform .2s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.35rem 1.25rem; color: var(--steel); }
.faq-item.active .faq-answer { display: block; }
.cta-section, .cta-band { background: var(--graphite); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.cta-band h2, .cta-section h2 { color: #fff; max-width: 22ch; }
.cta-band p, .cta-section p { color: rgba(255,255,255,0.78); max-width: 56ch; font-size: 1.15rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.error-section { padding: clamp(6rem, 12vw, 10rem) 0; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: var(--line); }
.blog-content { max-width: 72ch; font-size: 1.1rem; } .blog-content h2 { font-size: 1.9rem; margin-top: 2rem; } .blog-content h3 { font-size: 1.4rem; margin-top: 1.5rem; } .blog-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.blog-content blockquote { border-left: 3px solid var(--accent); margin: 1.5rem 0; padding: .25rem 1.25rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-intro h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.contact-intro p { color: var(--steel); font-size: 1.1rem; }
.contact-facts { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .5rem; }
.contact-facts a { color: var(--ink); font-weight: 500; }
.contact-form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: .4rem; }
.form-control, input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .8rem .95rem; }
.form-control:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 150px; resize: vertical; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; border: 1px solid; }
.alert-success { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.alert-danger { background: #fbe9e7; border-color: #c0392b; color: #7b1f16; }
.form-note { color: var(--mute); font-size: .88rem; margin-top: .75rem; }
.hp-field { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer .brand { color: #fff; } .site-footer .brand .brand-sub { color: rgba(255,255,255,0.6); }
.footer-desc { max-width: 36ch; margin-top: 1rem; }
.footer-title { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: .9rem; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.78); } .footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,0.55); font-size: .88rem; }
.footer-bottom p { margin: 0; } .footer-bottom-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; } .footer-bottom-links a { color: rgba(255,255,255,0.65); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- utilities kept for legacy pages ---------- */
.mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; } .mx-auto { margin-inline: auto; } .text-center { text-center: center; text-align: center; }
.row { display: flex; flex-wrap: wrap; margin: 0 -.75rem; } .row > [class*="col-"] { padding: 0 .75rem; flex: 1 1 100%; }
.col-lg-8 { flex-basis: 66.666%; max-width: 66.666%; } .col-lg-4 { flex-basis: 33.333%; max-width: 33.333%; } .col-lg-6, .col-md-6 { flex-basis: 50%; max-width: 50%; } .col-md-4 { flex-basis: 33.333%; max-width: 33.333%; }
@media (max-width: 900px) { .row > [class*="col-"] { flex-basis: 100%; max-width: 100%; } }
.d-none { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .001s !important; animation-duration: .001s !important; } }
