/* ===========================================================================
   De La Cruz Coaching
   Shared stylesheet for the static marketing site.
   No external dependencies; system fonts; mobile-first responsive.
   Palette: black / dark grey / pine green (see :root tokens below).
   =========================================================================== */

:root {
  /* ---- Palette: Black / Dark Grey / Pine Green (source of truth) ---- */
  --ink: #0a0c0b;          /* near-black — page background (top of gradient) */
  --surface: #0e1110;      /* raised black — mid gradient */
  --panel: #161a18;        /* dark grey — card / panel base */
  --panel-hi: #1d2320;     /* dark grey — card hover */
  --pine: #3fa377;         /* primary accent */
  --pine-bright: #57c393;  /* hover / brighter pine */
  --pine-deep: #123026;    /* deep pine — subtle fills, glowing borders */
  --fog: #f2f5f3;          /* near-white — headings + primary text */
  --fog-dim: #9aa6a1;      /* muted grey-green — secondary text */
  --fog-faint: #69736e;    /* faint — small labels, footer */

  /* ---- Semantic aliases (existing rules reference these names) ---- */
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: var(--fog);
  --muted: var(--fog-dim);
  --accent: var(--pine);
  --accent-ink: var(--ink);

  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 50% 8%, rgba(63, 163, 119, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--surface) 45%, var(--panel) 130%);
  background-attachment: fixed;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Layout helpers ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0.4rem 0 1rem;
  line-height: 1.15;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  max-width: 60ch;
}

/* ---------- Navigation ---------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(10, 12, 11, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.9rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--pine-bright);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--pine);
  color: var(--pine-bright);
  background: rgba(63, 163, 119, 0.06);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  padding: clamp(4rem, 12vh, 8rem) 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.hero .tagline {
  margin-top: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-weight: 300;
  color: var(--muted);
  font-size: clamp(0.95rem, 3vw, 1.4rem);
}

.hero .hero-sub {
  margin: 1.6rem auto 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.hero .btn-row {
  justify-content: center;
}

/* ---------- Cards / grid -------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--pine), var(--pine-bright));
}

.card:hover {
  transform: translateY(-4px);
  background: var(--panel-hi);
  border-color: rgba(63, 163, 119, 0.45);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card .card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Service detail blocks ----------------------------------------- */
.service {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1.5rem;
  scroll-margin-top: 90px;
}

.service h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 0.4rem;
}

.service .pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.9rem;
}

.service ul {
  margin: 1rem 0 0 1.1rem;
  color: var(--muted);
}

.service ul li {
  margin: 0.4rem 0;
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- About --------------------------------------------------------- */
.prose {
  max-width: 65ch;
}

.prose p {
  color: var(--muted);
  margin-top: 1rem;
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.prose ul {
  margin: 0.8rem 0 0 1.1rem;
  color: var(--muted);
}

.prose ul li {
  margin: 0.35rem 0;
}

.prose h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.2;
}

/* Reframed credential — experience over certificates */
.prose .cred-note {
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  font-style: italic;
  color: var(--text);
}

/* Ideal-client list (no bullets, label emphasis) */
.prose .client-types {
  list-style: none;
  margin-left: 0;
}

.prose .client-types li {
  margin: 0.85rem 0;
}

.prose .client-types strong {
  color: var(--text);
}

/* About intro: photo placeholder beside opening copy */
.about-intro {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-intro-text .lead {
  margin-top: 1rem;
  max-width: none;
}

.about-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Featured highlight (the transformation) */
.highlight {
  margin-top: 2.5rem;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}

.highlight .highlight-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.highlight p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.highlight strong {
  color: var(--text);
}

/* Testimonials */
.testimonials-section {
  background: rgba(10, 12, 11, 0.4);
  border-top: 1px solid var(--panel-border);
}

.testimonial {
  display: flex;
  flex-direction: column;
}

.testimonial .quote {
  color: var(--text);
  font-size: 1rem;
}

.testimonial .cite {
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Forms --------------------------------------------------------- */
.form {
  max-width: 540px;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.form label {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

.form input,
.form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-methods .card a {
  color: var(--accent);
  font-weight: 600;
  word-break: break-word;
}

/* ---------- Calendly booking embed --------------------------------------- */
.calendly-inline-widget {
  width: 100%;
  min-width: 0 !important; /* override Calendly's inline 320px so it can shrink on mobile */
  margin: 2rem 0 1rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

/* ---------- Footer -------------------------------------------------------- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--panel-border);
  background: rgba(10, 12, 11, 0.5);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--fog-faint);
  font-size: 0.85rem;
}

.footer .disclaimer {
  max-width: 60ch;
}

.footer .footer-brand {
  font-weight: 700;
  color: var(--text);
}
