/* DJORESTIS.com — dark business-elegant theme
   Palette & typography per assets/branding/palette.md + typography.md */

:root {
  --onyx: #0E0E10;
  --charcoal: #16161A;
  --graphite: #2A2A30;
  --gold: #C6A15B;
  --gold-hi: #D9BC7F;
  --gold-lo: #8F7439;
  --ivory: #F4F1E8;
  --grey: #A8A49A;
  --stone: #6E6A61;
  /* GFS Didot / Noto Sans carry the Greek glyphs (Marcellus & Jost are Latin-only) */
  --font-display: 'Marcellus', 'GFS Didot', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --font-body: 'Jost', 'Noto Sans', 'Century Gothic', 'Avenir Next', 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--grey); }
.gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.9em; }
h3 { font-size: 1.15rem; margin-bottom: 0.5em; letter-spacing: 0.04em; }
p + p { margin-top: 1em; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); text-decoration: underline; }
strong { font-weight: 500; color: var(--ivory); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--onyx); padding: 8px 16px;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 30px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.85rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--onyx); }
.btn-gold:hover { background: var(--gold-hi); color: var(--onyx); }
.btn-gold:active { background: var(--gold-lo); }
.btn-ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); background: rgba(198, 161, 91, 0.07); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 16, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--graphite);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; }
.logo-svg { height: 34px; width: auto; display: block; }
.lg-word { font-family: var(--font-display); font-size: 42px; letter-spacing: 5px; }
.lg-gold { fill: var(--gold); }
.lg-ivory { fill: var(--ivory); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; }
.site-nav ul a {
  color: var(--ivory); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.site-nav ul a:hover, .site-nav ul a.active { color: var(--gold); text-decoration: none; }
.lang-switch { display: flex; gap: 10px; list-style: none; border-left: 1px solid var(--graphite); padding-left: 18px; }
.lang-switch a { color: var(--stone); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; }
.lang-switch .active a, .lang-switch a:hover { color: var(--gold); text-decoration: none; }
.nav-cta { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ivory); margin: 5px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--graphite); }
.hero-home {
  min-height: clamp(420px, 62vh, 680px); display: flex; align-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(198, 161, 91, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 90%, rgba(53, 96, 106, 0.10), transparent 60%),
    var(--onyx);
}
.kicker {
  color: var(--gold); font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 18px;
}
.kicker.center { text-align: center; }
.hero-sub { color: var(--grey); font-size: 1.15rem; font-weight: 300; max-width: 640px; margin-top: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--charcoal); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); }
.cta-band { text-align: center; padding: 88px 0; }
.cta-band p { color: var(--grey); max-width: 520px; margin: 0 auto 28px; }

.trustbar { padding: 34px 0; border-bottom: 1px solid var(--graphite); }
.client-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px;
  list-style: none; margin-top: 6px;
}
.client-list li {
  color: var(--grey); font-family: var(--font-display); font-size: 1.02rem; letter-spacing: 0.05em;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  display: block; background: var(--charcoal); border: 1px solid var(--graphite);
  border-radius: 3px; padding: 30px 26px; color: var(--ivory);
  transition: border-color 0.2s, transform 0.2s;
}
.card p { color: var(--grey); font-size: 0.95rem; }
a.card:hover { border-color: var(--gold-lo); text-decoration: none; transform: translateY(-2px); }
.card.wide { grid-column: 1 / -1; }
.card-more { display: inline-block; margin-top: 14px; color: var(--gold); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Service list (services page) ---------- */
.svc-list { display: flex; flex-direction: column; gap: 18px; }
.svc {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
  background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 3px;
  padding: 34px 30px; color: var(--ivory); transition: border-color 0.2s;
}
.svc:hover { border-color: var(--gold-lo); text-decoration: none; }
.svc h2 { margin-bottom: 0.4em; }
.svc p { color: var(--grey); max-width: 640px; }
.svc .card-more { white-space: nowrap; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.split .btn { margin-top: 22px; }
.ticks { list-style: none; margin-top: 18px; }
.ticks li { padding: 9px 0 9px 30px; position: relative; color: var(--grey); }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ---------- Media placeholders ---------- */
.media-ph {
  aspect-ratio: 4 / 5; border: 1px dashed var(--graphite); border-radius: 3px;
  background: var(--charcoal);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: var(--stone); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.media-ph.wide { aspect-ratio: 16 / 9; }
.ph-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--gold-lo); position: relative;
}
.ph-ring::after {
  content: ""; position: absolute; inset: 20px; border-radius: 50%; background: var(--gold-lo);
}
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; text-align: center; }
.stat { padding: 26px 12px; border: 1px solid var(--graphite); border-radius: 3px; }
.stat-n { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); }
.stat-l { color: var(--grey); font-size: 0.88rem; }

/* ---------- Events page ---------- */
.events-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 34px; }
.events-cols h2 + .event-list { margin-bottom: 34px; }
.event-list { list-style: none; }
.event-list li { padding: 10px 0; border-bottom: 1px solid var(--graphite); color: var(--ivory); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--graphite); }
.faq-item summary {
  cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-size: 1.05rem;
  list-style: none; position: relative; padding-right: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; color: var(--gold); font-family: var(--font-body); }
.faq-item[open] summary::after { content: "–"; }
.faq-body { padding: 0 0 20px; color: var(--grey); }

/* ---------- Contact form ---------- */
.split-form { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.contact-aside { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 3px; padding: 30px 26px; }
.contact-aside h2 { font-size: 1.1rem; margin: 1.4em 0 0.5em; }
.contact-aside h2:first-child { margin-top: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: block; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.quote-form label.full { margin-top: 18px; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 14px;
  background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 2px;
  color: var(--ivory); font-family: var(--font-body); font-size: 1rem;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--gold);
}
.quote-form input[type="date"] { color-scheme: dark; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; }
.check { display: flex !important; align-items: center; gap: 8px; text-transform: none !important; letter-spacing: 0 !important; font-size: 0.95rem !important; color: var(--ivory) !important; }
.check input { width: auto !important; margin: 0 !important; accent-color: var(--gold); }
.quote-form .btn { margin-top: 26px; }
.form-note { margin-top: 14px; color: var(--stone); font-size: 0.85rem; }
.form-status { margin-top: 10px; font-size: 0.95rem; color: var(--gold); min-height: 1.4em; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.15rem; margin: 1.8em 0 0.5em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--graphite); background: var(--charcoal); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 24px 40px; }
.f-brand .logo-svg { height: 28px; }
.f-tagline { margin-top: 14px; color: var(--grey); font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.72rem; }
.f-sge { margin-top: 16px; color: var(--stone); font-size: 0.85rem; }
.site-footer h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer ul li { padding: 4px 0; color: var(--grey); font-size: 0.92rem; }
.site-footer ul a { color: var(--grey); }
.site-footer ul a:hover { color: var(--gold); }
.socials { display: flex; gap: 16px; margin-top: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 20px 24px; border-top: 1px solid var(--graphite);
  color: var(--stone); font-size: 0.82rem;
}
.footer-bottom a { color: var(--stone); }

/* ---------- Blog ---------- */
.post-card .post-meta { color: var(--stone); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.blog-post h2 { margin-top: 1.6em; }
.blog-post p, .blog-post li { color: var(--grey); }
.blog-post strong { color: var(--ivory); }
.blog-post ul, .blog-post ol { padding-left: 22px; margin: 1em 0; }
.blog-post blockquote { border-left: 2px solid var(--gold); padding-left: 18px; margin: 1.4em 0; color: var(--ivory); font-family: var(--font-display); font-size: 1.1rem; }
.post-back { margin-top: 40px; }

/* ---------- WhatsApp button ---------- */
.wa-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--onyx);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: background 0.2s, transform 0.2s;
}
.wa-btn:hover { background: var(--gold-hi); color: var(--onyx); transform: translateY(-2px); }
.wa-btn svg { width: 30px; height: 30px; }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 70;
  max-width: 460px; margin: 0 auto;
  background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 4px;
  padding: 20px 22px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
#cookie-banner p { color: var(--grey); font-size: 0.92rem; margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 9px 18px; font-size: 0.78rem; }

/* ---------- Footer legal ---------- */
.f-legal { margin-top: 4px; color: var(--stone); font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .split-form, .events-cols { grid-template-columns: 1fr; gap: 36px; }
  .media-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--onyx); border-bottom: 1px solid var(--graphite);
    flex-direction: column; align-items: flex-start; padding: 20px 24px 28px; gap: 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 12px; }
  .lang-switch { border-left: none; padding-left: 0; flex-direction: row !important; }
  .hero { padding: 56px 0 48px; }
  .hero-home { min-height: auto; }
  .section { padding: 54px 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
