/* ==========================================================================
   Pantocrator, LLC — site styles
   Brand: Ink navy + Gold. Fonts: Sora (headings), Inter (body)
   ========================================================================== */

:root {
  --ink: #0B1424;
  --ink-2: #13213A;
  --ink-3: #1E3052;
  --gold: #D4AF5A;
  --gold-2: #B8892E;
  --gold-soft: #F6EED9;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --text: #1A2233;
  --muted: #5B6578;
  --line: #E6E3DA;
  --line-dark: rgba(255, 255, 255, 0.12);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 20, 36, .06), 0 8px 24px rgba(11, 20, 36, .06);
  --shadow-lg: 0 24px 60px rgba(11, 20, 36, .18);
  --container: 1160px;
  --gutter: 20px;

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #C9D2E3; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: #AEB9CE; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(135deg, #E9C977, var(--gold-2)); color: var(--ink); box-shadow: 0 8px 22px rgba(184, 137, 46, .3); }
.btn--gold:hover { box-shadow: 0 12px 28px rgba(184, 137, 46, .4); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 36, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 38px; height: 38px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; line-height: 1; }
.brand-name small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .22em; color: var(--gold); margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: #C9D2E3; font-size: .95rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: var(--ink); background: linear-gradient(135deg, #E9C977, var(--gold-2)); }
.nav-cta { margin-left: 10px; }
section[id] { scroll-margin-top: 72px; }
.nav-cta.btn { padding: 10px 18px; font-size: .9rem; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--white); cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--ink); padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta.btn { padding: 14px 18px; font-size: 1rem; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #C9D2E3;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(212, 175, 90, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(46, 84, 150, .35), transparent 60%),
    var(--ink);
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 130px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .accent { background: linear-gradient(135deg, #F1D896, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #AEB9CE; max-width: 560px; margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .92rem; color: #93A0B8; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--gold); }

.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg);
}
.hero-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: .82rem; color: #93A0B8; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.pillar-row {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  margin-top: 10px; transition: background .2s, border-color .2s, transform .2s;
}
.pillar-row:hover { background: rgba(255,255,255,.07); border-color: rgba(212,175,90,.4); transform: translateX(3px); }
.pillar-row .ico { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(212,175,90,.12); color: var(--gold); }
.pillar-row .ico svg { width: 22px; height: 22px; }
.pillar-row strong { display: block; color: var(--white); font-family: var(--font-head); font-size: .98rem; font-weight: 600; }
.pillar-row span { font-size: .85rem; color: #93A0B8; }
.pillar-row .chev { margin-left: auto; color: #5E6B85; width: 18px; height: 18px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(212, 175, 90, .16), transparent 60%),
    var(--ink);
  color: #AEB9CE; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 820px; }
.page-hero .lead { color: #AEB9CE; max-width: 640px; }
.crumbs { font-size: .85rem; color: #7F8BA3; margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold); }

/* Cards & grids ---------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,20,36,.1); border-color: #D8CDAF; }
.card p { color: var(--muted); font-size: .98rem; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); margin-bottom: 20px;
}
.card .ico svg { width: 26px; height: 26px; }
.card .more { margin-top: auto; padding-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.tag { font-size: .76rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: #7A5A17; }

/* Feature list ----------------------------------------------------------- */
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23986F1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--dark .checks li::before { background-color: rgba(212,175,90,.16); }

/* Why / split ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.why-item { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.why-item:first-child { border-top: 0; padding-top: 0; }
.why-item .num { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: .95rem; min-width: 30px; }
.why-item h3 { margin-bottom: 4px; font-size: 1.1rem; }
.why-item p { margin: 0; color: #AEB9CE; font-size: .97rem; }

.connect-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; width: 100%;
}
.connect-visual svg { width: 100%; height: 100%; }

/* Process ---------------------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1;
  background: linear-gradient(135deg, #E9C977, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Packages --------------------------------------------------------------- */
.pkg { position: relative; padding: 32px; }
.pkg h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pkg .for { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.pkg .checks { margin-bottom: 26px; font-size: .96rem; }
.pkg .btn { margin-top: auto; }
.pkg--featured { background: var(--ink); border-color: var(--ink); color: #C9D2E3; }
.pkg--featured h3 { color: var(--white); }
.pkg--featured .for { color: #93A0B8; }
.pkg--featured .checks li::before { background-color: rgba(212,175,90,.18); }
.badge {
  position: absolute; top: 20px; right: 20px; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--ink);
}
.note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 28px; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(212,175,90,.28), transparent 60%),
    linear-gradient(135deg, var(--ink), var(--ink-3));
  color: #C9D2E3; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 520px; color: #AEB9CE; }

/* Services page ---------------------------------------------------------- */
.svc-nav { position: sticky; top: 72px; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.svc-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.svc-nav .container::-webkit-scrollbar { display: none; }
.svc-nav a { flex: none; font-family: var(--font-head); font-size: .9rem; font-weight: 600; padding: 9px 16px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); transition: all .15s; }
.svc-nav a:hover, .svc-nav a.is-active { color: var(--ink); border-color: var(--gold); background: var(--gold-soft); }

.svc { scroll-margin-top: 140px; }
.svc-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-bottom: 40px; max-width: 820px; }
.svc-head .ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.svc-head .ico svg { width: 30px; height: 30px; }
.section--dark .svc-head .ico { background: rgba(212,175,90,.14); }
.svc-head h2 { margin-bottom: 8px; }
.svc-head p { margin: 0; }
@media (max-width: 560px) { .svc-head { grid-template-columns: 1fr; } }

.svc-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.svc-item p { margin: 0; font-size: .95rem; }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.section--dark .card p { color: #AEB9CE; }

/* About ------------------------------------------------------------------ */
.quote-card {
  border-radius: var(--radius-lg); padding: 36px; background: var(--ink); color: #C9D2E3; position: relative; overflow: hidden;
}
.quote-card .big { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--white); font-weight: 600; }
.quote-card .greek { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; color: var(--gold); opacity: .9; margin-bottom: 18px; letter-spacing: .02em; }
.value h3 { display: flex; align-items: center; gap: 10px; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); background: var(--white); box-shadow: 0 0 0 4px rgba(212,175,90,.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.contact-grid > *, .split > *, .hero-grid > * { min-width: 0; }
.chip span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; cursor: pointer; background: var(--paper);
  transition: all .15s; user-select: none;
}
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(212,175,90,.3); }
.form-msg { font-size: .93rem; color: var(--muted); margin: 0; }
.form-msg.ok { color: #1F7A4D; }

.info-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: #8A6619; }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.info-list span, .info-list a { color: var(--muted); font-size: .95rem; }
.info-list a:hover { color: var(--gold-2); }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93A0B8; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-about p { margin: 16px 0 0; max-width: 320px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #6F7C95; }

/* Utilities -------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
.no-js .reveal { opacity: 1; transform: none; }
