/* ==========================================================================
   Joyfully Present LLC — shared styles
   Palette: white base, light blue + green primaries, darker blue for buttons
   Type: Fraunces (display) + Inter (body)
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F1F8FB;
  --ink: #22312F;
  --ink-soft: #55696A;

  --teal: #B1E4E3;        /* Pantone 317 C */
  --teal-deep: #2F7A78;   /* darker derivative, used for text/icons */
  --teal-pale: #E3F6F5;

  --blue: #ABCAE9;        /* Pantone 277 C */
  --blue-pale: #EAF1FB;

  --btn: #6CACE4;         /* Pantone 284 C — buttons only */
  --btn-deep: #4F93D6;    /* darker derivative, hover + accent text */
  --btn-text: #17262B;    /* dark text on buttons, for contrast */

  --line: rgba(34, 49, 47, 0.12);
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 450; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--btn);
  color: var(--btn-text);
}
.btn-primary:hover { background: var(--btn-deep); }

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

/* ---------- nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--btn-deep);
}

.nav-toggle {
  display: none;
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- hero / breathing circle ---------- */

.hero {
  position: relative;
  padding: 90px 32px 70px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.breath-stage {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--teal);
  opacity: 0.35;
}

.breath-ring.r1 { width: 180px; height: 180px; }
.breath-ring.r2 { width: 260px; height: 260px; border-color: var(--blue); }
.breath-ring.r3 { width: 340px; height: 340px; opacity: 0.2; }

.breath-core {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blue-pale), var(--teal-pale) 60%, var(--btn) 100%);
  animation: breathe 6s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(79, 147, 214, 0.22);
}

.breath-ring.r1 { animation: breathe 6s ease-in-out infinite; }
.breath-ring.r2 { animation: breathe 6s ease-in-out infinite 0.4s; }
.breath-ring.r3 { animation: breathe 6s ease-in-out infinite 0.8s; }

@keyframes breathe {
  0%, 100% { transform: scale(0.92); }
  50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .breath-core, .breath-ring { animation: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .breath-stage { height: 260px; }
}

/* ---------- sections ---------- */

section { padding: 78px 0; }

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

/* ---------- pillars / feature list ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  padding: 4px;
}

.pillar-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-pale);
  margin-bottom: 18px;
}

@media (max-width: 780px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(79, 147, 214, 0.12);
}

.card h3 { margin-bottom: 10px; }

.card .meta {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- service cards (services page) ---------- */

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.service-card .price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  white-space: nowrap;
  color: var(--btn-deep);
}

.service-card .price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
}

@media (max-width: 700px) {
  .service-card { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- quote ---------- */

.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.4;
}

.quote-block cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--btn);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2, .cta-banner p { color: var(--btn-text); }
.cta-banner .btn-primary { background: var(--white); color: var(--btn-text); }
.cta-banner .btn-primary:hover { background: var(--blue-pale); }

/* ---------- about page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--teal-pale), var(--blue-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--btn-deep);
  font-size: 0.9rem;
  border: 1px dashed var(--teal);
}

.credentials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.credentials li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
}

.credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 850px) {
  .about-grid { grid-template-columns: 1fr; }
  .photo-placeholder { max-width: 340px; }
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 26px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--btn-deep);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 20px;
  margin: 0;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 36px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid .brand span { font-size: 1.05rem; }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links a:hover { color: var(--btn-deep); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- focus states ---------- */

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--btn-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: 70px 32px 20px;
  text-align: center;
}

.page-hero .wrap { max-width: 720px; }
