/* Candid Cleaners — Warm Design Tokens
   Shared across all pages. Extracted from homepage editorial redesign.
   Palette: sage/terracotta/charcoal on linen. Typography: Fraunces serif + Inter body. */

:root {
    --sage: #7B8C6F;
    --sage-light: #A8B89A;
    --sage-muted: #D4DEC9;
    --terracotta: #C9846B;
    --terracotta-light: #E8B59E;
    --charcoal: #2A2A28;
    --charcoal-soft: #4A4A46;
    --linen: #F7F2EA;
    --linen-light: #FAF6F0;
    --cream: #FDF9F3;
    --border: #E8E0D4;
    --error: #C44B3F;
    --amber: #C9846B;
    --amber-light: #FDF5EF;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--linen);
    color: var(--charcoal);
    line-height: 1.7;
}

/* Subtle linen texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Fraunces', serif;
    color: var(--charcoal);
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: var(--linen-light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav .nav-logo {
    text-decoration: none;
}

.site-nav .nav-logo img {
    height: 30px;
    width: auto;
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav .nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav .nav-links a:hover {
    color: var(--charcoal);
}

.site-nav .nav-links a.active {
    color: var(--sage);
    font-weight: 600;
}

.site-nav .nav-cta {
    background: var(--sage);
    color: #fff !important;
    padding: 11px 26px;
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.site-nav .nav-cta:hover {
    background: var(--charcoal);
    color: #fff !important;
}

/* Phone nav link */
.nav-phone {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--sage);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-phone:hover { color: var(--charcoal); }
@media (min-width:769px) { .nav-phone-text { font-size: 0.85rem; } }
@media (max-width:768px) { .nav-phone { background: var(--sage-muted); padding: 8px 14px; border-radius: 100px; font-weight: 600; color: var(--charcoal); } }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--terracotta);
    color: #fff;
    padding: 16px 36px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(201,132,107,0.3);
    width: 100%;
}

.btn-primary:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(42,42,40,0.2);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    background: transparent;
    color: var(--charcoal-soft);
    border: 2px solid var(--border);
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--charcoal-soft);
    color: var(--charcoal);
}

/* Cards */
.card {
    background: var(--cream);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(42,42,40,0.06);
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-active { background: var(--sage-muted); color: var(--sage); }
.badge-paused { background: var(--amber-light); color: var(--terracotta); }
.badge-cancelled { background: #FEF2F0; color: var(--error); }
.badge-upcoming { background: var(--sage-muted); color: var(--sage); }

/* Form elements */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.form-group label .optional {
    color: var(--charcoal-soft);
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.2s;
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--sage);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group .error-msg {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

/* Footer */
.site-footer {
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.site-footer .logo-small {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-footer .logo-small svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.site-footer .logo-small span {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.01em;
}

.site-footer span {
    color: var(--charcoal-soft);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--sage);
    text-decoration: none;
    font-weight: 500;
}

/* Mobile responsive nav */
@media (max-width: 768px) {
    .site-nav { padding: 14px 20px; }
    .site-nav .nav-links { gap: 16px; }
    .site-nav .nav-links a:not(.nav-cta):not(.nav-phone) { display: none; }
    .site-footer { padding: 30px 20px; flex-direction: column; gap: 12px; text-align: center; }
}
