/* =========================================================
   Filolution — modern static site
   Design system & global styles
   ========================================================= */

/* ---- Fonts (self-hosted, GDPR-safe — no external CDN at runtime) ---- */
@import url("../fonts/fonts.css");   /* Poppins 400/500/600/700 + Space Grotesk 500/600/700 */

/* ---- Design tokens ---- */
:root {
  --slate-900: #131c25;
  --slate-800: #1a2632;
  --slate:     #233142;   /* brand dark */
  --slate-700: #2c3e50;

  --accent:    #ef4136;   /* brand red-orange */
  --accent-600:#d5311f;
  --amber:     #fbb040;   /* brand amber */

  --ink:   #1b2733;
  --body:  #445261;
  --muted: #71818f;
  --line:  #e6eaef;
  --bg:    #ffffff;
  --bg-soft: #f4f6f9;
  --white: #ffffff;

  --font-head: "Space Grotesk", "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 33, 46, .06);
  --shadow:    0 18px 50px -22px rgba(20, 33, 46, .35);
  --shadow-lg: 0 40px 80px -30px rgba(20, 33, 46, .45);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { color: var(--body); }
strong { color: var(--ink); font-weight: 600; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--slate); color: #cdd6df; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow { color: var(--amber); }
.section--dark .eyebrow::before { background: var(--amber); }
.center .eyebrow::before { display: none; }
.lead { font-size: 1.14rem; color: var(--body); }
.section--dark .lead { color: #b9c4ce; }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  box-shadow: 0 12px 26px -12px rgba(239, 65, 54, .6);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(239, 65, 54, .7); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line); box-shadow: none;
}
.btn--ghost:hover { --btn-fg: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--slate); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.4); box-shadow: none;
}
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 12px 22px; font-size: .9rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--accent);
}
.textlink .arrow { transition: transform .25s var(--ease); }
.textlink:hover .arrow { transform: translateX(5px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s, height .35s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(20,33,46,.07), 0 10px 30px -20px rgba(20,33,46,.4);
  height: 66px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.42rem; color: #fff; letter-spacing: -.02em; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(239,65,54,.25); }
.scrolled .brand { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  color: rgba(255,255,255,.9); padding: 10px 16px; border-radius: 8px; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.scrolled .nav a { color: var(--slate-700); }
.scrolled .nav a:hover, .scrolled .nav a.active { color: var(--ink); }
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; border-radius: 10px;
}
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: #fff; border-radius: 3px; transition: transform .3s var(--ease), opacity .2s, top .3s; }
.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); background: #fff; }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); background: #fff; }

/* Mobile slide-in menu */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--gutter) 40px; gap: 6px;
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-900) 100%);
  transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
body.menu-open .mobile-nav { transform: translateX(0); visibility: visible; }
.mobile-nav a {
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.7rem; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.09); opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s;
}
.mobile-nav a:hover { color: var(--amber); }
body.menu-open .mobile-nav a { opacity: 1; transform: none; }
body.menu-open .mobile-nav a:nth-child(1){ transition-delay:.12s }
body.menu-open .mobile-nav a:nth-child(2){ transition-delay:.17s }
body.menu-open .mobile-nav a:nth-child(3){ transition-delay:.22s }
body.menu-open .mobile-nav a:nth-child(4){ transition-delay:.27s }
body.menu-open .mobile-nav a:nth-child(5){ transition-delay:.32s }
.mobile-nav .btn { margin-top: 26px; align-self: flex-start; font-size: 1rem; padding: 14px 26px; border-bottom: 0; color: #fff; }
.mobile-nav .btn:hover { color: #fff; }
body.menu-open .mobile-nav .btn { opacity: 1; transform: none; transition-delay: .38s; }
.mobile-contact { margin-top: 28px; color: #9fb0bf; font-size: .95rem; }
.mobile-contact a { color: var(--amber); font-weight: 600; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(19,28,37,.94) 0%, rgba(19,28,37,.78) 42%, rgba(19,28,37,.35) 100%),
    linear-gradient(0deg, rgba(19,28,37,.75), rgba(19,28,37,.2) 55%);
}
.hero__inner { padding-top: var(--header-h); max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .hl { color: var(--amber); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.32rem); color: #d6dee6; max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-family: var(--font-head); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content:""; position:absolute; left:50%; top:8px; width:4px; height:8px; margin-left:-2px; background:#fff; border-radius:2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0%{opacity:0; transform:translateY(-4px)} 40%{opacity:1} 80%{opacity:0; transform:translateY(10px)} }

.hero-badges { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 46px; }
.hero-badge { display: flex; align-items: center; gap: 12px; }
.hero-badge b { font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1; }
.hero-badge span { font-size: .85rem; color: #aebbc6; max-width: 130px; }

/* =========================================================
   Sub-page hero
   ========================================================= */
.pagehero {
  position: relative; color: #fff; padding: calc(var(--header-h) + 70px) 0 70px; overflow: hidden;
  background: var(--slate);
}
.pagehero::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(19,28,37,.92), rgba(19,28,37,.6)); z-index:0; }
.pagehero__bg { position: absolute; inset: 0; z-index: -1; }
.pagehero__bg img { width:100%; height:100%; object-fit: cover; }
.pagehero .container { position: relative; z-index: 1; }
.pagehero h1 { color: #fff; max-width: 15ch; }
.pagehero p { color: #cdd7e0; max-width: 60ch; margin-top: 16px; font-size: 1.1rem; }
.crumbs { display:flex; gap:8px; align-items:center; font-family: var(--font-head); font-size:.85rem; color:#9fb0bf; margin-bottom:22px; letter-spacing:.04em; }
.crumbs a:hover { color:#fff; }
.crumbs span { color: var(--amber); }

/* =========================================================
   Section heading block
   ========================================================= */
.sec-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; }
.sec-head p { margin-top: 16px; font-size: 1.1rem; }

/* =========================================================
   Service cards
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before { content:""; position:absolute; left:0; top:0; height:4px; width:100%; background: linear-gradient(90deg, var(--accent), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 68px; height: 68px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(150deg, #fff0ee, #fdeede); border: 1px solid #f6ddd6;
}
.card__icon img { width: 40px; height: 40px; object-fit: contain; }
.card h3 { margin-bottom: 12px; }
.card__list { margin-top: 16px; display: grid; gap: 10px; }
.card__list li { position: relative; padding-left: 28px; font-size: .97rem; color: var(--body); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/10px no-repeat;
}
.card .note { margin-top: 18px; font-size: .85rem; color: var(--muted); background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; }
.card .textlink { margin-top: 22px; }

/* =========================================================
   Feature rows (alternating)
   ========================================================= */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 84px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature__media { position: relative; }
.feature__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.feature__media .tag {
  position: absolute; bottom: 18px; left: 18px; background: rgba(19,28,37,.85); color: #fff; backdrop-filter: blur(6px);
  padding: 9px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em;
}
.feature:nth-child(even) .feature__media { order: 2; }
.feature h2 { margin-bottom: 18px; }
.feature p + p { margin-top: 14px; }
.feature .textlink { margin-top: 22px; }

/* =========================================================
   Split "stand for" / stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat span { color: #a9b6c1; font-size: .92rem; margin-top: 10px; display: block; }
.section--dark .stat b .u { color: var(--amber); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .vi { width: 52px; height: 52px; border-radius: 13px; background: linear-gradient(150deg, var(--slate), var(--slate-700)); display:grid; place-items:center; margin-bottom: 18px; color: var(--amber); }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { font-size: .96rem; }

/* =========================================================
   Team
   ========================================================= */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; margin-inline: auto; }
.member { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: start; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.member img { width: 130px; height: 160px; object-fit: cover; border-radius: 12px; }
.member h3 { font-size: 1.25rem; margin-bottom: 4px; }
.member .role { color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 12px; display:block; }
.member p { font-size: .93rem; }

/* =========================================================
   Projects grid + filter
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filters button {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--body); transition: all .25s var(--ease);
}
.filters button:hover { border-color: var(--slate); color: var(--ink); }
.filters button.active { background: var(--slate); border-color: var(--slate); color: #fff; }

.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.project {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); aspect-ratio: 16/11; display: block;
}
.project img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; transition: transform .7s var(--ease); }
.project::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(19,28,37,.9) 8%, rgba(19,28,37,.28) 48%, rgba(19,28,37,0) 78%); }
.project__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 30px; color:#fff; }
.project__cat { font-family: var(--font-head); font-size:.76rem; letter-spacing:.14em; text-transform: uppercase; color: var(--amber); }
.project h3 { color:#fff; margin: 8px 0 4px; font-size: 1.5rem; }
.project .go { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:600; font-size:.92rem; margin-top:10px; opacity:0; transform: translateY(8px); transition: all .35s var(--ease); }
.project:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project:hover img { transform: scale(1.07); }
.project:hover .go { opacity:1; transform:none; }
.project.hide { display: none; }

/* Project detail gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a, .gallery figure { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width:100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery .wide { grid-column: span 2; }

.detail-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px,5vw,60px); align-items:start; }
.detail-body h2 { margin-bottom: 16px; }
.detail-body h3 { margin: 30px 0 12px; }
.detail-body p + p { margin-top: 14px; }
.detail-aside { position: sticky; top: 100px; background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.detail-aside h4 { font-size: .82rem; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); font-family: var(--font-head); margin-bottom: 6px; }
.detail-aside dl { display:grid; gap: 16px; margin: 0; }
.detail-aside dt { font-family: var(--font-head); font-weight:700; color: var(--ink); font-size:.95rem; }
.detail-aside dd { margin:0; font-size:.92rem; color: var(--body); }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top: 6px; }
.chip { background:#fff; border:1px solid var(--line); border-radius:999px; padding:5px 13px; font-size:.8rem; font-family:var(--font-head); font-weight:600; color: var(--slate-700); }

.pager { display:flex; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 30px; border-top:1px solid var(--line); }
.pager a { display:flex; flex-direction: column; gap:4px; font-size:.85rem; color: var(--muted); }
.pager a b { font-family: var(--font-head); color: var(--ink); font-size:1.05rem; }
.pager a:hover b { color: var(--accent); }
.pager .next { text-align: right; margin-left: auto; }

/* =========================================================
   CTA band
   ========================================================= */
.cta {
  position: relative; overflow: hidden; text-align: center; color:#fff;
  background: linear-gradient(120deg, var(--slate) 0%, var(--slate-900) 100%);
}
.cta::before, .cta::after { content:""; position:absolute; border-radius:50%; filter: blur(10px); opacity:.5; }
.cta::before { width: 460px; height:460px; background: radial-gradient(circle, rgba(239,65,54,.5), transparent 62%); top:-160px; right:-120px; }
.cta::after  { width: 420px; height:420px; background: radial-gradient(circle, rgba(251,176,64,.35), transparent 62%); bottom:-180px; left:-120px; }
.cta .container { position: relative; z-index:1; }
.cta h2 { color:#fff; max-width: 18ch; margin-inline:auto; }
.cta p { color:#c9d3dc; max-width: 60ch; margin: 18px auto 30px; font-size:1.1rem; }
.cta .btn-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* =========================================================
   Forms
   ========================================================= */
.form-wrap { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items:start; }
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-head); font-weight:600; font-size:.9rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width:100%; padding: 14px 16px; border:1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink);
  background:#fdfdfe; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(239,65,54,.12); }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size:.82rem; color: var(--muted); margin-top: 10px; }
/* Honeypot: hidden from humans, tempting to bots */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.spam-check input { max-width: 220px; }
.form-card .btn { width:100%; justify-content:center; margin-top: 6px; }

.contact-info { display:grid; gap: 22px; }
.info-item { display:flex; gap:16px; align-items:flex-start; }
.info-item .ii { flex:0 0 48px; width:48px; height:48px; border-radius:12px; background: linear-gradient(150deg,#fff0ee,#fdeede); border:1px solid #f6ddd6; display:grid; place-items:center; color: var(--accent); }
.info-item h4 { font-family: var(--font-head); font-size:1rem; color: var(--ink); margin-bottom: 3px; }
.info-item a, .info-item p { color: var(--body); font-size:.98rem; }
.info-item a:hover { color: var(--accent); }
.map-embed { border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 6px; }
.map-embed iframe { display:block; width:100%; height:300px; border:0; }

/* =========================================================
   Legal / prose pages
   ========================================================= */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.4rem,2.6vw,1.9rem); margin: 40px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--body); }
.prose p { margin-bottom: 14px; }
.prose ul { display:grid; gap:9px; margin: 0 0 16px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content:""; position:absolute; left:2px; top:.6em; width:7px; height:7px; border-radius:50%; background: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .card-block { background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 16px 0; }
.prose strong { color: var(--ink); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--slate-900); color: #9fb0bf; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; }
.site-footer .brand { color:#fff; margin-bottom: 16px; }
.footer-about p { max-width: 34ch; font-size:.95rem; color:#8b9baa; }
.footer-col h4 { color:#fff; font-family: var(--font-head); font-size: .82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom: 18px; }
.footer-col ul { display:grid; gap:11px; }
.footer-col a { color:#9fb0bf; font-size:.96rem; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-contact p { font-size:.96rem; margin-bottom: 8px; color:#9fb0bf; }
.footer-contact a { color:#fff; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom { display:flex; flex-wrap:wrap; gap: 12px 24px; justify-content: space-between; align-items:center;
  margin-top: 50px; padding-top: 24px; border-top:1px solid rgba(255,255,255,.09); font-size:.86rem; color:#7c8c9b; }
.footer-bottom a:hover { color:#fff; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .cards, .values { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero__scroll { display: none; }
  .hero { min-height: 640px; }
  .hero__inner { padding-top: calc(var(--header-h) + 24px); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .cards, .values, .portfolio, .stats, .team, .gallery { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .team { max-width: 480px; }
  .member { grid-template-columns: 1fr; }
  .member img { width: 100%; height: 220px; }
  .gallery .wide { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .pager { flex-direction: column; }
  .pager .next { text-align: left; }
  .hero-badges { gap: 20px 26px; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .btn { padding: 14px 24px; }
}
