/* ============================================================
   BusinessSupport.io — Stylesheet
   Warm neutral palette: professional, friendly, non-corporate
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Warm neutrals */
  --ink: #2d2a26;
  --muted: #6b6560;
  --bg: #fffbf7;
  --bg-subtle: #f7f3ee;
  --card: #ffffff;
  --border: #e8e0d8;
  --border-light: #f0ebe5;

  /* Brand — warm teal-green: approachable, trustworthy, not corporate-blue */
  --brand: #2a9d8f;
  --brand-hover: #238a7e;
  --brand-light: #e8f6f3;
  --brand-ring: rgba(42, 157, 143, 0.3);

  /* Accent — warm terracotta for highlights */
  --accent: #c4704b;
  --accent-light: #fdf0ea;

  /* Typography */
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Spacing & shape */
  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(45, 42, 38, 0.06), 0 4px 12px rgba(45, 42, 38, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 42, 38, 0.08), 0 8px 32px rgba(45, 42, 38, 0.04);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

/* --- Utilities --- */
.container { max-width: var(--maxw); margin-inline: auto; padding: 0 24px; }
.muted { color: var(--muted); }
.card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid { display: grid; gap: 24px; }
.chip {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.btn:active { transform: scale(0.98); }

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.25);
}
.btn.primary:hover { background: var(--brand-hover); }

.btn.ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--ink);
}
.btn.ghost:hover { background: var(--bg-subtle); }

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

.btn.sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* --- Header / Nav --- */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 251, 247, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 50;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: 200px; height: auto; }
.footer-logo { width: 180px; height: auto; }

nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
nav a:hover {
  background: var(--bg-subtle);
  text-decoration: none;
}
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.mobile-cta { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
}
.hamburger:focus-visible { outline: 3px solid var(--brand-ring); }

/* --- Hero --- */
.hero { padding: 72px 0 64px; }
.hero-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
  line-height: 1.12;
  margin: 0.5rem 0 0.75rem;
  color: var(--ink);
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero .frame {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-subtle), var(--border-light));
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Sections --- */
section { padding: 64px 0; }
section h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  margin: 0 0 0.5rem;
}
.section-intro { max-width: 680px; margin-bottom: 32px; }
.section-intro p { margin: 0.4rem 0 0; }

/* --- Services Grid --- */
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 28px;
  box-shadow: 0 2px 8px rgba(45, 42, 38, 0.06);
}
.service-icon.bookkeeping { background: #e8f6f3; }
.service-icon.payroll { background: #fdf0ea; }
.service-icon.vat { background: #eef0f7; }
.service-icon.data { background: #f3f0e8; }
.service-icon.billing { background: #e8f2f6; }
.service-icon.analytics { background: #f5ede8; }

.service-card h3 {
  margin: 0.25rem 0 0.4rem;
  font-size: 1.1rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  flex: 1;
}
.service-card .btn { margin-top: auto; }

/* --- About --- */
.about-section { background: linear-gradient(180deg, var(--bg), var(--bg-subtle)); }
.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.about-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-content ul {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 14px;
}
.about-content li { line-height: 1.6; }
.about-image {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Testimonials --- */
.testimonials-section { background: var(--bg-subtle); }
.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}
.quote-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--brand);
  position: relative;
}
.quote-card::before {
  content: "\201C";
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.2;
  font-family: Georgia, serif;
  position: absolute;
  top: 16px;
  right: 20px;
}
blockquote { margin: 0; }
.quote-card p {
  font-size: 1rem;
  font-style: italic;
  margin: 0 0 auto;
  padding-bottom: 1rem;
  line-height: 1.65;
  color: var(--ink);
}
.quote-card footer {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* --- CTA Banner --- */
.cta-section { padding: 48px 0; }
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 32px;
  background: linear-gradient(135deg, var(--brand-light), #f0faf8);
  border-color: rgba(42, 157, 143, 0.15);
}
.cta-box h2 { margin: 0 0 0.25rem; }
.cta-box p { margin: 0; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- Contact --- */
.contact-grid {
  grid-template-columns: 1fr 1fr;
}
.contact-form { padding: 28px; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.contact-form textarea { resize: vertical; }

.contact-info { padding: 28px; }
.contact-info h3 { margin: 0 0 1rem; }
.contact-info p { margin: 0 0 1rem; }
.contact-socials { display: flex; gap: 12px; margin-top: 16px; }

/* Social icon buttons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--muted);
  border: 1px solid var(--border);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.social-icon:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  text-decoration: none;
}
.social-icon[aria-label="Facebook"]:hover { background: #1877f2; }
.social-icon[aria-label="LinkedIn"]:hover { background: #0a66c2; }
.social-icon[aria-label="Instagram"]:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }

/* --- Footer --- */
footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}
.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
footer h4 {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: 0.95rem;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
footer a {
  color: var(--muted);
  font-size: 0.9rem;
}
footer a:hover { color: var(--brand); }
.footer-brand { margin-bottom: 0.5rem; }
.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  background: var(--card);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

/* --- Skip Link --- */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero .frame { max-width: 500px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 260px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 251, 247, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
  }
  nav ul.open { display: flex; }
  .hamburger { display: inline-grid; margin-left: auto; }
  .nav-cta { display: none; }
  .mobile-cta { display: list-item; list-style: none; margin-top: 8px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { text-align: center; justify-content: center; }
  .cta-actions { justify-content: center; }
  section { padding: 48px 0; }
}
