/* ============================================
   DEAN BUSINESS SOLUTIONS — styles.css
   Shadcn-inspired: White / Black / Zinc Grey
   ============================================ */

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

:root {
  --bg:         #ffffff;
  --bg-secondary: #fafafa;
  --bg-muted:   #f4f4f5;
  --border:     #e4e4e7;
  --border-strong: #d4d4d8;

  --text:       #09090b;
  --text-muted: #71717a;
  --text-light: #a1a1aa;

  --accent:     #18181b;
  --accent-hover: #27272a;

  --white:      #ffffff;
  --black:      #09090b;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.10), 0 8px 24px rgba(0,0,0,.06);

  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.text-gradient {
  background: linear-gradient(135deg, #18181b 0%, #52525b 50%, #18181b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* --- BADGE --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}


/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--black);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,.20);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  background: var(--bg-muted);
  border-color: var(--text-light);
}

.btn--sm  { padding: 8px 16px; font-size: 0.82rem; }
.btn--lg  { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; }


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.nav__logo-img--footer {
  height: 48px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 12px 0 16px;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { padding: 0 16px; }
.nav__mobile a {
  display: block;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}
.nav__mobile a:hover { color: var(--text); background: var(--bg-muted); }


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: var(--bg);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero__headline {
  margin-bottom: 20px;
  max-width: 780px;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 28px 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat__value {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.stat__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,0,0,.04) 0%, transparent 70%);
  pointer-events: none;
}


/* ============================================
   TRUST BAR
   ============================================ */
.trust {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
  overflow: hidden;
}
.trust__label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 16px;
}
.trust__logos {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.trust__logos span {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.trust__logos span:last-child { border-right: none; }


/* ============================================
   SECTIONS SHARED
   ============================================ */
.section { padding: 96px 0; }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section__title { margin-bottom: 16px; }
.section__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--bg-secondary); }

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition),
              transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card--featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.card--featured h3 { color: var(--white); }
.card--featured p  { color: #a1a1aa; }
.card--featured .card__list li { color: #d4d4d8; }
.card--featured .card__list li::before { color: #71717a; }

.card__icon {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.card--featured .card__icon { color: #71717a; }

.card h3 { margin-bottom: 10px; }
.card p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }

.card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card__list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  font-weight: 500;
}
.card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text-light);
  font-size: 0.75rem;
}


/* ============================================
   PROCESS
   ============================================ */
.process { background: var(--bg); }

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 16px;
}

.step__number {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.step__content h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step__content p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.process__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--border-strong);
  margin-top: 26px;
  position: relative;
}
.process__connector::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--border-strong);
}


/* ============================================
   REVIEWS (image cards)
   ============================================ */
.results { background: var(--bg-secondary); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.review-img-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
}
.review-img-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.review-img-card img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--bg); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.about__content h2 { margin-bottom: 20px; }
.about__content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.highlight__icon {
  width: 22px; height: 22px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text);
  flex-shrink: 0;
}


/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--black);
  padding: 72px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta-banner p {
  color: #71717a;
  font-size: 0.95rem;
}

.cta-banner .btn--primary {
  background: var(--white);
  color: var(--black);
  flex-shrink: 0;
}
.cta-banner .btn--primary:hover {
  background: var(--bg-muted);
  box-shadow: 0 4px 20px rgba(255,255,255,.15);
}


/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--bg-secondary); }

/* Calendly booking strip */
.booking-strip {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 56px;
  align-items: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 48px;
}
.booking-strip__text h2 { margin-bottom: 14px; }
.booking-strip__text p  {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.booking-strip .badge   { margin-bottom: 12px; }

/* "or send a message" divider */
.contact-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}

.contact__info h2 { margin-bottom: 16px; }
.contact__info > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.detail__icon {
  font-size: 1rem;
  color: var(--text-light);
  width: 20px;
  text-align: center;
}

/* Form */
.contact__form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form__group input,
.form__group select,
.form__group textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-light);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.form__group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form__success {
  display: none;
  padding: 12px 16px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.form__success.show { display: block; }


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

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

.footer__brand .nav__logo { margin-bottom: 12px; display: inline-flex; }
.footer__brand > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 280px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer__col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-light);
}


/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services__grid,
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links   { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 64px 0 56px; }

  .hero__stats {
    gap: 20px;
    padding: 20px 24px;
  }
  .stat__divider { display: none; }

  .services__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .process__steps { flex-direction: column; align-items: center; }
  .process__connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }
  .process__connector::after {
    right: -4px; top: auto; bottom: -5px;
    border-left-color: transparent;
    border-top-color: var(--border-strong);
  }

  .about__inner   { grid-template-columns: 1fr; gap: 0; }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .booking-strip  { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .form__row      { grid-template-columns: 1fr; }

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner .btn   { width: 100%; max-width: 320px; }

  .footer__inner  { grid-template-columns: 1fr; gap: 32px; }
  .footer__links  { grid-template-columns: 1fr 1fr; }

  .trust__logos span { border-right: none; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
  .footer__links { grid-template-columns: 1fr; }
}
