/* styles.css — FULL FILE (clearer section separation + footer pushed down with stronger divider) */

/* =========================================================
   THEME TOKENS
   ========================================================= */

:root{
  --bg: #ffffff;
  --panel: #f6f6f7;
  --ink: #111214;
  --muted: rgba(17,18,20,.70);
  --rule: rgba(17,18,20,.12);

  /* Buttons (light) */
  --btn-bg: #111214;
  --btn-ink: #ffffff;
  --btn-ghost-bg: transparent;

  /* Header (light) */
  --header-bg: rgba(255,255,255,.78);
  --header-border: rgba(17,18,20,.10);

  /* NEW: Section + footer separators */
  --section-bg: rgba(17,18,20,.03);
  --section-border: rgba(17,18,20,.14);
  --footer-border: rgba(17,18,20,.18);

  --shadow: 0 18px 60px rgba(0,0,0,.10);
  --radius: 18px;

  /* NEW: spacing */
  --section-gap: 54px;
  --section-pad-y: 44px;
}

:root[data-theme="dark"]{
  --bg: #0b0c0f;
  --panel: #11131a;
  --ink: #f5f6f8;
  --muted: rgba(245,246,248,.72);
  --rule: rgba(245,246,248,.12);

  /* Buttons (dark) */
  --btn-bg: rgba(245,246,248,.12);
  --btn-ink: #f5f6f8;
  --btn-ghost-bg: transparent;

  /* Header (dark) */
  --header-bg: rgba(11,12,15,.55);
  --header-border: rgba(245,246,248,.12);

  /* NEW: Section + footer separators (dark) */
  --section-bg: rgba(245,246,248,.04);
  --section-border: rgba(245,246,248,.18);
  --footer-border: rgba(245,246,248,.22);

  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

/* =========================================================
   BASE
   ========================================================= */

*{ box-sizing:border-box; }

html, body{
  height:100%;
}

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);

  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{
  color: var(--ink);
  text-decoration:none;
}

a:hover{
  opacity:.9;
  text-decoration:underline;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.wrap{
  max-width:980px;
  margin:0 auto;
  padding:28px 18px;
}

/* HEADER */

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;

  position:sticky;
  top:0;
  z-index:10;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  background: var(--header-bg);
  border-bottom:1px solid var(--header-border);
}

.logo{
  font-weight:700;
  letter-spacing:.2px;
}

.logo a{
  color: var(--ink);
  text-decoration:none;
}

.tag{
  font-size:14px;
  color:var(--muted);
  margin-top:4px;
}

.nav{
  display:flex;
  gap:16px;
  align-items:center;
}

.nav a{
  color:var(--muted);
}

.nav a:hover{
  color:var(--ink);
  text-decoration:none;
}

/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding-top:26px;
  padding-bottom:8px;
}

h1{
  font-size:44px;
  line-height:1.05;
  margin:14px 0 10px;
}

.lede{
  max-width:720px;
  color:var(--muted);
  font-size:18px;
  line-height:1.55;
  margin:0 0 18px;
}

/* =========================================================
   SECTIONS (CLEARER SEPARATION)
   ========================================================= */

/* Make sections feel like distinct blocks instead of only a thin top rule */
.section{
  margin-top: var(--section-gap);
  padding: var(--section-pad-y) 0;

  /* stronger visible separation */
  border-top: 2px solid var(--section-border);

  /* subtle background band that spans the content width */
  background: linear-gradient(
    to bottom,
    var(--section-bg),
    transparent 140px
  );
}

/* Optional: give sections a little rounding where it reads */
.section:first-of-type{
  border-top: none;
  background: none;
}

h2{
  font-size:28px;
  margin:0 0 10px;
}

.sub{
  color:var(--muted);
  margin:0 0 18px;
  max-width:760px;
  line-height:1.55;
}

/* =========================================================
   GRIDS
   ========================================================= */

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

.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:10px;
}

/* =========================================================
   CARDS & PANELS
   ========================================================= */

.card,
.panel{
  background: var(--panel);
  border:1px solid var(--rule);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}

.k{
  font-weight:650;
  margin-bottom:6px;
}

.v{
  color:var(--muted);
  line-height:1.45;
}

/* =========================================================
   BUTTONS (WITH HOVER EFFECT)
   ========================================================= */

.cta{
  display:flex;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:11px 14px;
  border-radius:999px;

  border:1px solid var(--rule);
  background: var(--btn-bg);
  color: var(--btn-ink);

  text-decoration:none;
  cursor:pointer;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .16s ease,
    border .16s ease,
    color .16s ease;
}

.btn:hover{
  text-decoration:none;
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 10px 28px rgba(0,0,0,.12);
}

.btn.ghost{
  background: var(--btn-ghost-bg);
  color: var(--ink);
}

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

.btn.small{
  padding:9px 12px;
  font-size:14px;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.intake{
  border:1px dashed var(--rule);
  border-radius: var(--radius);
  padding:14px;

  color: var(--muted);
  line-height:1.5;
}

.price{
  font-size:40px;
  font-weight:800;
  margin:6px 0 6px;
}

.fine{
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
}

.muted{
  color:var(--muted);
}

/* =========================================================
   FOOTER (PUSHED DOWN + STRONGER SEPARATION)
   ========================================================= */

.footer{
  /* push it down and make it feel like a true end */
  margin-top: 90px;
  padding: 26px 0 18px;

  border-top: 3px solid var(--footer-border);

  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;

  color:var(--muted);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 860px){
  h1{ font-size:34px; }
  .grid4{ grid-template-columns:repeat(2,1fr); }
  .grid3{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .nav{ gap:12px; }

  .section{
    margin-top: 44px;
    padding: 36px 0;
  }

  .footer{
    margin-top: 70px;
  }
}
