/* ============================================
   Sheri Liliston — Professional Services
   Classic & Elegant | Burgundy + Blush
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2C;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FBF5F2;
    --blush-mid: #EDE0DA;
    --cream: #FDF8F6;
    --warm-white: #FEFCFB;
    --charcoal: #2A2224;
    --text-dark: #3D2B2F;
    --text-body: #5C4549;
    --text-muted: #8A6F74;
    --gold: #B8926A;
    --gold-light: #D4B896;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --container-max: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.08);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--burgundy-deep);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 500;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

.section-eyebrow eyebrow-light {
    color: var(--blush);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.section-title.title-light {
    color: var(--blush-light);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 640px;
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--blush-light);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    color: var(--blush-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--blush-light);
}

.btn-outline-light {
    background: transparent;
    color: var(--blush-light);
    border-color: rgba(245, 230, 224, 0.6);
}

.btn-outline-light:hover {
    background: var(--blush-light);
    color: var(--burgundy);
    border-color: var(--blush-light);
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(253, 248, 246, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--blush-mid);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--burgundy);
    border-radius: var(--radius-sm);
    position: relative;
    flex-shrink: 0;
}

.logo-mark::after {
    content: 'S';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--blush-light);
}

.logo-mark-light::after {
    color: var(--blush-light);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-dark);
}

.logo-light .logo-text {
    color: var(--blush-light);
}

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-nav a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--burgundy);
    background: var(--blush);
}

.nav-cta {
    background: var(--burgundy) !important;
    color: var(--blush-light) !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--burgundy-deep) !important;
    color: var(--blush-light) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(42, 34, 36, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--cream);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
}

.nav-overlay.active .nav-overlay-inner {
    transform: translateX(0);
}

.nav-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-overlay a {
    display: block;
    padding: 14px 16px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.nav-overlay a:hover {
    background: var(--blush);
    color: var(--burgundy);
}

.nav-cta-mobile {
    background: var(--burgundy) !important;
    color: var(--blush-light) !important;
    text-align: center;
    margin-top: 16px;
    border-radius: var(--radius-md) !important;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy-deep);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 31, 44, 0.92) 0%,
        rgba(123, 45, 59, 0.85) 50%,
        rgba(92, 31, 44, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 500;
    color: var(--blush-light);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(245, 230, 224, 0.85);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 230, 224, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background: var(--warm-white);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

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

.service-card {
    background: var(--warm-white);
    border: 1px solid var(--blush-mid);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--burgundy);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--burgundy);
    color: var(--blush-light);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--blush-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--burgundy);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-body {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--blush-mid);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--blush-mid);
}

/* ---------- Approach ---------- */
.approach {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.approach-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.approach-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.approach-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 31, 44, 0.94) 0%,
        rgba(123, 45, 59, 0.9) 100%
    );
}

.approach-content {
    position: relative;
    z-index: 2;
}

.approach-content .section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.approach-item {
    padding: 32px;
    background: rgba(253, 248, 246, 0.06);
    border: 1px solid rgba(245, 230, 224, 0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.approach-item:hover {
    background: rgba(253, 248, 246, 0.1);
    border-color: rgba(245, 230, 224, 0.25);
    transform: translateY(-2px);
}

.approach-num {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.approach-title {
    font-size: 1.3rem;
    color: var(--blush-light);
    margin-bottom: 12px;
}

.approach-desc {
    font-size: 0.95rem;
    color: rgba(245, 230, 224, 0.75);
    line-height: 1.75;
}

/* ---------- Community ---------- */
.community {
    padding: 100px 0;
    background: var(--warm-white);
}

.community-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.community-text .section-title {
    margin-bottom: 24px;
}

.community-body {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 20px;
}

.community-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--blush-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    border-radius: var(--radius-md);
    color: var(--burgundy);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-value a {
    color: var(--burgundy);
}

.contact-value a:hover {
    color: var(--burgundy-deep);
}

/* Form */
.contact-form-wrap {
    background: var(--warm-white);
    border: 1px solid var(--blush-mid);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--blush-light);
    border: 1px solid var(--blush-mid);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--warm-white);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.form-notice {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    line-height: 1.6;
}

/* Form success */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.visible {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush);
    border-radius: 50%;
    color: var(--burgundy);
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ---------- Map ---------- */
.map-section {
    background: var(--blush-mid);
}

.map-section iframe {
    width: 100%;
    height: 320px;
    filter: grayscale(30%) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--charcoal);
    color: rgba(245, 230, 224, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 300px;
    color: rgba(245, 230, 224, 0.6);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(245, 230, 224, 0.65);
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--blush-light);
}

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-phone a {
    color: var(--gold-light);
}

.footer-phone a:hover {
    color: var(--blush-light);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 224, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(245, 230, 224, 0.45);
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    max-width: 500px;
    text-align: right;
    color: rgba(245, 230, 224, 0.35) !important;
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .community-inner,
    .contact-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .hero-headline br {
        display: block;
    }

    .hero-content {
        padding: 100px 20px 80px;
    }

    .services {
        padding: 72px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .about,
    .community,
    .contact {
        padding: 72px 0;
    }

    .about-grid,
    .community-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img {
        height: 360px;
    }

    .about-stats {
        gap: 20px;
    }

    .approach {
        padding: 72px 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }
}
