/* ============ DETEKS — Modern & Elegant ============ */
:root {
  --ink: #14141a;
  --ink-soft: #4a4a55;
  --paper: #ffffff;
  --cream: #f6f4ef;
  --accent: #b08d57;      /* soft gold */
  --accent-dark: #8f6f3f;
  --line: #e6e2da;
  --max: 1200px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s;
  background: transparent;
}
header.solid { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: .22em; color: #fff; transition: color .35s; }
.logo span { color: var(--accent); }
.logo img { height: 36px; display: block; }
footer .logo img { height: 30px; }
header.solid .logo, header.inner .logo { color: var(--ink); }
nav.menu { display: flex; gap: 32px; align-items: center; }
nav.menu a {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85); transition: color .25s; position: relative; padding: 6px 0;
}
header.solid nav.menu a, header.inner nav.menu a { color: var(--ink-soft); }
nav.menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .3s;
}
nav.menu a:hover::after, nav.menu a.active::after { width: 100%; }
nav.menu a:hover, nav.menu a.active { color: var(--accent); }

.lang-switch {
  display: flex; border: 1px solid rgba(255,255,255,.4); border-radius: 30px; overflow: hidden;
}
header.solid .lang-switch, header.inner .lang-switch { border-color: var(--line); }
.lang-switch button {
  background: none; border: 0; padding: 6px 14px; font: 600 .72rem var(--sans);
  letter-spacing: .1em; cursor: pointer; color: rgba(255,255,255,.85); transition: all .25s;
}
header.solid .lang-switch button, header.inner .lang-switch button { color: var(--ink-soft); }
.lang-switch button.on { background: var(--accent); color: #fff !important; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: .3s; }
header.solid .burger span, header.inner .burger span { background: var(--ink); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--ink); }
.hero .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center top;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(1.06);
}
.hero .slide.show { opacity: 1; animation: kenburns 7s ease forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,16,.55) 0%, rgba(10,10,16,.25) 45%, rgba(10,10,16,.65) 100%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; color: #fff; padding: 0 24px;
}
.hero-kicker { font-size: .8rem; letter-spacing: .45em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; font-weight: 600; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; line-height: 1.12; max-width: 900px; }
.hero p.sub { margin-top: 22px; font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 560px; font-weight: 300; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; padding: 15px 38px; font: 600 .78rem var(--sans);
  letter-spacing: .18em; text-transform: uppercase; transition: all .3s; cursor: pointer;
}
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; }
.hero-dots { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots i { width: 26px; height: 2px; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero-dots i.on { background: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 170px 24px 90px; background: var(--cream); text-align: center; overflow: hidden; }
.page-hero .hero-kicker { color: var(--accent-dark); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
.page-hero p { max-width: 620px; margin: 18px auto 0; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.kicker { font-size: .74rem; letter-spacing: .4em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 14px; }
h2.title { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; line-height: 1.2; margin-bottom: 20px; }
.lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding: 76px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 2.7rem; font-weight: 600; color: var(--accent); }
.stat i { font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .img-frame { position: relative; }
.split .img-frame img { width: 100%; height: 520px; object-fit: cover; }
.split .img-frame::after {
  content: ''; position: absolute; top: 22px; left: 22px; right: -22px; bottom: -22px;
  border: 1px solid var(--accent); z-index: -1;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); padding: 42px 34px;
  transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -22px rgba(20,20,26,.22); }
.card .num { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .93rem; }

.photo-card { position: relative; overflow: hidden; cursor: pointer; }
.photo-card img { width: 100%; height: 420px; object-fit: cover; object-position: top; transition: transform .8s ease; }
.photo-card:hover img { transform: scale(1.06); }
.photo-card .cap {
  position: absolute; inset: auto 0 0 0; padding: 60px 26px 24px; color: #fff;
  background: linear-gradient(transparent, rgba(10,10,16,.8));
  font-family: var(--serif); font-size: 1.25rem;
}

/* ---------- Checklist ---------- */
ul.check { list-style: none; margin-top: 26px; }
ul.check li { padding: 12px 0 12px 38px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
ul.check li::before {
  content: '✓'; position: absolute; left: 4px; top: 12px; color: var(--accent);
  font-weight: 700; font-size: 1rem;
}

/* ---------- Certificates ---------- */
.certs { background: var(--cream); }
.cert-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.cert-row span {
  border: 1px solid var(--accent); color: var(--accent-dark); padding: 10px 26px;
  font-size: .8rem; letter-spacing: .2em; font-weight: 600; border-radius: 40px;
}

/* ---------- Logo grid ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.logo-grid .logo-box {
  background: #fff; border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; padding: 18px; height: 110px; transition: .3s;
  filter: grayscale(1); opacity: .75;
}
.logo-grid .logo-box:hover { filter: none; opacity: 1; box-shadow: 0 14px 30px -16px rgba(20,20,26,.25); }
.logo-grid img { max-height: 70px; object-fit: contain; }

/* ---------- Countries ---------- */
.country-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 44px; }
.country {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 26px 28px;
}
.country h3 { font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.country p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; }
.c-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.c-item h3 { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.c-item p, .c-item a { color: var(--ink-soft); font-size: .96rem; }
.c-item a:hover { color: var(--accent-dark); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.person { background: var(--cream); padding: 18px 20px; }
.person b { display: block; font-size: .94rem; }
.person i { font-style: normal; font-size: .78rem; color: var(--ink-soft); display: block; margin: 2px 0 6px; }
.person a { font-size: .84rem; color: var(--accent-dark); word-break: break-all; }
.map-frame { border: 1px solid var(--line); height: 340px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
footer { background: #0e0e13; color: rgba(255,255,255,.6); padding: 70px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
footer .logo { font-size: 1.4rem; color: #fff; }
footer p { font-size: .88rem; margin-top: 16px; max-width: 340px; }
footer h4 { color: #fff; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { font-size: .88rem; transition: color .25s; }
footer a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 54px; padding-top: 26px; font-size: .78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Certificate logos ---------- */
.cert-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 38px; }
.cert-logos .cert-box {
  background: #fff; border: 1px solid var(--line); padding: 14px 12px 12px; width: 124px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; transition: box-shadow .3s;
}
.cert-logos .cert-box:hover { box-shadow: 0 14px 30px -16px rgba(20,20,26,.25); }
.cert-logos .cert-box b { font-size: .68rem; letter-spacing: .14em; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; text-align: center; }
.cert-logos img { max-height: 44px; max-width: 90px; object-fit: contain; display: block; }

/* ---------- Full-width strip ---------- */
.strip { width: 100%; display: block; object-fit: cover; max-height: 300px; }

/* ---------- Reveal animation ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .contact-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split .img-frame img { height: 380px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  nav.menu {
    position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 0 20px; transform: translateY(-130%); transition: transform .35s;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.25); z-index: 99;
  }
  nav.menu.open { transform: none; }
  nav.menu a { color: var(--ink-soft) !important; padding: 13px 28px; width: 100%; }
  .burger { display: block; }
  section { padding: 64px 0; }
}
