/* ===================================
   Decluttering Services - Martha Robles
   Calming, Professional Design
   =================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3d3d3d;
    background: #fff;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }

/* Variables - Calming Palette */
:root {
    --purple: #6B3FA0;
    --purple-light: #9B6BC3;
    --purple-dark: #4A2A70;
    --cream: #f9f7f4;
    --warm-gray: #6b6b6b;
    --dark: #2d2d2d;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
}

/* Utility */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.text-accent {
    color: var(--purple);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .875rem 1.75rem;
    font-size: .9375rem;
    font-weight: 500;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s;
}
.btn-primary {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
}
.btn-primary:hover {
    background: var(--purple-dark);
    border-color: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124,154,130,.3);
}
.btn-outline {
    background: transparent;
    color: var(--purple);
    border-color: var(--purple);
}
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-white {
    background: var(--white);
    color: var(--purple);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-full { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    padding: .75rem 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { color: var(--purple);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--purple);
}
.logo-sub {
    font-size: .75rem;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: .9375rem; font-weight: 400; color: var(--warm-gray); }
.nav a:hover { color: var(--purple); }
.btn-nav {
    background: var(--purple);
    color: var(--white) !important;
    padding: .625rem 1.25rem;
    border-radius: 6px;
}
.btn-nav:hover { background: var(--purple-dark); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all .3s;
}

/* Hero */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f5f7f5 0%, #e8ede9 100%);
    text-align: center;
    width: 100%;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c9a82' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-logo { max-width: 320px; margin: 0 auto 1.5rem; width: 100%; height: auto; }
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    color: var(--purple);
    line-height: 1.2;
    margin-bottom: .5rem;
}
.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--purple);
    font-style: italic;
    margin-bottom: 1.5rem;
}
.hero-desc {
    font-size: 1.0625rem;
    color: var(--warm-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 5rem 0; }
.section-light { background: var(--cream); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark .section-tag { background: rgba(124,154,130,.2); color: var(--purple-light); }
.section-dark h2 { color: var(--white); }
.section-dark .service-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.section-dark .service-card:hover { background: rgba(255,255,255,.08); border-color: var(--purple); }
.section-dark .service-card p { color: rgba(255,255,255,.7); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block;
    background: var(--purple);
    color: var(--white);
    padding: .375rem 1rem;
    border-radius: 50px;
    font-size: .8125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--purple);
    max-width: 600px;
    margin: 0 auto;
}

/* Why Section */
.why-lead {
    text-align: center;
    font-size: 1.125rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.why-icon svg { width: 28px; height: 28px; color: var(--white); }
.why-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: .5rem;
    color: var(--purple);
}
.why-card p { font-size: .9375rem; color: var(--warm-gray); }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 2rem;
    transition: all .3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-light);
}
.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; color: var(--white); }
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--purple);
    margin-bottom: .75rem;
}
.service-card p { font-size: .9375rem; color: var(--warm-gray); line-height: 1.6; }

/* How It Works */
.how-section { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}
.step-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--purple);
    margin-bottom: .5rem;
}
.step-content p { color: var(--warm-gray); }

/* Formats */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.format-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all .3s;
}
.format-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.format-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.format-icon svg { width: 32px; height: 32px; color: var(--white); }
.format-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--purple);
    margin-bottom: .75rem;
}
.format-card p { font-size: .9375rem; color: var(--warm-gray); }

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 5rem 0;
    text-align: center;
}
.cta-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: .75rem;
}
.cta-inner p { color: rgba(255,255,255,.9); margin-bottom: 2rem; font-size: 1.0625rem; }

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.contact-info { padding-top: 1rem; }
.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: .25rem;
}
.contact-tagline { color: var(--purple-light); font-size: 1.0625rem; margin-bottom: 1rem; }
.contact-desc { color: rgba(255,255,255,.7); margin-bottom: 2rem; font-size: .9375rem; }
.contact-form {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group-full { grid-column: 1 / -1; }
.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .5rem;
    color: rgba(255,255,255,.8);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .875rem 1rem;
    font-size: .9375rem;
    font-family: inherit;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: var(--white);
    transition: border-color .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.4); }
.form-group select option { background: var(--dark); color: var(--white); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--purple-light);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: rgba(255,255,255,.6);
    padding: 3rem 0 1.5rem;
}
.footer-inner { text-align: center; }
.footer-logo { max-width: 180px; margin: 0 auto 1rem; }
.footer-brand { margin-bottom: 1.5rem; text-align: center; }
.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    display: block;
    margin-bottom: .25rem;
}
.footer-brand p { font-size: .875rem; }
.footer-tagline { color: var(--purple-light); font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .8125rem; }

/* Mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }
    .nav.active { display: flex; }
    .nav-toggle { display: flex; }
    .hero { padding: 6rem 0 3rem; }
    .hero-desc { font-size: 1rem; }
    .why-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .formats-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .step { gap: 1rem; }
    .step-number { width: 48px; height: 48px; font-size: 1.25rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-tagline { font-size: 1.25rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
}
