/* ---------- Tokens ---------- */
:root {
  --bg: #FAFAF7;
  --bg-soft: #F2EDE4;
  --beige: #E8DFD2;
  --beige-deep: #D7C9B3;
  --ink: #16202C;
  --ink-soft: #4B5563;
  --muted: #6B7280;
  --line: #E4DED2;
  --navy: #1E3A5F;
  --navy-deep: #142845;
  --blue-soft: #A8B8C8;
  --accent: #1E3A5F;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(20, 40, 69, 0.04);
  --shadow: 0 8px 30px rgba(20, 40, 69, 0.08);

  --container: 1180px;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--navy-deep);
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 500; }

h1 em {
  font-style: italic;
  color: var(--navy);
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1.2rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--beige-deep);
}
.btn-ghost:hover {
  background: var(--beige);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.brand-name {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
}

.nav-menu a:hover {
  color: var(--ink);
  background: var(--beige);
}

.nav-menu .nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  margin-left: 6px;
}

.nav-menu .nav-cta:hover {
  background: var(--navy-deep);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(168, 184, 200, 0.18), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(232, 223, 210, 0.5), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-text .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 3rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
}

.hero-meta span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero photo */
.hero-photo {
  position: relative;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--beige);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-photo figcaption {
  position: absolute;
  bottom: -18px;
  left: 18px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 0.6rem;
}

/* ---------- Services ---------- */
.services {
  background: linear-gradient(180deg, var(--bg) 0%, #F5F0E6 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--beige-deep);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 1.2rem;
}

.about-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 580px;
}

.strengths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}

.strengths li {
  background: var(--beige);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.about-card h3 {
  margin-bottom: 1.2rem;
  color: var(--navy);
}

.about-card dl {
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.about-card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-card dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.about-card dd {
  margin: 0;
  font-size: 0.95rem;
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Languages ---------- */
.languages {
  background: var(--bg-soft);
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.lang-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.lang-card h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.lang-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.region {
  padding: 10px 22px;
  border: 1px solid var(--beige-deep);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
}

/* ---------- Clients ---------- */
.clients {
  text-align: center;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 48px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
}

.client-list li {
  position: relative;
  padding: 8px 0;
}

.client-list .repeat {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-left: 4px;
  vertical-align: middle;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy);
  color: #fff;
}

.contact .eyebrow {
  color: var(--blue-soft);
}

.contact h2,
.contact h3 {
  color: #fff;
}

.contact .section-sub {
  color: rgba(255, 255, 255, 0.78);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 36px 0 32px;
  text-align: left;
}

.contact-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.contact-list a {
  color: #fff;
  font-weight: 500;
  word-break: break-word;
}

.contact-list a:hover {
  color: var(--blue-soft);
}

.contact .btn-primary {
  background: #fff;
  color: var(--navy);
}

.contact .btn-primary:hover {
  background: var(--beige);
  color: var(--navy-deep);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #11192A;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 32px;
}

.site-footer .brand-mark {
  color: #fff;
}

.site-footer .brand-name {
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 32px;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer nav a:hover {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-photo {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-photo::before {
    inset: 12px -12px -12px 12px;
  }

  .hero-slider {
    min-height: 380px;
  }

  .section {
    padding: 72px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-card {
    position: static;
  }

  .lang-grid {
    grid-template-columns: 1fr;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .hero-photo::before {
    content: none;
  }

  .hero-slider {
    min-height: 300px;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    width: 100%;
    text-align: left;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
    margin-top: 4px;
    text-align: center;
  }

  .hero-meta {
    gap: 24px;
  }

  .client-list {
    font-size: 1.3rem;
    gap: 10px 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

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