:root {
  --ink: #171717;
  --muted: #65635e;
  --paper: #f4efe3;
  --white: #fffdf8;
  --line: #ded4c3;
  --accent: #a47c35;
  --secondary: #1f5d67;
  --blue: #18333d;
  --deep: #161c20;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; object-fit: cover; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 62px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; }
.brand span { display: grid; place-items: center; width: 38px; height: 38px; color: white; background: var(--blue); border: 2px solid var(--accent); font-size: 13px; }
.topbar nav, .footer nav { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(42px, 7vw, 96px) clamp(18px, 6vw, 82px) 44px;
  background:
    linear-gradient(125deg, rgba(31, 93, 103, 0.11), transparent 42%),
    var(--white);
}

.eyebrow { margin: 0 0 14px; color: var(--secondary); font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; }
h1 { max-width: 920px; margin-bottom: 20px; font-size: clamp(39px, 6.2vw, 82px); line-height: 0.98; }
h2 { margin-bottom: 16px; font-size: clamp(28px, 4vw, 50px); line-height: 1.05; }
h3 { margin-bottom: 10px; font-size: 27px; line-height: 1.1; }
p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-copy > p:not(.eyebrow) { max-width: 720px; font-size: clamp(18px, 2vw, 23px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions a, button { min-height: 46px; padding: 13px 18px; color: white; background: var(--secondary); border: 0; border-radius: 6px; font-weight: 900; cursor: pointer; }
.actions .ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

.hero-photo { margin: 0; background: var(--deep); border: 1px solid var(--line); }
.hero-photo img { aspect-ratio: 1.08; }
.hero-photo figcaption { padding: 18px; color: #f7ead0; border-top: 4px solid var(--accent); }

.signal-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--deep); color: white; }
.signal-strip span { min-height: 76px; padding: 22px; border-right: 1px solid rgba(255,255,255,0.14); font-weight: 900; }

.file-reading, .lead-desk, .language-board, .method, .services, .faq, .footer { padding: clamp(40px, 6vw, 82px) clamp(18px, 6vw, 82px); }
.file-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(24px, 5vw, 70px); background: #fbf8f0; }
.file-reading article { max-width: 780px; }
.file-reading aside { align-self: start; padding: 24px; background: var(--white); border-left: 5px solid var(--accent); }
[dir="rtl"] .file-reading aside { border-left: 0; border-right: 5px solid var(--accent); }
.file-reading li { margin-bottom: 12px; color: var(--muted); line-height: 1.5; }

.language-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.language-board a { display: grid; gap: 10px; min-height: 190px; padding: 24px; background: var(--white); }
.language-board span, .service-grid span { color: var(--accent); font-size: 12px; font-weight: 900; }
.language-board strong, .service-grid strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.12; }

.lead-desk { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr); gap: clamp(24px, 5vw, 70px); background: var(--blue); color: white; }
.lead-desk p, .lead-desk .eyebrow { color: rgba(255,255,255,0.78); }
.lead-desk h2 { color: white; }
form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { display: grid; gap: 8px; color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 900; }
input, select, textarea { width: 100%; min-height: 44px; padding: 12px; color: white; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.24); border-radius: 4px; font: inherit; }
select option { color: var(--ink); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 20px; margin: 0; font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.gallery figure { margin: 0; background: var(--white); }
.gallery img { aspect-ratio: 1; }
.gallery figcaption { min-height: 74px; padding: 18px; color: var(--muted); font-weight: 800; }

.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; color: white; background: var(--deep); }
.method > div, .method article { min-height: 235px; padding: 26px; background: #1c2529; }
.method > div { grid-column: span 2; }
.method p, .method .eyebrow { color: rgba(255,255,255,0.72); }
.method h2, .method h3 { color: white; }
.method span { color: var(--accent); font-weight: 900; }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 28px; background: var(--line); }
.service-grid a { display: grid; gap: 10px; min-height: 210px; padding: 24px; background: var(--white); }

.faq { background: var(--white); }
details { max-width: 900px; border-top: 1px solid var(--line); }
summary { padding: 18px 0; cursor: pointer; font-weight: 900; }
details p { max-width: 760px; }

.footer { display: grid; grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr) auto; gap: 22px; color: white; background: var(--deep); }
.footer p, .footer a { color: rgba(255,255,255,0.72); }

@media (max-width: 980px) {
  .topbar { position: static; align-items: flex-start; flex-direction: column; }
  .hero, .file-reading, .lead-desk, .footer { grid-template-columns: 1fr; }
  .language-board, .method, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method > div { grid-column: span 2; }
  .signal-strip, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  h1 { font-size: 37px; }
  h2 { font-size: 30px; }
  .hero, .file-reading, .lead-desk, .language-board, .method, .services, .faq, .footer { padding-left: 16px; padding-right: 16px; }
  .signal-strip, .gallery, .language-board, .method, .service-grid, .form-row { grid-template-columns: 1fr; }
  .method > div { grid-column: auto; }
}
