/* =========================================================
   Ort Bookkeeping Ltd — Stylesheet
   Palette: Navy Blue / Gold / Cream
   ========================================================= */

:root {
  --navy: #0B1F3A;
  --navy-2: #123059;
  --navy-3: #17407A;
  --gold: #C9A24B;
  --gold-light: #E6CC85;
  --gold-dark: #A9822F;
  --cream: #FAF6EC;
  --cream-2: #F1E8D3;
  --white: #FFFFFF;
  --text: #1B2334;
  --text-muted: #5B6478;
  --text-on-navy: #F3F1EA;
  --text-on-navy-muted: #B9C2D4;
  --border: #E4DCC6;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-strong: 0 20px 45px rgba(11, 31, 58, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
[lang-el] { }
[data-i18n], [data-i18n-html] { }

/* Hide the language the toggle isn't showing, controlled via body[data-lang] */
[data-lang-only] { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 162, 75, 0.45); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--text-on-navy); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(243, 241, 234, 0.55);
  color: var(--text-on-navy);
}
.btn-outline-light:hover { background: var(--text-on-navy); color: var(--navy); border-color: var(--text-on-navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-text { font-family: "Playfair Display", Georgia, serif; }
.brand-name { font-weight: 700; font-size: 1.05rem; color: var(--navy); display: block; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a.nav-link:hover, .main-nav li.active > a.nav-link { background: var(--navy); color: var(--text-on-navy); }
.main-nav li.has-dropdown { position: relative; }
.main-nav .caret { font-size: 0.6rem; transition: transform 0.2s ease; }
.main-nav li.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.dropdown a:hover { background: var(--cream-2); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--border);
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.lang-toggle button.active { background: var(--navy); color: var(--text-on-navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); margin: 0 auto; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-3) 0%, var(--navy) 55%, #081527 100%);
  color: var(--text-on-navy);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,0.28), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.hero h1 { color: var(--white); }
.hero-lead { color: var(--text-on-navy-muted); font-size: 1.12rem; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-panel .stat-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hero-panel .stat-row:last-child { border-bottom: none; }
.hero-panel .stat-num { font-family: "Playfair Display", serif; font-size: 1.7rem; color: var(--gold-light); font-weight: 700; }
.hero-panel .stat-label { color: var(--text-on-navy-muted); font-size: 0.88rem; max-width: 200px; text-align: right; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.trust-item .ico { color: var(--gold-dark); font-size: 1.1rem; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--text-on-navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--text-on-navy-muted); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.kicker {
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
  display: inline-block;
}
.section-navy .kicker { color: var(--gold-light); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-dark); margin-top: 8px; font-size: 0.9rem; }
.card-link .arrow { transition: transform 0.2s ease; }
.card:hover .card-link .arrow { transform: translateX(4px); }

.feature-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: none; }
.feature-row .num { font-family: "Playfair Display", serif; color: var(--gold-dark); font-size: 1.4rem; font-weight: 700; min-width: 40px; }

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial .quote { font-style: italic; color: var(--text); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 700;
}
.who-name { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.who-role { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  color: var(--text-on-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(201,162,75,0.25), transparent 55%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: var(--text-on-navy-muted); margin: 0; }
.cta-banner .cta-text { position: relative; z-index: 1; max-width: 520px; }
.cta-banner .cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, #0E2745 100%);
  color: var(--text-on-navy);
  padding: 64px 0 56px;
}
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--text-on-navy-muted); font-size: 0.86rem; margin-bottom: 16px; }
.breadcrumb a { color: var(--gold-light); font-weight: 600; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .lead { color: var(--text-on-navy-muted); max-width: 620px; font-size: 1.05rem; }

/* ---------- Lists ---------- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.check-list .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cream-2); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800;
  margin-top: 2px;
}
.section-navy .check-list .tick { background: rgba(255,255,255,0.12); color: var(--gold-light); }

/* ---------- Two column content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cream-2), var(--white));
  border: 1px solid var(--border);
  padding: 40px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 1.6rem; font-weight: 700;
}
.team-role { color: var(--gold-dark); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }

/* ---------- Values / accreditation chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: var(--navy); gap: 16px; }
.faq-q .plus { font-size: 1.3rem; color: var(--gold-dark); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-top: 12px; margin: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; color: var(--navy); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.2);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--cream); }
.checkbox-item input { width: auto; }
.form-success {
  display: none;
  background: var(--cream-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 600;
  margin-top: 18px;
}
.form-success.show { display: block; }

/* ---------- Info cards (contact) ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.info-card:last-child { border-bottom: none; }
.info-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--cream-2); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-on-navy-muted); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 36px; }
.footer-brand-name { color: var(--white); font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.05rem; }
.footer h4 { color: var(--white); font-family: inherit; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.92rem; }
.footer-contact .ico { color: var(--gold-light); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.social-row a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav a.nav-link { padding: 14px 16px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 14px; display: none;
    background: transparent;
  }
  .main-nav li.has-dropdown.open .dropdown { display: block; }
  .main-nav li.has-dropdown:hover .dropdown { display: none; }
  .main-nav li.has-dropdown.open .dropdown { display: block; }
  .header-actions { gap: 8px; }
  .hero-panel { margin-top: 20px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row, .checkbox-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  section { padding: 60px 0; }
  .trust-strip .container { justify-content: flex-start; gap: 18px; }
}
