/* =============================================
   Connecting the Pieces Consulting — site.css
   Palette: khaki, sage, peach pop, warm off-white
   ============================================= */

:root {
    --khaki:       #C8B89A;
    --khaki-light: #EDE5D8;
    --khaki-dark:  #9E8E74;
    --sage:        #8FAF8F;
    --sage-light:  #D6E8D6;
    --sage-dark:   #5E8460;
    --peach:       #F2C4A0;
    --peach-light: #FAE8D8;
    --peach-dark:  #D4926A;
    --bg:          #F9F6F1;
    --bg-card:     #FFFFFF;
    --text:        #2C2C2C;
    --text-muted:  #6B6560;
    --text-light:  #9C958E;
    --border:      rgba(200, 184, 154, 0.35);
    --border-med:  rgba(200, 184, 154, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

/* ---- Typography ---- */
.font-display { font-family: 'Playfair Display', serif; }
.font-cursive  { font-family: 'Dancing Script', cursive; }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    font-weight: 500;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--sage-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sage); }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Logo ---- */
.logo-link {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: inherit;
    text-decoration: none;
}
.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
}
.logo-sub {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--khaki-dark);
    margin-top: -2px;
    margin-left: 2px;
}
.logo-main.small { font-size: 1rem; }
.logo-sub.small  { font-size: 0.95rem; }

/* ---- Header / Nav ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(249, 246, 241, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.nav-link:hover { background: var(--khaki-light); color: var(--text); }
.nav-link.active { color: var(--text); font-weight: 500; }
.nav-link.nav-cta {
    background: var(--sage);
    color: white;
    font-weight: 500;
    margin-left: 0.5rem;
}
.nav-link.nav-cta:hover { background: var(--sage-dark); color: white; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.btn-primary {
    background: var(--sage);
    color: white;
}
.btn-primary:hover { background: var(--sage-dark); color: white; transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--khaki);
    color: var(--text);
}
.btn-outline:hover { background: var(--khaki-light); color: var(--text); transform: translateY(-1px); }

.btn-peach {
    background: var(--peach);
    color: var(--text);
}
.btn-peach:hover { background: var(--peach-dark); color: white; transform: translateY(-1px); }

/* ---- Section layout ---- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--khaki-light); }
.section-sage { background: var(--sage-light); }

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--khaki-dark);
    margin-bottom: 0.75rem;
}
.section-head {
    margin-bottom: 1rem;
}
.section-subhead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
}

/* ---- Hero ---- */
.hero {
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--peach-light);
    opacity: 0.55;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--sage-light);
    opacity: 0.5;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-dark);
    background: var(--sage-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero h1 { max-width: 680px; margin-bottom: 1.25rem; }
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---- Stats strip ---- */
.stats-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text);
    display: block;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ---- Cards ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.card-icon.peach { background: var(--peach-light); }
.card-icon.khaki { background: var(--khaki-light); }

/* ---- Service / Pricing cards ---- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.package-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); transform: translateY(-3px); }
.package-card.featured {
    border: 2px solid var(--sage);
    background: linear-gradient(160deg, #fff 60%, var(--sage-light) 100%);
}
.package-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--sage-light);
    color: var(--sage-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    align-self: flex-start;
}
.package-badge.peach { background: var(--peach-light); color: var(--peach-dark); }
.package-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.package-price span {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
}
.package-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.package-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.package-includes {
    list-style: none;
    flex: 1;
    margin-bottom: 1.75rem;
}
.package-includes li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.package-includes li::before {
    content: '✓';
    color: var(--sage-dark);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- About / Bio ---- */
.bio-strip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--khaki-light);
    border: 3px solid var(--khaki);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--khaki-dark);
}
.bio-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}
.bio-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: var(--khaki-dark);
    margin-bottom: 0.75rem;
}

/* ---- Contact form ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.825rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-med);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--bg-card);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(143, 175, 143, 0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.booking-box {
    background: var(--khaki-light);
    border: 1px solid var(--border-med);
    border-radius: 20px;
    padding: 2.25rem;
    text-align: center;
}
.booking-box h3 {
    margin-bottom: 0.75rem;
}
.booking-box p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.booking-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0;
    color: var(--text-light);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}
.booking-divider::before,
.booking-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-med);
}

/* ---- Page heroes (inner pages) ---- */
.page-hero {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.05rem; max-width: 520px; }

/* ---- Why section ---- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.why-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}
.why-item .why-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}
.why-item h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.why-item p {
    font-size: 0.825rem;
    margin: 0;
}

/* ---- Process steps ---- */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
    position: relative;
}
.process-list::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: var(--border-med);
}
.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    position: relative;
}
.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--khaki);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--khaki-dark);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.step-content h3 { margin-bottom: 0.35rem; }
.step-content p { font-size: 0.9rem; margin: 0; }

/* ---- Footer ---- */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.75);
    padding: 3rem 0 2rem;
    text-align: center;
}
.site-footer .logo-main { color: white; }
.site-footer .logo-sub { color: var(--khaki); }
.footer-brand { margin-bottom: 0.75rem; }
.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.5rem;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.footer-nav a {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-nav a:hover { color: white; }
.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-center .section-subhead { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

.success-message {
    background: var(--sage-light);
    border: 1px solid var(--sage);
    color: var(--sage-dark);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}
.error-message {
    background: #FDE8E8;
    border: 1px solid #F0AAAA;
    color: #A33535;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--border);
        gap: 0.25rem;
    }
    .site-nav.open { display: flex; }
    .site-header { position: relative; }
    .site-header .container { position: relative; }

    .contact-grid { grid-template-columns: 1fr; }
    .bio-strip { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .packages-grid { grid-template-columns: 1fr; }
}
