/* Archer Legal — Modern Business Lawyers Template */
/* Design: Clean, approachable, professional, transparent pricing */

:root {
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --bg-dark: #1c2537;
    --text: #1c2537;
    --text-muted: #5b6577;
    --text-light: #8d96a5;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff4ff;
    --border: #e5e8ed;
    --success: #059669;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-display: 'DM Serif Display', serif;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 56px;
    --space-xl: 96px;
    --space-xxl: 130px;
    --max-width: 1100px;
    --radius: 6px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; font-weight: 400; font-size: 15px; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 40px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,.05); }
.header-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.2rem; font-weight: 700; }
.logo span { color: var(--accent); font-weight: 500; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: .84rem; color: var(--text-muted); transition: color var(--transition); }
.nav a:hover { color: var(--text); }
.nav-cta { padding: 8px 18px !important; background: var(--accent) !important; color: #fff !important; border-radius: var(--radius) !important; font-weight: 500 !important; }
.nav-cta:hover { background: var(--accent-hover) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 26px; height: 16px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 1px; transition: var(--transition); }
.nav-toggle span:first-child { top: 0; }
.nav-toggle span:last-child { bottom: 0; }

/* --- Hero --- */
.hero { padding: 140px 40px var(--space-xl); }
.hero-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-lg); align-items: center; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.5rem); line-height: 1.15; margin-bottom: var(--space-md); }
.hero-sub { color: var(--text-muted); font-size: .95rem; line-height: 1.8; margin-bottom: var(--space-lg); max-width: 440px; }
.hero-actions {}
.hero-note { font-size: .78rem; color: var(--text-light); margin-top: 12px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.hero-badge { position: absolute; bottom: -20px; left: -20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.badge-num { display: block; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.badge-text { font-size: .72rem; color: var(--text-muted); }

.btn { display: inline-block; font-size: .85rem; font-weight: 500; padding: 14px 28px; border-radius: var(--radius); transition: all var(--transition); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 32px; font-size: .9rem; display: block; text-align: center; margin-bottom: 12px; }

/* --- Trust Bar --- */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 40px; }
.trust-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-muted); }
.trust-item svg { color: var(--accent); }

/* --- Services --- */
.services { padding: var(--space-xl) 40px; }
.services-inner { max-width: var(--max-width); margin: 0 auto; }
.services-header { max-width: 560px; margin-bottom: var(--space-lg); }
.services-header h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.services-header p { color: var(--text-muted); font-size: .9rem; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--transition), box-shadow var(--transition); }
.service-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(37,99,235,.08); }
.service-icon { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.service-card h3 { font-size: .95rem; font-weight: 500; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: .84rem; line-height: 1.7; margin-bottom: 12px; }
.service-price { font-size: .75rem; color: var(--success); font-weight: 500; }

/* --- How We Work --- */
.how { padding: var(--space-xl) 40px; background: var(--bg-alt); }
.how-inner { max-width: var(--max-width); margin: 0 auto; }
.how-inner > h2 { font-family: var(--font-display); font-size: 2rem; text-align: center; margin-bottom: var(--space-lg); }
.how-steps { display: flex; align-items: flex-start; gap: 0; }
.how-step { flex: 1; text-align: center; padding: 0 var(--space-md); }
.step-marker { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; margin: 0 auto var(--space-sm); }
.how-step h3 { font-size: .95rem; font-weight: 500; margin-bottom: 8px; }
.how-step p { color: var(--text-muted); font-size: .84rem; line-height: 1.7; }
.step-connector { width: 60px; height: 2px; background: var(--border); margin-top: 24px; flex-shrink: 0; }

/* --- About --- */
.about { padding: var(--space-xl) 40px; }
.about-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-lg); align-items: center; }
.about-image img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.about-text h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: var(--space-md); line-height: 1.3; }
.about-text p { color: var(--text-muted); font-size: .9rem; line-height: 1.8; margin-bottom: var(--space-sm); }

/* --- FAQ --- */
.faq { padding: var(--space-xl) 40px; background: var(--bg-alt); }
.faq-inner { max-width: 700px; margin: 0 auto; }
.faq-inner > h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: var(--space-lg); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 20px 0; font-size: .92rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-light); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--text-muted); font-size: .88rem; line-height: 1.8; }

/* --- Contact --- */
.contact { padding: var(--space-xxl) 40px; }
.contact-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--space-xl); align-items: start; }
.contact-left h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.contact-left > p { color: var(--text-muted); font-size: .9rem; margin-bottom: var(--space-lg); }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-link { font-size: .9rem; color: var(--text-muted); transition: color var(--transition); }
.contact-link:hover { color: var(--accent); }
.contact-link strong { color: var(--text); font-weight: 500; }
.contact-right { padding-top: var(--space-md); }
.contact-note { font-size: .78rem; color: var(--text-light); margin-top: 8px; }

/* --- Footer --- */
.footer { padding: var(--space-md) 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { font-size: .72rem; color: var(--text-light); max-width: 500px; }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 900px) {
    :root { --space-xl: 72px; --space-xxl: 96px; }
    .header { padding: 14px 24px; }
    .hero { padding: 110px 24px var(--space-lg); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .hero-badge { bottom: -16px; left: 16px; }
    .services, .how, .about, .faq, .contact { padding-left: 24px; padding-right: 24px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .how-steps { flex-direction: column; align-items: center; gap: var(--space-md); }
    .step-connector { width: 2px; height: 32px; }
    .about-inner { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .nav { display: none; position: fixed; inset: 0; background: rgba(255,255,255,.98); flex-direction: column; align-items: center; justify-content: center; gap: 28px; z-index: 999; }
    .nav.open { display: flex; }
    .nav-toggle { display: block; z-index: 1001; }
    .services-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .trust-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}
