/*
Theme Name:   Astra Child — Favorite Child Elder Concierge
Theme URI:    https://favoriteelder.com
Description:  Child theme for Favorite Child Elder Concierge
Author:       Favorite Child LLC
Author URI:   https://favoriteelder.com
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  astra-child
*/

/* ═══════════════════════════════════════════
   DESIGN SYSTEM
═══════════════════════════════════════════ */
:root {
  --ink:       #0F1318;
  --ink2:      #2C333D;
  --ink3:      #5A6470;
  --parch:     #F5F0E8;
  --parch2:    #EDE8DE;
  --parch3:    #FAF7F2;
  --white:     #FFFFFF;
  --copper:    #B87333;
  --copper2:   #D4924A;
  --copper3:   #F0C98A;
  --copper-bg: rgba(184,115,51,0.08);
  --moss:      #4A6741;
  --moss2:     #6B9460;
  --moss-bg:   rgba(74,103,65,0.08);
  --slate:     #3D5060;
  --slate2:    #6A8599;
  --ruby:      #8B3A3A;
  --border:    rgba(184,115,51,0.18);
  --border2:   rgba(15,19,24,0.1);
  --shadow-sm: 0 2px 12px rgba(15,19,24,0.06);
  --shadow-md: 0 8px 32px rgba(15,19,24,0.10);
  --shadow-lg: 0 20px 60px rgba(15,19,24,0.15);
  --r:         3px;
}

/* ═══ RESET / BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
}
body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
}
::selection { background: var(--copper3); color: var(--ink); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--parch); }
::-webkit-scrollbar-thumb { background: var(--copper); border-radius: 3px; }

/* ═══ ASTRA OVERRIDES ═══ */
.site-header,
.ast-primary-header-bar,
#masthead { display: none !important; }

.ast-container,
.ast-container-fluid,
.entry-content,
.entry-content > *,
.site-content,
#content,
#content .ast-container,
.ast-article-single,
.ast-article-post,
.post-page-content {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single { margin: 0 !important; }
.entry-header,
.ast-breadcrumbs-wrapper { display: none !important; }
.site-footer,
.footer-widget-area,
.ast-small-footer { display: none !important; }
#page, #content, .site-content { padding-top: 0 !important; margin-top: 0 !important; }
.ast-page-builder-template .entry-content { margin: 0 !important; }

/* Force our sections to be true full-width */
.fc-hero, .fc-about, .fc-services, .fc-pricing, #fc-footer {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  float: none !important;
  clear: both;
  display: block;
}

/* Prevent Astra float/column styles bleeding into pricing grid */
.fc-pricing-cards {
  float: none !important;
  clear: both;
  width: 100% !important;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fc-pricing-cards .pc {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* Astra sometimes wraps content in a floated column — kill it */
.ast-right-sidebar #content,
.ast-left-sidebar #content { width: 100% !important; }
#secondary, .widget-area { display: none !important; }

/* ═══ TYPOGRAPHY ═══ */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }
.display { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.05; }
.display em { font-style: italic; }

/* ═══ NAV ═══ */
#fc-nav {
  position: fixed; top: 0; width: 100%; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3.5rem;
  background: rgba(15,19,24,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,115,51,0.2);
  transition: all 0.4s;
}
.fc-nav-logo {
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  color: var(--white); cursor: pointer; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
}
.fc-nav-logo span { color: var(--copper2); }
.fc-nav-links { display: flex; align-items: center; gap: 2.5rem; }
.fc-nav-link {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); cursor: pointer; transition: color 0.2s;
  font-weight: 500; border: none; background: none;
  font-family: 'Jost', sans-serif; text-decoration: none;
}
.fc-nav-link:hover { color: var(--copper2); }
.fc-nav-link.cta {
  background: var(--copper); color: var(--white) !important;
  padding: 0.55rem 1.4rem; border-radius: var(--r);
  letter-spacing: 0.1em; text-decoration: none;
}
.fc-nav-link.cta:hover { background: var(--copper2); color: var(--ink) !important; }
.fc-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.fc-hamburger span { width: 22px; height: 1.5px; background: var(--white); display: block; transition: all 0.3s; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: var(--r); cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  transition: all 0.25s; border: 1px solid transparent;
  white-space: nowrap; text-decoration: none;
}
.btn-copper { background: var(--copper); color: var(--white); }
.btn-copper:hover { background: var(--copper2); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--copper); color: var(--copper2); }
.btn-ink { background: var(--ink2); color: var(--white); }
.btn-ink:hover { background: var(--ink); transform: translateY(-1px); color: var(--white); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }

/* ═══ HERO ═══ */
.fc-hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
  background: var(--ink);
  width: 100vw !important;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  max-width: 100vw;
  box-sizing: border-box;
}
.fc-hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 4rem 4rem 4.5rem; position: relative; z-index: 2;
  background: linear-gradient(135deg, var(--ink) 0%, #1a2535 100%);
}
.fc-hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--copper2); margin-bottom: 1.25rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.75rem;
}
.fc-hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--copper); }
.fc-hero-h1 {
  font-size: clamp(2.8rem, 4.5vw, 5rem); color: var(--white);
  font-weight: 400; line-height: 1.06; margin-bottom: 1.5rem;
}
.fc-hero-h1 em { color: var(--copper2); font-style: italic; }
.fc-hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.5); font-weight: 300;
  max-width: 420px; line-height: 1.75; margin-bottom: 2rem;
}
.fc-hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.fc-hero-right {
  position: relative; overflow: hidden; z-index: 2;
}
.fc-hero-right img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.fc-hero-right::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 35%; background: linear-gradient(to top, rgba(15,19,24,0.45) 0%, transparent 100%);
  pointer-events: none;
}

/* ═══ SECTION UTILITIES ═══ */
.fc-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 1.25rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.6rem;
}
.fc-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--copper); }
.fc-eyebrow.center { justify-content: center; }
.fc-eyebrow.light { color: var(--copper2); }
.fc-eyebrow.light::before { background: var(--copper2); }
.fc-section-h { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--ink); line-height: 1.15; margin-bottom: 1.25rem; }
.fc-section-h.light { color: var(--white); }
.fc-section-p { color: var(--ink3); line-height: 1.8; font-weight: 300; font-size: 1.02rem; }
.fc-section-p.light { color: rgba(255,255,255,0.5); }

/* ═══ ABOUT ═══ */
.fc-about {
  background: var(--parch3); padding: 7rem 4.5rem;
}
.fc-about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 4fr; gap: 6rem;
  align-items: center; grid-template-rows: auto auto;
}
.fc-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.fc-about-tile {
  background: var(--white); padding: 1.75rem 1.5rem; transition: background 0.2s;
}
.fc-about-tile:hover { background: var(--parch); }
.fc-about-tile-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.fc-about-tile-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: 0.4rem; }
.fc-about-tile-desc { font-size: 0.82rem; color: var(--ink3); line-height: 1.6; }
.fc-about-btns {
  grid-column: 1 / -1; display: flex; gap: 1rem;
  margin-top: 2rem; flex-wrap: wrap;
}

/* ═══ SERVICES ═══ */
.fc-services {
  background: var(--parch3); padding: 6rem 4.5rem;
}
.fc-services-inner { max-width: 1200px; margin: 0 auto; }
.fc-services-heading { text-align: center; margin-bottom: 3.5rem; }
.fc-services-heading .fc-section-p { max-width: 560px; margin: 0.75rem auto 0; text-align: center; }

.svc-item {
  border: 1px solid var(--border2); background: var(--white);
  margin-bottom: 0.5rem; border-radius: var(--r);
  transition: box-shadow 0.2s;
}
.svc-item.open { box-shadow: var(--shadow-md); }
.svc-header {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 2rem;
  cursor: pointer; transition: background 0.15s; user-select: none;
  min-height: 64px; -webkit-tap-highlight-color: transparent;
  border-radius: var(--r);
}
.svc-header:hover { background: var(--parch); }
.svc-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: var(--copper-bg); border: 1px solid var(--border);
}
.svc-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; flex: 1; }
.svc-desc-short { font-size: 0.82rem; color: var(--ink3); margin-top: 0.2rem; }
.svc-arrow {
  width: 24px; height: 24px; border-radius: 50%; background: var(--parch2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; transition: transform 0.3s; flex-shrink: 0;
}
.svc-item.open .svc-arrow { transform: rotate(180deg); background: var(--copper); color: white; }
.svc-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
  padding: 0 2rem 0 5.25rem;
}
.svc-item.open .svc-body { max-height: 1000px; padding-bottom: 1.5rem; }
.svc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.svc-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--ink2); padding: 0.4rem 0;
  border-bottom: 1px solid var(--parch2);
}
.svc-list li::before { content: '→'; color: var(--copper); flex-shrink: 0; }

/* ═══ PRICING ═══ */
.fc-pricing { background: var(--ink); padding: 6rem 4.5rem; }
.fc-pricing-inner { max-width: 1280px; margin: 0 auto; }
.fc-pricing-heading { margin-bottom: 3rem; }

.fc-pricing-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5px; background: rgba(184,115,51,0.2);
  border: 1px solid rgba(184,115,51,0.2);
  border-radius: var(--r); overflow: hidden; margin-bottom: 2rem;
}
.pc {
  background: rgba(255,255,255,0.03); padding: 2.5rem 2rem;
  transition: background 0.25s; position: relative;
}
.pc.featured { background: rgba(184,115,51,0.1); }
.pc-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--copper); color: var(--white); padding: 0.3rem 1.2rem;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; border-radius: 0 0 4px 4px;
}
.pc-tier {
  font-family: 'Playfair Display', serif; font-size: 1.5rem;
  color: var(--white); margin-bottom: 0.25rem; margin-top: 0.5rem;
}
.pc-price {
  font-size: 3rem; color: var(--copper2); line-height: 1;
  font-family: 'Playfair Display', serif; margin: 1.25rem 0 0.25rem;
}
.pc-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.6rem; display: inline-block; }
.pc-mo {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.pc-hours {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem; background: rgba(184,115,51,0.15);
  border: 1px solid rgba(184,115,51,0.3); font-size: 0.8rem;
  color: var(--copper3); letter-spacing: 0.08em; margin-bottom: 1.75rem;
  border-radius: 2px;
}
.pc-features { margin-bottom: 2rem; }
.pc-feat {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.84rem; color: rgba(255,255,255,0.68); line-height: 1.5;
}
.pc-check { color: var(--moss2); flex-shrink: 0; font-size: 0.8rem; margin-top: 0.2rem; }
.pc-btn {
  width: 100%; padding: 0.9rem; background: transparent;
  border: 1px solid rgba(184,115,51,0.35); color: var(--copper2);
  font-family: 'Jost', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer; border-radius: var(--r);
  transition: all 0.25s; font-weight: 500; text-decoration: none;
  display: block; text-align: center;
}
.pc-btn:hover, .pc.featured .pc-btn {
  background: var(--copper); color: var(--white); border-color: var(--copper);
}
.fc-alacarte {
  border: 1px dashed rgba(184,115,51,0.35); padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.fc-alacarte p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.fc-alacarte-price { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--copper2); }

/* ═══ FOOTER ═══ */
#fc-footer {
  background: var(--ink); color: rgba(255,255,255,0.45);
  padding: 5rem 4.5rem 2.5rem;
}
.fc-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
  max-width: 1200px; margin: 0 auto 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 3rem;
}
.fc-footer-brand {
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  color: var(--white); margin-bottom: 1rem;
}
.fc-footer-brand span { color: var(--copper2); }
.fc-footer-about { font-size: 0.88rem; line-height: 1.7; font-weight: 300; }
.fc-footer-heading {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper2); margin-bottom: 1.25rem; font-weight: 500;
}
.fc-footer-link {
  display: block; font-size: 0.85rem; color: rgba(255,255,255,0.45);
  cursor: pointer; margin-bottom: 0.6rem; transition: color 0.2s;
  text-decoration: none;
}
.fc-footer-link:hover { color: var(--copper2); }
.fc-footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; font-size: 0.75rem;
  color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 0.5rem;
}

/* ═══ MOBILE ═══ */
@media(max-width: 900px) {
  #fc-nav { padding: 1rem 1.5rem; }
  .fc-nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 64px; left: 0; right: 0; background: var(--ink);
    padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid rgba(184,115,51,0.2); z-index: 8999;
  }
  .fc-nav-links.open { display: flex; }
  .fc-hamburger { display: flex; }

  .fc-hero { grid-template-columns: 1fr; }
  .fc-hero-right { display: none; }
  .fc-hero-left { padding: 6rem 1.5rem 4rem; }
  .fc-hero-h1 { font-size: 2.4rem; }
  .fc-hero-sub { font-size: 0.95rem; }
  .fc-hero-btns { flex-direction: column; gap: 0.65rem; }
  .fc-hero-btns .btn { width: 100%; justify-content: center; }

  .fc-about { padding: 3.5rem 1.5rem; }
  .fc-about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .fc-about-grid { grid-template-columns: 1fr 1fr; }

  .fc-services { padding: 3.5rem 1rem; }
  .svc-header { padding: 1.1rem 1rem; gap: 0.85rem; }
  .svc-icon { width: 38px; height: 38px; font-size: 1.05rem; }
  .svc-title { font-size: 1rem; }
  .svc-desc-short { font-size: 0.78rem; }
  .svc-list { grid-template-columns: 1fr; gap: 0; }
  .svc-list li { font-size: 0.85rem; padding: 0.5rem 0; }
  .svc-item.open .svc-body { max-height: 800px; }
  .svc-body { padding-left: 1rem !important; padding-right: 1rem !important; }

  .fc-pricing { padding: 3.5rem 1rem; }
  .fc-pricing-cards {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    gap: 0 !important;
  }
  .fc-pricing-cards .pc {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-bottom: 1rem;
    border: 1px solid rgba(184,115,51,0.2) !important;
    border-radius: 3px;
  }
  .fc-alacarte { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .fc-alacarte .btn { width: 100%; justify-content: center; }

  .fc-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  #fc-footer { padding: 3.5rem 1.5rem 2rem; }
}

@media(max-width: 480px) {
  .fc-about-grid { grid-template-columns: 1fr; }
  .fc-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .fc-hero-h1 { font-size: 2rem; }
  .fc-section-h { font-size: 1.7rem; }
  .svc-header { padding: 1rem 0.85rem; }
  .svc-list li { font-size: 0.83rem; }
  .fc-pricing-cards { display: block !important; }
  .fc-pricing-cards .pc { width: 100% !important; max-width: 100% !important; }
}
