/* ==========================================================================
   Estate Track — PPC landing pages
   Brand: pink #eb4968 · button blue #2d69f6 · dark theme · Geomanist
   ========================================================================== */

/* ---- Geomanist font ----
   PLACEHOLDER: drop the licensed Geomanist .woff2/.woff files into
   assets/fonts/ and the @font-face below will pick them up. Until then the
   geometric-sans fallback stack renders. */
@font-face {
  font-family: "Geomanist";
  src: url("../fonts/geomanist-book.woff2") format("woff2"),
       url("../fonts/geomanist-book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geomanist";
  src: url("../fonts/geomanist-medium.woff2") format("woff2"),
       url("../fonts/geomanist-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geomanist";
  src: url("../fonts/geomanist-bold.woff2") format("woff2"),
       url("../fonts/geomanist-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geomanist";
  src: url("../fonts/geomanist-black.woff2") format("woff2"),
       url("../fonts/geomanist-black.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #eb4968;
  --blue: #2d69f6;
  --bg: #0d0d12;
  --bg-soft: #16161d;
  --bg-card: #1b1b24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f7;
  --muted: #a6a6b3;
  --radius: 16px;
  --maxw: 1120px;
  --font: "Geomanist", "Geologica", "Sofia Sans", system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand-logo { height: 30px; width: auto; display: block; }
.wordmark {
  font-weight: 800; font-size: 1.55rem; letter-spacing: -0.04em;
  color: #fff; line-height: 1; text-decoration: none; white-space: nowrap;
}
.wordmark .dot { color: var(--pink); }
.site-header .btn { padding: 11px 22px; font-size: 0.95rem; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(235, 73, 104, 0.22), transparent 70%),
    radial-gradient(50% 50% at 10% 20%, rgba(45, 105, 246, 0.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 16px;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 32ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* Hero device mockup — image fills the frame, rounded corners */
.mockup {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-card); aspect-ratio: 16 / 10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.mockup img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ---- Sections ---- */
section { padding: 64px 0; }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---- Value props ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { color: var(--pink); }
.card p { color: var(--muted); margin: 0; }

/* ---- Gallery / proof (2×2, larger) ---- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.gallery figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }

/* ---- Capabilities ---- */
.capabilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.cap { display: flex; gap: 14px; align-items: flex-start; }
.cap-check {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(235, 73, 104, 0.16); color: var(--pink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}
.cap h3 { font-size: 1.05rem; margin: 0 0 3px; }
.cap p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.trust-line { margin-top: 40px; text-align: center; color: var(--muted); font-size: 0.95rem; }
.trust-line strong { color: var(--text); font-weight: 500; }

/* ---- Stats (result cards) ---- */
.stats { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center;
  background-image: linear-gradient(160deg, rgba(235, 73, 104, 0.10), transparent 60%);
}
.stat .num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--pink); line-height: 1; }
.stat .label { color: var(--muted); margin-top: 12px; font-size: 1rem; }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
}
.quote .logo-chip {
  background: #fff; border-radius: 10px; height: 58px; padding: 10px 18px;
  display: flex; align-items: center; justify-content: center;
  align-self: flex-start; margin-bottom: 20px;
}
.quote .logo-chip img { height: 38px; width: auto; max-width: 160px; display: block; }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.quote .who { margin-top: auto; font-size: 0.92rem; }
.quote .who .name { font-weight: 700; }
.quote .who .org { color: var(--muted); }

/* ---- Booking (merged CTA + Calendly) ---- */
.booking .wrap {
  background: linear-gradient(135deg, rgba(235, 73, 104, 0.16), rgba(45, 105, 246, 0.16));
  border: 1px solid var(--line); border-radius: 24px; padding: 48px 32px; text-align: center;
}
.booking h2 { margin: 0 0 4px; }
.booking .book-sub {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--text);
  letter-spacing: -0.01em; margin: 0 0 22px;
}
.calendly-inline-widget {
  min-width: 320px; height: 720px; background: transparent; border-radius: 14px; overflow: hidden;
}

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 0.88rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cards, .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .stats .row { grid-template-columns: 1fr; gap: 32px; }
}

/* Calendly stacks vertically on phones — give it more height so the date
   picker is visible without scrolling inside the embed. */
@media (max-width: 680px) {
  .calendly-inline-widget { height: 1150px; }
}
