/* DivineXplore - light & clean agency site
   Palette sampled from the logo: navy #0C3054, blue #14568C, teal #1789A3, gold #D9931F. */

:root {
  --ink: #0C2340;
  --ink-2: #17324F;
  --muted: #566a83;
  --muted-2: #7c8ca3;
  --line: #E3E9F1;
  --bg: #FFFFFF;
  --soft: #F5F8FB;
  --soft-2: #EAF1F8;

  --brand: #14568C;
  --brand-dark: #0E3E68;
  --brand-navy: #0C3054;
  --brand-soft: #E7F0F8;
  --accent: #1789A3;
  --accent-soft: #E1F2F6;
  --amber: #D9931F;
  --amber-soft: #FBF0DB;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 12px 32px -12px rgba(15, 23, 42, .16), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-lg: 0 32px 64px -24px rgba(15, 23, 42, .22);
  --maxw: 1140px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 800;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.06rem; margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: .97rem;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(20, 86, 140, .75); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #CBD4E6; color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15, 23, 42, .3); }
.nav { display: flex; align-items: center; gap: 20px; height: var(--nav-h); position: relative; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-size: 1.12rem; }
.brand img { width: auto; height: 38px; border-radius: 0; }
.brand.brand-mark img { width: 38px; height: 38px; }
.brand i { font-style: normal; color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border-radius: 10px;
}
.nav-links a:hover { color: var(--ink); background: var(--soft-2); }
.nav-links .btn { color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 92px 0 76px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -220px; left: 0; right: 0; height: 620px; z-index: 0;
  background:
    radial-gradient(680px 340px at 18% 40%, rgba(20, 86, 140, .15), transparent 65%),
    radial-gradient(560px 320px at 82% 30%, rgba(23, 137, 163, .16), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: var(--muted-2); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.tick { color: var(--accent); font-weight: 800; }

/* hero visual */
.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D8DEEA; display: block; }
.mock-bar .url {
  margin-left: 10px; font-size: .76rem; color: var(--muted-2); background: #fff;
  border: 1px solid var(--line); border-radius: 7px; padding: 4px 12px;
  width: auto; height: auto; border-radius: 7px;
}
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card { border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: #fff; }
.mock-card .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 700; }
.mock-card .v { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; }
.mock-card .v.up { color: #059669; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 116px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand), #4C8FC0); opacity: .85; display: block; }
.bars i:nth-child(2) { background: linear-gradient(180deg, var(--accent), #6FC2D3); }
.bars i:nth-child(5) { background: linear-gradient(180deg, var(--amber), #EFC27A); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 15px; box-shadow: var(--shadow); font-size: .86rem; font-weight: 700;
}
.float-chip small { display: block; font-weight: 600; color: var(--muted-2); font-size: .74rem; }
.float-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .95rem; }
.chip-a { left: -22px; bottom: 46px; }
.chip-a .ic { background: var(--accent-soft); }
.chip-b { right: -18px; top: 34px; }
.chip-b .ic { background: var(--amber-soft); }

/* ---------- trust strip ---------- */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.strip-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; }
.strip p { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; }
.strip li { font-weight: 700; color: #94A0B8; font-size: 1.02rem; letter-spacing: -.01em; }

/* ---------- cards / services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D7DEEE; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; margin-bottom: 14px; }
.card-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 18px; font-size: 1.25rem;
}
.ic-indigo { background: var(--brand-soft); }
.ic-cyan { background: var(--accent-soft); }
.ic-amber { background: var(--amber-soft); }
.ic-rose { background: #FBE7EC; }
.ic-green { background: #E3F7EE; }
.ic-violet { background: #EDE7F7; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.tags li {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  background: var(--soft-2); border-radius: 7px; padding: 4px 10px;
}

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 16px; }
.step .n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent));
  margin-bottom: 16px; box-shadow: 0 10px 20px -10px rgba(20, 86, 140, .85);
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .95rem; margin: 0; }
.step::after {
  content: ""; position: absolute; top: 36px; left: 52px; right: -10px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.steps .step:last-child::after { display: none; }

/* ---------- work ---------- */
.proj { display: flex; flex-direction: column; }
.proj-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.proj-logo {
  width: 58px; height: 58px; flex: none; border-radius: 15px;
  object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 5px;
  box-shadow: var(--shadow-sm);
}
.proj-logo.mono {
  display: grid; place-items: center; border: 0; padding: 0; color: #fff;
  font-size: .84rem; font-weight: 800; letter-spacing: .05em;
}
.mono-a { background: linear-gradient(135deg, var(--brand-navy), var(--accent)); }
.mono-b { background: linear-gradient(135deg, var(--brand), var(--amber)); }
.proj .kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
}
.proj h3 { margin: 3px 0 0; font-size: 1.1rem; }
.proj p { flex: 1 0 auto; }
.proj .tags { margin-bottom: 16px; }
.proj-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.proj-links a { font-size: .88rem; font-weight: 700; white-space: nowrap; }

/* ---------- why / stats ---------- */
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 13px; align-items: start; }
.check-list .cm {
  width: 24px; height: 24px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 3px;
}
.check-list strong { display: block; font-size: 1rem; color: var(--ink); }
.check-list p { margin: 2px 0 0; font-size: .94rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }
.stat:nth-child(1) strong { color: var(--brand); }
.stat:nth-child(2) strong { color: var(--accent); }
.stat:nth-child(3) strong { color: var(--amber); }
.stat:nth-child(4) strong { color: #059669; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 600; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 18px; font-size: .97rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 13px; font-weight: 600; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.contact-list small { display: block; font-weight: 600; color: var(--muted-2); font-size: .78rem; }
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--soft);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 86, 140, .16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions .btn { width: 100%; }
.btn-wa { background: #128C7E; color: #fff; }
.btn-wa:hover { background: #0F7368; color: #fff; }
.btn:disabled { opacity: .6; pointer-events: none; }
.form-note { font-size: .82rem; color: var(--muted-2); margin: 14px 0 0; text-align: center; }
.form-note.is-ok { color: #047857; font-weight: 600; }
.form-note.is-err { color: #B42318; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input:invalid:not(:placeholder-shown), .field textarea:invalid:not(:placeholder-shown) {
  border-color: #E5A3A0;
}

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-navy), var(--brand) 45%, var(--accent));
  border-radius: var(--radius-lg); padding: 54px 48px; color: #fff; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 54ch; margin: 0 auto 26px; }
.cta-band .btn-light { background: #fff; color: var(--brand); border-color: transparent; }
.cta-band .btn-light:hover { color: var(--brand-dark); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: #0C2340; color: #C6CFE0; padding: 62px 0 30px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #C6CFE0; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: #93A0B8; font-size: .93rem; max-width: 34ch; margin-top: 16px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.socials-label { color: #93A0B8; font-size: .8rem; margin: 18px 0 8px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); font-size: .95rem;
}
.socials a:hover { background: rgba(255, 255, 255, .16); }
.foot-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .87rem; color: #8E9BB4;
}

.site-footer .brand img { filter: brightness(0) invert(1); opacity: .95; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; background: #fff;
    border: 1px solid var(--line); border-radius: 16px; padding: 12px;
    box-shadow: var(--shadow); margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; }
  .grid-3, .grid-2, .steps, .stat-grid, .field-row, .mock-row, .form-actions { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero { padding: 64px 0 56px; }
  .float-chip { display: none; }
}
