/* ============================================
   TAURPA — Design System
   ============================================ */

/* ---- Self-hosted Inter variable font (moved off Google Fonts: GDPR — no
   visitor IPs sent to Google — and faster: 2 local files, no 3rd-party DNS/TLS) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #1a2744;
  --teal: #0ea5c4;
  --teal-dark: #0b8ea8;
  --text: #1a1a2e;
  --bg: #f8f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 4px rgba(26, 39, 68, 0.07);
  --shadow-md: 0 4px 16px rgba(26, 39, 68, 0.1);
  --radius: 8px;
  --radius-btn: 6px;
  --max-w: 1280px;
  --font: 'Inter', 'Source Sans Pro', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.3em; }

/* ---- Skip link ---- */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--teal); color: #fff; padding: 8px 16px; z-index: 9999; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { top: 0; }

/* ---- Typography ---- */
h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 600; line-height: 1.3; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; display: block; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }
.section-intro { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-intro h2 { margin-bottom: 16px; }
.section-intro p { font-size: 18px; color: #4a5068; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-btn); font-size: 16px; font-weight: 600; cursor: pointer; border: none; transition: background 0.2s, box-shadow 0.2s, transform 0.1s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-secondary:hover { background: rgba(14, 165, 196, 0.07); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f0f4f8; }
.btn-white-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- Cards ---- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: #4a5068; margin-bottom: 14px; }
.card a.card-link { font-size: 15px; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; }

/* ---- Grid layouts ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow 0.2s; }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; text-decoration: none; flex-shrink: 0; }
.logo:hover { text-decoration: none; color: var(--navy); }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link { padding: 8px 12px; border-radius: var(--radius-btn); font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.nav-link:hover { background: var(--bg); color: var(--navy); text-decoration: none; }
.nav-link.active { color: var(--teal); }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px 12px; border-radius: var(--radius-btn); font-size: 15px; font-weight: 500; color: var(--text); transition: background 0.15s; }
.nav-dropdown-toggle:hover { background: var(--bg); }
.nav-dropdown-toggle::after { content: '▾'; font-size: 10px; opacity: 0.5; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px; min-width: 310px; display: none; z-index: 200; }
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 10px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; transition: background 0.15s; line-height: 1.4; }
.dropdown-item:hover { background: var(--bg); color: var(--navy); text-decoration: none; }

/* Lang switcher */
.lang-switcher { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.lang-switcher a { color: var(--teal); padding: 4px 7px; border-radius: 4px; }
.lang-switcher a:hover { text-decoration: none; background: var(--bg); }
.lang-switcher .lang-active { color: var(--navy); pointer-events: none; }
.lang-sep { color: var(--border); font-weight: 400; }

/* Mobile nav */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; flex-shrink: 0; }
.hamburger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 68px 0 0 0; background: var(--white); z-index: 99; overflow-y: auto; padding: 24px; border-top: 1px solid var(--border); flex-direction: column; gap: 2px; }
.mobile-menu.open { display: flex; }
.mobile-menu .m-nav-link { padding: 13px 16px; font-size: 16px; border-radius: var(--radius); display: block; color: var(--text); font-weight: 500; }
.mobile-menu .m-nav-link:hover { background: var(--bg); text-decoration: none; }
.mobile-menu-section { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #8a92a6; padding: 18px 16px 6px; }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-menu-bottom { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid var(--border); }
.mobile-lang { display: flex; gap: 10px; align-items: center; padding: 0 16px; font-weight: 600; font-size: 15px; }
.mobile-lang a { color: var(--teal); }
.mobile-lang .lang-active { color: var(--navy); pointer-events: none; }

@media (max-width: 960px) {
  .main-nav, .lang-switcher, .header-cta { display: none !important; }
  .hamburger { display: flex; }
}

/* ---- Hero ---- */
.hero { background: var(--navy); color: var(--white); padding: 96px 0; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(14,165,196,0.14) 0%, transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(14,165,196,0.09) 0%, transparent 45%),
    repeating-linear-gradient(60deg, transparent, transparent 40px, rgba(255,255,255,0.012) 40px, rgba(255,255,255,0.012) 80px);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-content { max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero .hero-sub { font-size: 19px; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 660px; line-height: 1.6; }
@media (max-width: 768px) { .hero { padding: 64px 0; } .hero .hero-sub { font-size: 17px; } }

/* Hero inner (service/content pages) */
.hero-inner { background: var(--navy); color: var(--white); padding: 60px 0; position: relative; overflow: hidden; }
.hero-inner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 10% 60%, rgba(14,165,196,0.10) 0%, transparent 50%); pointer-events: none; }
.hero-inner .container { position: relative; }
.hero-inner h1 { color: var(--white); margin-bottom: 16px; }
.hero-inner .hero-intro { color: rgba(255,255,255,0.82); font-size: 18px; max-width: 660px; }
.breadcrumb { margin-bottom: 16px; font-size: 13px; color: rgba(255,255,255,0.50); }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* ---- Section backgrounds ---- */
.bg-white { background: var(--white); }
.bg-light { background: var(--bg); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.82); }

/* ---- Problem cards ---- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.problem-card .p-icon { font-size: 26px; margin-bottom: 12px; line-height: 1; }
.problem-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.problem-card p { font-size: 15px; color: #5a6278; margin: 0; }

/* ---- Service cards ---- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-cards { grid-template-columns: 1fr; } }
.service-card .s-icon { font-size: 30px; margin-bottom: 14px; line-height: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: #4a5068; font-size: 15px; margin-bottom: 16px; }
.service-card a.card-link { font-size: 14px; font-weight: 600; color: var(--teal); }

/* ---- Comparison 3-col ---- */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.compare-card h3 { color: var(--navy); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--teal); }
.compare-card p { color: #5a6278; font-size: 15px; margin: 0; }

/* ---- Process steps ---- */
.steps { list-style: none; padding: 0; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); align-items: start; }
.step:last-child { border-bottom: none; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; flex-shrink: 0; }
.step h3 { margin-bottom: 8px; }
.step p { color: #5a6278; margin: 0; font-size: 15px; }
@media (max-width: 600px) { .step { grid-template-columns: 44px 1fr; gap: 14px; } }

/* ---- Project phases (how we work) ---- */
.phases { list-style: none; padding: 0; counter-reset: phase; }
.phase { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); align-items: start; counter-increment: phase; }
.phase:last-child { border-bottom: none; }
.phase-num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; flex-shrink: 0; }
.phase-num::before { content: counter(phase); }
.phase h3 { margin-bottom: 8px; font-size: 18px; }
.phase p { color: #5a6278; margin-bottom: 6px; font-size: 15px; }
.phase .phase-cost { font-size: 13px; font-weight: 600; color: var(--teal); }

/* ---- Why TAURPA ---- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr; } }
.reason { padding: 24px 24px 24px 20px; border-left: 3px solid var(--teal); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.reason h3 { margin-bottom: 10px; font-size: 18px; }
.reason p { color: #5a6278; margin: 0; font-size: 15px; }

/* ---- FAQ accordion ---- */
.faq-list { list-style: none; padding: 0; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; gap: 16px; text-align: left; font-size: 16px; font-weight: 600; color: var(--text); font-family: var(--font); }
.faq-question:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 2px; }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform 0.25s, background 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; border-color: var(--teal); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 4px 20px; color: #5a6278; font-size: 15px; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) { .faq-answer { transition: none; } .faq-icon { transition: none; } }

/* ---- Contact form ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.req-mark { color: var(--teal); margin-left: 2px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-btn);
  font-size: 16px; font-family: var(--font); color: var(--text); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,165,196,0.15); }
input.field-err, select.field-err, textarea.field-err { border-color: #e53e3e; }
.field-error, .form-error { color: #e53e3e; font-size: 13px; margin-top: 4px; display: block; min-height: 16px; }
textarea { resize: vertical; min-height: 110px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-group input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--teal); cursor: pointer; }
.checkbox-group label { font-size: 14px; color: #5a6278; font-weight: 400; cursor: pointer; line-height: 1.5; }
.checkbox-group a { color: var(--teal); }
.honeypot-field { display: none !important; visibility: hidden !important; }
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin-top: 16px; font-size: 15px; font-weight: 500; }
.form-msg.success { background: #e6f9f2; color: #1a6b44; border: 1px solid #b2e4cf; }
.form-msg.error-msg { background: #fef2f2; color: #c53030; border: 1px solid #fed7d7; }
.contact-aside h3 { margin-bottom: 14px; font-size: 18px; }
.contact-aside p { color: #5a6278; font-size: 15px; margin-bottom: 20px; }
.contact-link-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; transition: box-shadow 0.2s; }
.contact-link-item:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.c-icon { font-size: 20px; }

/* ---- CTA strip ---- */
.cta-strip { background: var(--navy); color: var(--white); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 50%, rgba(14,165,196,0.12) 0%, transparent 65%); pointer-events: none; }
.cta-strip .container { position: relative; }
.cta-strip h2 { color: var(--white); margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.82); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }

/* ---- Planned service notice ---- */
.planned-notice { display: flex; gap: 14px; align-items: flex-start; background: #fff8e1; border: 1.5px solid #f6c90e; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 40px; }
.planned-notice-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.planned-notice p { font-size: 15px; color: #7a5c00; line-height: 1.55; margin: 0; }
.planned-notice strong { display: block; margin-bottom: 4px; color: #5a4400; }

/* ---- Placeholder styling ---- */
.ph { display: inline-block; background: #fef9c3; border: 1.5px dashed #ca8a04; border-radius: 4px; padding: 2px 8px; font-size: 13px; color: #854d0e; font-family: monospace; margin: 2px 0; }
.ph-block { background: #fef9c3; border: 1.5px dashed #ca8a04; border-radius: var(--radius); padding: 20px 24px; margin: 20px 0; }
.ph-block strong { display: block; margin-bottom: 6px; font-size: 12px; color: #713f12; letter-spacing: 0.05em; text-transform: uppercase; }
.ph-block p { color: #854d0e; font-size: 14px; margin: 0; line-height: 1.6; }

/* ---- Table ---- */
.tbl-wrap { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { background: var(--navy); color: #fff; padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 600; }
td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: var(--bg); }

/* ---- Deliverables list ---- */
.deliv-list { list-style: none; padding: 0; }
.deliv-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--border); position: relative; font-size: 15px; }
.deliv-list li:last-child { border-bottom: none; }
.deliv-list li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---- Two-col page layout ---- */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .page-layout { grid-template-columns: 1fr; } }
.sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.sidebar-box h3 { margin-bottom: 12px; font-size: 18px; }
.sidebar-box p { color: #5a6278; font-size: 15px; margin-bottom: 20px; }

/* ---- Related services ---- */
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px; font-size: 14px; font-weight: 500; color: var(--text); background: var(--white); transition: box-shadow 0.15s, border-color 0.15s; }
.related-links a:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; box-shadow: var(--shadow); }

/* ---- Legal pages ---- */
.legal-wrap { max-width: 760px; }
.legal-wrap h2 { font-size: 20px; margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal-wrap h2:first-of-type { border-top: none; margin-top: 8px; padding-top: 0; }
.legal-wrap p, .legal-wrap li { font-size: 15px; color: #4a5068; }
.legal-wrap li { margin-bottom: 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 0.7fr 0.7fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand .f-logo { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; display: inline-block; margin-bottom: 10px; }
.footer-brand .f-tagline { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.footer-brand .f-email a { color: rgba(255,255,255,0.82); font-weight: 500; font-size: 15px; }
.footer-brand .f-email a:hover { color: #fff; text-decoration: none; }
.footer-brand .f-social { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }
.footer-brand .f-social a { color: rgba(255,255,255,0.72); font-weight: 600; }
.footer-brand .f-social a:hover { color: #fff; text-decoration: none; }
.footer-brand .f-social span { color: rgba(255,255,255,0.32); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.72); font-size: 14px; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.f-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.f-lang { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; }
.f-lang a { color: rgba(255,255,255,0.6); }
.f-lang a:hover { color: #fff; text-decoration: none; }
.f-lang .lang-active { color: #fff; pointer-events: none; }
.f-lang-sep { color: rgba(255,255,255,0.25); }

/* ---- How We Work steps ---- */
.section-readable { max-width: 860px; }
.how-steps { display: flex; flex-direction: column; gap: 0; margin: 32px 0; }
.how-step { display: flex; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.how-step:last-child { border-bottom: none; }
.how-step .step-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.step-body h3 { margin-bottom: 10px; font-size: 20px; }
.step-body p { color: var(--text); margin-bottom: 0; }
.step-body p + p { margin-top: 10px; }
@media (max-width: 600px) { .how-step { flex-direction: column; gap: 16px; } }

/* ---- Reasons grid (reused on How We Work) ---- */
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 24px 0; }
.reason-card { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.reason-card h3 { margin-bottom: 10px; font-size: 17px; }
.reason-card p { color: #5a6278; font-size: 15px; margin-bottom: 0; }
@media (max-width: 700px) { .reasons-grid { grid-template-columns: 1fr; } }

/* ---- Contact page ---- */
.contact-form-wrap { min-width: 0; }
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-info-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-info-box h3 { margin-bottom: 16px; font-size: 17px; }
.contact-info-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item strong { color: #8a92a6; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-item a { color: var(--teal); }
.what-next-list { padding-left: 20px; margin: 0; }
.what-next-list li { margin-bottom: 10px; font-size: 15px; color: var(--text); line-height: 1.5; }

/* ---- Legal pages ---- */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 12px; font-size: 20px; }
.legal-content h3 { margin-top: 24px; margin-bottom: 10px; font-size: 17px; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin-bottom: 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; font-size: 15px; }

/* ---- Contact form fields (markup classes) ---- */
.contact-form { margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; min-width: 0; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.req { color: var(--teal); margin-left: 2px; }
.form-checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #5a6278; font-weight: 400; cursor: pointer; line-height: 1.5; }
.form-checkbox-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--teal); cursor: pointer; }
.form-checkbox-label a { color: var(--teal); }
.form-submit-row { margin-top: 8px; }
.btn-large { padding: 14px 32px; font-size: 17px; }
.form-status:empty { display: none; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-muted { color: #5a6278; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
strong { font-weight: 600; }
