/*
Theme Name: Courtsas
Theme URI: https://courtsas.eu
Author: Courtsas
Author URI: https://courtsas.eu
Description: Bilingual (PL/EN) WordPress theme for the Courtsas Permanent Arbitration Court. Features a full-page language toggle, custom page templates for arbitrators, fees, process, FAQ, documents and more, plus a custom post type for arbitrators and customizer fields for contact details.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: courtsas
Tags: custom-menu, custom-logo, featured-images, post-formats, threaded-comments, translation-ready
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f1a2e;
  --navy-mid: #1a2d4a;
  --navy-light: #243f66;
  --gold: #b8923a;
  --gold-light: #d4aa5a;
  --gold-pale: #f5edd8;
  --cream: #faf8f4;
  --off-white: #f0ece4;
  --text-dark: #0f1a2e;
  --text-mid: #3d5070;
  --text-muted: #7a8ba6;
  --border: rgba(15,26,46,0.12);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 300;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

/* WP admin bar fix */
.admin-bar nav { top: 32px; }
.admin-bar .mobile-menu { top: calc(64px + 32px); }
@media (max-width: 782px) {
  .admin-bar nav { top: 46px; }
  .admin-bar .mobile-menu { top: calc(64px + 46px); }
}

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  height: 72px;
  background: rgba(15,26,46,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,146,58,0.2);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo span { color: var(--gold-light); }

.nav-right { display: flex; align-items: center; gap: 2rem; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links li.current-menu-ancestor > a { color: var(--gold-light); }

.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold-light);
}

.nav-controls { display: flex; align-items: center; gap: 0.85rem; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(184,146,58,0.25);
  border-radius: 2px;
  overflow: hidden;
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle button.active { background: var(--gold-light); color: var(--navy); }
.lang-toggle button:not(.active):hover { color: var(--gold-light); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--gold-light);
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
  text-decoration: none;
}

.nav-cta:hover { background: var(--gold) !important; color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(184,146,58,0.3);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--gold-light);
  transition: transform 0.25s, opacity 0.25s, top 0.25s;
}

.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 23px; }

.hamburger.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(15,26,46,0.985);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,146,58,0.2);
  padding: 1rem 1.25rem 1.75rem;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  z-index: 99;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }

.mobile-menu a {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid rgba(184,146,58,0.12);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:hover,
.mobile-menu li.current-menu-item > a,
.mobile-menu li.current_page_item > a {
  color: var(--gold-light);
  padding-left: 0.75rem;
}

.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  padding: 0.95rem 1.4rem;
  border-bottom: none !important;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(135deg, transparent 0%, rgba(184,146,58,0.06) 100%);
  border-left: 1px solid rgba(184,146,58,0.12);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: #fff;
  max-width: 760px;
  margin-bottom: 2rem;
}

.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.btn-primary {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-light);
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold); }

.btn-outline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.hero-stats {
  position: absolute; bottom: 4rem; right: 4rem;
  display: flex; gap: 3rem;
}

.stat { text-align: right; }

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy);
  padding: 11rem 4rem 5rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
}

.page-header .hero-label { margin-bottom: 1.5rem; }

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.page-header h1 em { font-style: italic; color: var(--gold-light); }

.page-header .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  line-height: 1.8;
  font-weight: 300;
}

/* ── SECTIONS ── */
section { padding: 7rem 4rem; }

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

h2.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

h2.section-title em { font-style: italic; color: var(--navy-light); }

.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.85;
  font-weight: 300;
}

/* ── SERVICES ── */
.services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--border);
}

.service-card {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
  position: relative;
}

.service-card:hover { background: #fff; }
.service-card:nth-child(3n) { border-right: none; }

.service-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(184,146,58,0.18);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}

.service-arrow {
  position: absolute; bottom: 2rem; right: 2.5rem;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.service-card:hover .service-arrow { opacity: 1; transform: translateX(4px); }

/* Detailed service blocks */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-detail:last-child { border-bottom: none; }

.service-detail .num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(184,146,58,0.22);
  line-height: 1;
}

.service-detail h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.service-detail .meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-detail p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-weight: 300;
}

.service-detail ul { list-style: none; padding: 0; margin-top: 1.2rem; }

.service-detail ul li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.5rem 0 0.5rem 1.6rem;
  position: relative;
  border-bottom: 1px dashed rgba(15,26,46,0.08);
  font-weight: 300;
}

.service-detail ul li::before {
  content: '';
  position: absolute; left: 0; top: 1rem;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* ── WHY ── */
.why { background: var(--off-white); }

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

.why-text p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.why-pillars { display: flex; flex-direction: column; gap: 0; }

.pillar {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}

.pillar:first-child { border-top: 1px solid var(--border); }

.pillar-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}

.pillar-icon svg { width: 18px; height: 18px; fill: var(--gold-light); }

.pillar h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── PROCESS ── */
.process { background: var(--navy); overflow: hidden; }
.process .section-title { color: #fff; }
.process .section-intro { color: rgba(255,255,255,0.5); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.step { padding: 0 1.5rem; text-align: center; }

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(184,146,58,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--gold-light);
  background: rgba(184,146,58,0.06);
  position: relative; z-index: 2;
}

.step h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
}

.process-detail { background: var(--cream); }
.process-timeline { margin-top: 4rem; max-width: 920px; }

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.timeline-item h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.timeline-item .duration {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
}

/* ── ARBITERS ── */
.arbiters { background: var(--cream); }

.arbiters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.arbiter-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
  transition: border-color 0.2s, transform 0.2s;
}

.arbiter-card:hover { border-color: var(--gold); transform: translateY(-2px); }

.arbiter-initials {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.arbiter-initials img { width: 100%; height: 100%; object-fit: cover; }

.arbiter-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.arbiter-card .role {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.arbiter-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1rem;
}

.arbiter-card .specs {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.arbiter-card .spec-tag {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--navy-light);
  background: var(--gold-pale);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

/* ── PRICING ── */
.pricing { background: var(--off-white); }

.pricing-table {
  margin-top: 4rem;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.pricing-row:last-child { border-bottom: none; }
.pricing-row.head { background: var(--navy); }

.pricing-row.head > div {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.2rem 1.5rem;
}

.pricing-row > div {
  padding: 1.4rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-mid);
  font-weight: 300;
}

.pricing-row .label {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 400;
}

.pricing-row .fee {
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
}

.pricing-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
}

/* ── FAQ ── */
.faq { background: var(--cream); }
.faq-list { margin-top: 4rem; max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark);
  text-align: left;
  padding: 1.5rem 3rem 1.5rem 0;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--navy-light); }

.faq-question::after {
  content: '+';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.25s;
}

.faq-item.open .faq-question::after { content: '−'; transform: translateY(-50%) rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 800px; padding-bottom: 1.5rem; }

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  padding-right: 2rem;
}

/* ── DOCUMENTS ── */
.documents { background: var(--off-white); }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.doc-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
  cursor: pointer;
}

.doc-card:hover { border-color: var(--gold); transform: translateY(-2px); }

.doc-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}

.doc-icon svg { width: 20px; height: 20px; fill: var(--gold-light); }

.doc-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.doc-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  flex-grow: 1;
}

.doc-card .doc-meta {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; justify-content: space-between; align-items: center;
}

.doc-card .doc-meta::after { content: '↓'; font-size: 1rem; }

/* ── CLAUSE BOX ── */
.clause-box {
  margin-top: 3rem;
  background: var(--navy);
  color: #fff;
  padding: 3rem;
  border-radius: 2px;
  position: relative;
}

.clause-box::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
}

.clause-box h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.clause-box .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--gold);
  margin-bottom: 1.5rem;
}

.clause-box .small { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

.copy-btn {
  margin-top: 1rem;
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 0.6rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 2px;
}

.copy-btn:hover { background: var(--gold); color: var(--navy); }

/* ── ABOUT ── */
.about-content {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.3rem;
  font-weight: 300;
}

.about-card { background: var(--navy); color: #fff; padding: 2.5rem; border-radius: 2px; }

.about-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.about-card .row {
  display: flex; justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  gap: 1rem;
}

.about-card .row:last-child { border-bottom: none; }

.about-card .row span:first-child {
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 500;
  flex-shrink: 0;
}

.about-card .row span:last-child { color: #fff; font-weight: 300; text-align: right; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}

.value-card .v-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.value-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.value-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--navy);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-strip h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-strip h3 em { font-style: italic; color: var(--gold-light); }

.cta-strip p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
  line-height: 1.8;
}

/* ── CONTACT ── */
.contact { background: var(--off-white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }

.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}

.contact-icon svg { width: 15px; height: 15px; fill: var(--gold-light); }

.contact-item-text label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item-text span { font-size: 0.9rem; color: var(--text-dark); font-weight: 300; }

.contact-form { background: #fff; border: 1px solid var(--border); padding: 2.5rem; }

.form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; font-weight: 300; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy-light); background: #fff; }

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8ba6' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  cursor: pointer;
  padding-right: 2.5rem;
}

.form-consent { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }

.form-consent input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--navy);
  cursor: pointer;
}

.form-consent label { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; cursor: pointer; }

.form-submit {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-light);
  border: none;
  padding: 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--gold); }

.form-note { text-align: center; font-size: 0.72rem; color: var(--text-muted); margin-top: 1rem; font-weight: 300; }

.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success.show { display: block; }
.form-error { display: none; padding: 1rem; background: rgba(220, 38, 38, 0.08); border-left: 3px solid #dc2626; color: #dc2626; margin-bottom: 1.5rem; font-size: 0.88rem; }
.form-error.show { display: block; }
.contact-form form.hide { display: none; }

.success-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}

.success-icon svg { width: 24px; height: 24px; fill: var(--gold-light); }

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.form-success p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

.map-block {
  margin-top: 4rem;
  height: 320px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(15,26,46,0.85), rgba(15,26,46,0.85)),
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(184,146,58,0.07) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(184,146,58,0.07) 40px);
}

.map-pin { text-align: center; }
.map-pin svg { width: 36px; height: 36px; fill: var(--gold-light); margin: 0 auto 0.8rem; }

.map-pin .city {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.05em;
}

.map-pin .addr { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 0.4rem; letter-spacing: 0.05em; }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--navy);
  padding: 4rem 4rem 2rem;
  border-top: 1px solid rgba(184,146,58,0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(184,146,58,0.12);
}

.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.6rem;
  text-decoration: none;
  display: inline-block;
}

.footer-brand .footer-logo span { color: var(--gold-light); }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 320px;
  font-weight: 300;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-col p, .footer-col span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  font-weight: 300;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); font-weight: 300; }

.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-legal a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--gold-light); }

.gold-rule { height: 1px; background: linear-gradient(90deg, var(--gold) 0%, transparent 80%); margin: 0; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* Toast */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy);
  color: var(--gold-light);
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  z-index: 200;
  transition: transform 0.3s ease;
  border: 1px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  max-width: 90vw;
  text-align: center;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ── WP-specific ── */
.wp-content-area { padding: 7rem 4rem; max-width: 920px; margin: 0 auto; }
.wp-content-area h1, .wp-content-area h2, .wp-content-area h3 {
  font-family: var(--font-serif); font-weight: 400; margin-bottom: 1rem; color: var(--text-dark);
}
.wp-content-area h1 { font-size: 2.5rem; }
.wp-content-area h2 { font-size: 1.8rem; margin-top: 2rem; }
.wp-content-area h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.wp-content-area p { margin-bottom: 1rem; line-height: 1.8; color: var(--text-mid); }
.wp-content-area ul, .wp-content-area ol { margin: 1rem 0 1rem 1.5rem; }
.wp-content-area a { color: var(--gold); text-decoration: underline; }
.wp-content-area blockquote {
  border-left: 3px solid var(--gold); padding-left: 1.5rem; margin: 1.5rem 0;
  font-style: italic; color: var(--text-muted);
}
.wp-content-area img { margin: 1.5rem 0; border-radius: 2px; }

/* Screen reader only — required for WP accessibility */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1; clip: auto !important; clip-path: none;
  color: #21759b; display: block; font-size: 14px; font-weight: bold;
  height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

/* Responsive */
@media (max-width: 1180px) {
  .nav-links { gap: 1.4rem; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.1em; }
}

@media (max-width: 1024px) {
  nav.site-nav { padding: 0 2rem; }
  section { padding: 5rem 2rem; }
  .hero { padding: 100px 2rem 2rem; }
  .page-header { padding: 8rem 2rem 4rem; }
  .hero-stats { right: 2rem; bottom: 2.5rem; gap: 2rem; }
  .stat-num { font-size: 1.6rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .service-card:nth-child(2n) { border-right: none; }
  .why-layout { gap: 3rem; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .arbiters-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { gap: 3rem; }
  .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .service-detail .num { font-size: 3.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  footer.site-footer { padding: 3rem 2rem 1.5rem; }
  .pricing-row { grid-template-columns: 1.2fr 2fr 1fr; }
  .pricing-row > div { padding: 1.1rem 1rem; }
  .cta-strip { padding: 4rem 2rem; }
  .wp-content-area { padding: 5rem 2rem; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 768px) {
  nav.site-nav { padding: 0 1.25rem; height: 64px; }
  .nav-logo { font-size: 1.05rem; letter-spacing: 0.15em; }
  .mobile-menu { top: 64px; }

  section { padding: 4rem 1.25rem; }

  .hero { padding: 90px 1.25rem 3rem; min-height: auto; padding-bottom: 3rem; }
  .hero h1 { font-size: 2.2rem; line-height: 1.18; }
  .hero-sub { font-size: 0.92rem; margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 0.95rem 1.5rem; }
  .hero-stats {
    position: relative; bottom: auto; right: auto;
    flex-direction: row; flex-wrap: wrap;
    gap: 1.5rem 2rem; margin-top: 2.5rem;
    justify-content: flex-start;
  }
  .stat { text-align: left; min-width: 40%; }
  .hero::before { display: none; }

  .page-header { padding: 7rem 1.25rem 3.5rem; }
  .page-header h1 { font-size: 2rem; }
  .page-header .lead { font-size: 0.95rem; }

  .services-grid { grid-template-columns: 1fr; border: none; }
  .service-card {
    border: 1px solid var(--border) !important;
    margin-bottom: 0.75rem;
    border-radius: 2px;
    padding: 1.75rem;
  }
  .service-card:hover { background: #fff; }
  .service-arrow { display: none; }

  .why-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0; }
  .step { padding: 1.5rem 1rem; border-bottom: 1px solid rgba(184,146,58,0.1); }

  .arbiters-grid { grid-template-columns: 1fr; gap: 1rem; }
  .docs-grid { grid-template-columns: 1fr; gap: 1rem; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .value-card { padding: 1.5rem 1rem; }

  .pricing-row { grid-template-columns: 1.3fr 1fr; }
  .pricing-row > div:nth-child(2) {
    grid-column: 1 / -1;
    padding-top: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  .pricing-row.head > div:nth-child(2) { display: none; }
  .pricing-row .fee { font-size: 1rem; }

  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 2rem 0; }
  .timeline-num { font-size: 2rem; }

  .clause-box { padding: 2rem 1.5rem; }
  .clause-box .quote { font-size: 0.95rem; padding: 1.2rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem 1.4rem; }

  .map-block { height: 240px; }
  .map-pin .city { font-size: 1.2rem; }

  .cta-strip { padding: 3.5rem 1.25rem; }

  footer.site-footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; text-align: left; }
  .footer-legal { gap: 1rem 1.25rem; }

  .about-card .row { font-size: 0.82rem; }
  .about-card .row span:last-child { font-size: 0.85rem; }

  .wp-content-area { padding: 4rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; line-height: 1.2; }
  .hero-stats { flex-direction: column; gap: 1.2rem; }
  .stat { min-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  h2.section-title { font-size: 1.55rem; }
  .stat-num { font-size: 1.5rem; }
  .page-header h1 { font-size: 1.7rem; }
  .nav-logo { font-size: 0.95rem; }
  .lang-toggle button { padding: 0.45rem 0.6rem; font-size: 0.65rem; }
  .arbiter-card, .doc-card { padding: 1.5rem; }
  .clause-box .quote { font-size: 0.9rem; }
  .faq-question { font-size: 1rem; padding-right: 2.2rem; }
  .nav-controls { gap: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
