/* =========================================================
   H&T Webstudio — Design System
   Brand: Navy #0b1a27 · Blue #1e95dd · White
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --navy-900: #0a1826;
  --navy-800: #0d2033;
  --navy-700: #122a41;
  --navy-600: #17334d;
  --blue-700: #146aa8;
  --blue-600: #1580c4;
  --blue: #1e95dd;
  --blue-400: #4aacea;
  --blue-200: #bfe1f7;
  --blue-50: #eef7fd;

  /* Neutrals */
  --white: #ffffff;
  --paper: #f6f9fc;
  --paper-2: #eef2f8;
  --line: #e2e8f1;
  --ink-900: #0f1d2c;
  --ink-700: #33475c;
  --ink-500: #5f7386;
  --ink-300: #93a3b4;

  /* Semantic */
  --bg: var(--white);
  --text: var(--ink-900);
  --muted: var(--ink-500);
  --primary: var(--blue);

  /* Shape & motion */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 24, 38, .06), 0 2px 8px rgba(10, 24, 38, .05);
  --shadow: 0 8px 30px rgba(10, 24, 38, .08);
  --shadow-lg: 0 24px 60px rgba(10, 24, 38, .14);
  --shadow-blue: 0 14px 34px rgba(30, 149, 221, .28);
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s;
  --t: .32s;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  color: var(--ink-900);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--navy { background: var(--navy-900); color: #d8e3ee; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--paper { background: var(--paper); }
.grid { display: grid; gap: 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }
.section--navy .eyebrow { color: var(--blue-400); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #a9bccd; }
.lead { font-size: 1.16rem; color: var(--ink-700); }
.section--navy .lead { color: #c4d3e0; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--blue); --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--_bg); color: var(--_fg); cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
              background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform var(--t) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--ghost { --_bg: transparent; --_fg: var(--ink-900); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-600); box-shadow: none; }
.btn--light { --_bg: #fff; --_fg: var(--navy-900); }
.btn--outline-light { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }

.textlink { color: var(--blue-600); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.textlink .arrow { transition: transform var(--t) var(--ease); }
.textlink:hover .arrow { transform: translateX(4px); }
.section--navy .textlink { color: var(--blue-400); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(10,24,38,.05); }
.nav { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 38px; width: auto; }
.brand .brand-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--navy-900); letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500; font-size: .96rem; color: var(--ink-700);
  padding: 9px 14px; border-radius: 10px; position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--navy-900); background: var(--paper-2); }
.nav-links a.active { color: var(--blue-600); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--white);
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .8rem;
  padding: 7px 12px; color: var(--ink-500); transition: color var(--t-fast), background var(--t-fast);
}
.lang-toggle button.active { background: var(--blue); color: #fff; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--navy-900); border-radius: 2px; transform: translate(-50%,-50%); transition: transform var(--t), opacity var(--t); }
.burger span:nth-child(1) { transform: translate(-50%, -6px); }
.burger span:nth-child(3) { transform: translate(-50%, 6px); }
.burger.open span:nth-child(1) { transform: translate(-50%,-50%) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translate(-50%,-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #cfdcea; overflow: hidden; padding: clamp(96px, 15vh, 168px) 0 clamp(72px, 10vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(30,149,221,.28), transparent 60%),
    radial-gradient(48% 50% at 8% 88%, rgba(30,149,221,.14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--blue-400); }
.hero-sub { font-size: 1.18rem; color: #b8cadb; max-width: 34ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #9fb4c8; font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--blue-400); flex: none; }

/* Hero visual card */
.hero-visual { position: relative; }
.browser {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.6);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4dbe4; display: inline-block; }
.browser-bar i:nth-child(1){ background:#ff5f57;} .browser-bar i:nth-child(2){ background:#febc2e;} .browser-bar i:nth-child(3){ background:#28c840;}
.browser-url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: .74rem; color: var(--ink-500); padding: 5px 12px; }
.browser-body { padding: 22px; display: grid; gap: 14px; }
.bb-hero { height: 96px; border-radius: 12px; background: linear-gradient(120deg, var(--navy-800), var(--blue-600)); position: relative; overflow: hidden; }
.bb-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 80% 20%, rgba(255,255,255,.25), transparent 60%);}
.bb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bb-card { height: 58px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
.bb-line { height: 10px; border-radius: 5px; background: var(--paper-2); }
.bb-line.w70 { width: 70%; } .bb-line.w45 { width: 45%; background: var(--blue-200);}
.floating-stat {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.floating-stat .fs-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--navy-900); }
.floating-stat .fs-lbl { font-size: .74rem; color: var(--ink-500); }
.floating-stat .fs-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.floating-stat.one { top: -22px; left: -26px; animation: float 6s var(--ease) infinite; }
.floating-stat.two { bottom: -22px; right: -22px; animation: float 6s var(--ease) infinite 1.5s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* Marquee / logos strip */
.trust { border-block: 1px solid var(--line); background: var(--white); }
.trust .container { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: center; padding-block: 26px; }
.trust p { margin: 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); font-weight: 600; }
.trust .pill { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-700); font-weight: 600; font-size: .95rem; }
.trust .pill svg { color: var(--blue); }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(2.1rem, 4vw, 3rem); color: var(--blue-400); line-height: 1; }
.section--navy .stat .num { color: var(--blue-400); }
.stat .lbl { color: #9fb4c8; margin-top: 8px; font-size: .96rem; }

/* ---------- Cards / services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-400));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600); margin-bottom: 20px;
  transition: transform var(--t) var(--ease), background var(--t);
}
.card:hover .ico { background: var(--blue); color: #fff; transform: scale(1.06) rotate(-3deg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card .card-meta { margin-top: 18px; font-size: .86rem; color: var(--blue-600); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }

/* Feature (why us) split */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .fi-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.feature-list h4 { font-family: 'Sora', sans-serif; margin: 2px 0 4px; font-size: 1.08rem; color: var(--navy-900); }
.feature-list p { margin: 0; color: var(--muted); font-size: .96rem; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.steps::before { content:""; position:absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-200) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; }
.step .dot {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-200);
  color: var(--blue-600); font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center; margin: 0 auto 18px; position: relative; z-index: 2;
  transition: transform var(--t) var(--ease), background var(--t), color var(--t), border-color var(--t);
}
.step:hover .dot { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-4px); }
.step h4 { font-family: 'Sora', sans-serif; font-size: 1.05rem; margin: 0 0 6px; color: var(--navy-900); }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Portfolio ---------- */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work .thumb { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; overflow: hidden; }
.work .thumb.g1 { background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.work .thumb.g2 { background: linear-gradient(135deg, #123047, #1e95dd); }
.work .thumb.g3 { background: linear-gradient(135deg, #0d2033, #2b6f9e); }
.work .thumb .soon {
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(4px);
}
.work .thumb::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 90% at 80% 10%, rgba(255,255,255,.22), transparent 55%); }
.work .work-body { padding: 20px 22px; }
.work .work-body .cat { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); font-weight: 600; }
.work .work-body h4 { font-family: 'Sora', sans-serif; margin: 6px 0 4px; color: var(--navy-900); }
.work .work-body p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 14px; overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.faq-item.open { border-color: var(--blue-200); box-shadow: var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.06rem; color: var(--navy-900); }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; transition: transform var(--t) var(--ease), background var(--t), color var(--t); }
.faq-item.open .pm { background: var(--blue); color: #fff; transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t) var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.founder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t); }
.founder:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.founder .photo { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.founder .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.founder:hover .photo img { transform: scale(1.04); }
.founder .f-body { padding: 24px 26px 28px; }
.founder .f-role { color: var(--blue-600); font-weight: 600; font-size: .86rem; letter-spacing: .04em; }
.founder h3 { margin: 4px 0 10px; }
.founder .f-contact { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.founder .f-contact a { color: var(--ink-700); font-size: .95rem; display: inline-flex; align-items: center; gap: 10px; transition: color var(--t-fast); }
.founder .f-contact a:hover { color: var(--blue-600); }
.founder .f-contact svg { color: var(--blue); flex: none; }

/* team placeholder */
.team-more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 30px; }
.member-slot { border: 2px dashed var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; padding: 48px 20px; text-align: center; color: var(--ink-300); background: var(--paper); }
.member-slot .slot-ico { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-300); margin-bottom: 14px; }
.member-slot strong { color: var(--ink-700); font-family: 'Sora', sans-serif; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.value .ico { width: 50px; height: 50px; border-radius: 12px; background: rgba(30,149,221,.16); color: var(--blue-400); display: grid; place-items: center; margin-bottom: 18px; }
.value h3 { color: #fff; margin-bottom: 8px; }
.value p { color: #a9bccd; margin: 0; font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-800), var(--navy-900)); border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 72px); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 70% at 50% 0%, rgba(30,149,221,.35), transparent 65%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b8cadb; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-tabs { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.form-tabs button { border: 0; background: transparent; cursor: pointer; font-family: 'Sora', sans-serif; font-weight: 600; font-size: .92rem; color: var(--ink-500); padding: 10px 20px; border-radius: 999px; transition: background var(--t), color var(--t), box-shadow var(--t); }
.form-tabs button.active { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink-700); font-family: 'Sora', sans-serif; }
.field label .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .98rem; color: var(--ink-900); background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,149,221,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue-600); font-weight: 600; }
.form-note { font-size: .84rem; color: var(--ink-300); margin-top: 14px; text-align: center; }
.form-panel { display: none; }
.form-panel.active { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }

/* contact aside */
.contact-aside { display: grid; gap: 18px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h4 { font-family: 'Sora', sans-serif; margin: 0 0 12px; color: var(--navy-900); display: flex; align-items: center; gap: 10px; }
.info-card h4 svg { color: var(--blue); }
.info-card a { color: var(--ink-700); }
.info-card a:hover { color: var(--blue-600); }
.info-line { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--ink-700); font-size: .96rem; }
.info-line svg { color: var(--blue); flex: none; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(.1); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.12rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-700); font-size: 1rem; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--blue-600); font-weight: 500; }
.legal .updated { color: var(--ink-300); font-size: .9rem; }
.notice {
  background: var(--blue-50); border: 1px solid var(--blue-200); border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 16px 20px; color: var(--ink-700); font-size: .92rem; margin: 24px 0;
}
.notice strong { color: var(--navy-900); }
.page-hero { background: var(--navy-900); color: #cfdcea; padding: clamp(80px,12vh,120px) 0 clamp(48px,7vw,72px); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(55% 60% at 85% 10%, rgba(30,149,221,.26), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #b8cadb; font-size: 1.12rem; max-width: 620px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: #7f95a9; font-size: .86rem; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--blue-400); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb4c8; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .f-brand img { height: 40px; margin-bottom: 18px; }
.footer .f-brand p { color: #8ba0b4; font-size: .95rem; max-width: 30ch; }
.footer h5 { font-family: 'Sora', sans-serif; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: #9fb4c8; font-size: .96rem; transition: color var(--t-fast), padding var(--t-fast); }
.footer ul a:hover { color: var(--blue-400); padding-left: 4px; }
.footer .f-contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .95rem; }
.footer .f-contact-line svg { color: var(--blue-400); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #9fb4c8; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #7f95a9; }
.footer-bottom a:hover { color: var(--blue-400); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ---------- i18n visibility ---------- */
html[data-lang="de"] [data-lang-only="en"] { display: none !important; }
html[data-lang="en"] [data-lang-only="de"] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .feature-split { grid-template-columns: 1fr; gap: 36px; }
  .cards, .values, .portfolio { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links, .nav .desktop-only { display: none; }
  .burger { display: block; }
  .mobile-menu { display: block; }
  .founders { grid-template-columns: 1fr; }
  .team-more { grid-template-columns: 1fr; }
  .cards, .values, .portfolio, .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-stat.one { left: -6px; top: -14px; } .floating-stat.two { right: -6px; }
  .brand .brand-name { display: none; }
}

/* ---------- Mobile menu drawer ---------- */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: #fff; z-index: 200;
  transform: translateX(100%); transition: transform var(--t) var(--ease); box-shadow: var(--shadow-lg);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 14px 12px; border-radius: 12px; font-family: 'Sora', sans-serif; font-weight: 600; color: var(--navy-900); font-size: 1.05rem; }
.mobile-menu a:hover { background: var(--paper-2); }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu .mm-close { width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: 1.2rem; color: var(--navy-900); }
.mobile-menu .btn { margin-top: 18px; }
.overlay { position: fixed; inset: 0; background: rgba(10,24,38,.5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
.overlay.open { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
