/* Anders Business Solutions - Redesigned */
:root {
  --navy: #0b2e67;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #14b8a6;
  --green: #22c55e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 14px rgba(11,46,103,.10);
  --shadow-lg: 0 18px 40px rgba(11,46,103,.16);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 54px; width: auto; }
.nav-cluster { display: flex; align-items: center; gap: 26px; }
.header-phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border: 2px solid var(--gray-200);
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color .18s, color .18s, box-shadow .18s;
}
.header-phone:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); }
@media (max-width: 1100px) { .header-phone { display: none; } }
.nav-desktop { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-desktop a { color: var(--gray-700); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.nav-desktop a:hover { color: var(--blue); }
.nav-desktop a.active { color: var(--navy); border-bottom-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--gray-700); padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-mobile { display: none; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--gray-700); border-top: 1px solid var(--gray-100); }
.nav-mobile a.active { color: var(--navy); background: var(--gray-50); }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background-image:
    linear-gradient(135deg, rgba(37,99,235,.82), rgba(20,184,166,.76), rgba(34,197,94,.72)),
    url('pictures/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-inner {
  max-width: 820px;
  padding: 80px 24px;
  animation: rise .7s ease-out;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.hero p {
  margin: 0 auto 32px;
  max-width: 620px;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,.92);
}
.hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition: transform .16s, box-shadow .16s, background .16s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: rgba(255,255,255,.94); color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Sections */
main { flex: 1; }
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 20px;
}
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}
.section-head p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { height: 180px; object-fit: cover; width: 100%; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.25rem; }
.card p { margin: 0; color: var(--gray-600); font-size: .95rem; flex: 1; }
.card .card-link { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--blue); }
.card .card-link:hover { color: var(--blue-dark); }

/* Feature blocks */
.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
}
.feature h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.feature p { margin: 0; color: var(--gray-600); font-size: .95rem; }

/* Split layout */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split.split-top { align-items: start; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split-copy h2 { margin: 0 0 14px; color: var(--navy); font-size: 1.9rem; font-weight: 800; }
.split-copy p { margin: 0 0 18px; color: var(--gray-600); }
.split-copy ul { margin: 0 0 24px; padding-left: 22px; color: var(--gray-700); }
.split-copy li { margin-bottom: 8px; }

/* Contact form */
.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 360px 1fr; } }
.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-info h3 { margin: 0 0 16px; color: var(--navy); }
.contact-info p { color: var(--gray-600); margin: 0 0 18px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 700;
  border-top: 1px solid var(--gray-200);
}
.phone-link img { width: 28px; height: 28px; border-radius: 6px; }
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-full { grid-column: 1 / -1; } }
label { display: block; font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.18);
  background: var(--white);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { margin: 0 0 10px; font-size: 1.7rem; }
.cta-band p { margin: 0 0 22px; color: rgba(255,255,255,.85); }

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 28px 20px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--gray-600);
  font-size: 14px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--gray-600); }
.footer-links a:hover { color: var(--navy); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: 420px; }
  .hero-inner { padding: 60px 18px; }
}

@media (max-width: 700px) {
  /* Mobile: show only the first image in the service-page photo strip */
  .image-strip > figure:not(:first-of-type) { display: none; }
}
