/* ==========================================================================
   Bookkeeping By Design - Static Site Styles
   ========================================================================== */

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

:root {
  --green: #93C800;
  --green-light: #f4fae6;
  --dark: #1e1e1e;
  --body-bg: #ffffff;
  --hero-bg: #FAFAF7;
  --footer-bg: #EFF2ED;
  --gray: #6b7280;
  --light-gray: #e5e5e5;
  --font-body: 'Montserrat', sans-serif;
  --font-heading: 'Belleza', sans-serif;
  --max-width: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark);
  background: var(--body-bg);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2;
}

h1 { font-size: clamp(32px, 5vw, 68px); }
h2 { font-size: clamp(28px, 3.5vw, 45px); margin-bottom: 20px; }
h3 { font-size: 22px; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 18px; color: var(--dark); margin-bottom: 12px; }

p { margin-bottom: 16px; }
strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover { background: #7db300; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------- Header / Navbar ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.header-logo img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  transition: color 0.2s;
}
.nav a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta:hover { background: #7db300; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero Section ---------- */
.hero {
  background: var(--hero-bg);
  padding: 8% 5% 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content { flex: 1; }
.hero-content p {
  font-size: 16px;
  color: #555;
  margin: 20px 0 30px;
}

.hero-image {
  flex: 1;
  max-width: 500px;
}
.hero-image img { width: 100%; }

/* ---------- Section backgrounds ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--hero-bg); }

.section-label {
  font-family: var(--font-heading);
  font-size: clamp(60px, 10vw, 140px);
  color: rgba(30,30,30,0.04);
  font-weight: 400;
  line-height: 1;
  margin-bottom: -30px;
  user-select: none;
}

/* ---------- Responsibilities Section ---------- */
.responsibilities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  gap: 30px;
}

.responsibilities-header-text { max-width: 600px; }
.responsibilities-header-text p { color: #555; margin-top: 12px; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  text-align: center;
  padding: 30px 20px;
}

.service-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.service-card p { font-size: 14px; color: #555; line-height: 1.7; }

/* ---------- Contact Section ---------- */
.contact-section {
  background: var(--hero-bg);
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: #555; margin-bottom: 30px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; fill: var(--green); }

.contact-detail a {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}
.contact-detail a:hover { color: var(--green); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group label .required { color: #e53935; }

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .sub-label { font-size: 12px; color: var(--gray); font-weight: 400; margin-top: 4px; }

.form-group select {
  appearance: none;
  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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Checkbox group */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.checkbox-group.columns-3 { display: grid; grid-template-columns: repeat(3, 1fr); }

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}

.form-divider {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin: 30px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.form-description { font-size: 13px; color: var(--gray); margin-top: 4px; }

.form-submit {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Honeypot */
.ohnohoney { position: absolute; left: -9999px; }

/* Turnstile widget */
.cf-turnstile { margin-bottom: 16px; }

/* ---------- About Section ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-left h2 { margin-bottom: 20px; }
.about-left p { color: #444; }

.about-right-images {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.about-right-images img {
  flex: 1;
  border-radius: 8px;
  object-fit: cover;
}

.about-right p { color: #444; }

/* Affiliations Carousel */
.affiliations {
  margin-top: 50px;
  overflow: hidden;
  padding: 20px 0;
}

.affiliations-track {
  display: flex;
  gap: 60px;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}

.affiliations-track img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: opacity 0.3s;
}
.affiliations-track img:hover { opacity: 1; filter: none; }

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Checklist Section ---------- */
.checklist-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.checklist-image { border-radius: 12px; overflow: hidden; }

.checklist-content h2 { margin-bottom: 16px; }
.checklist-content > p { color: #555; margin-bottom: 30px; }

.checklist-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  margin-bottom: 30px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.checklist-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

/* ---------- Referrals Section ---------- */
.referrals-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.referrals-content h2 { margin-bottom: 16px; }
.referrals-content p { color: #555; }

.referrals-image { border-radius: 12px; overflow: hidden; }

/* ---------- Testimonials Section ---------- */
.testimonials { text-align: center; padding: 80px 0; }

.testimonials-quote-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.testimonials h2 { margin-bottom: 40px; }

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
}

.testimonial-slide blockquote {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-slide cite {
  font-style: normal;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--light-gray);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.slider-btn:hover { border-color: var(--green); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }
.slider-btn svg { width: 16px; height: 16px; fill: var(--dark); }

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--light-gray);
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.slider-dot.active { background: var(--green); }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #555; line-height: 1.7; }

.footer h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-list li svg { width: 16px; height: 16px; fill: var(--green); flex-shrink: 0; }
.footer-contact-list li a { font-size: 14px; color: #555; transition: color 0.2s; }
.footer-contact-list li a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid #d5d9d2;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}

.footer-bottom a { color: var(--green); font-weight: 500; }

/* ---------- Inquiry Page ---------- */
.inquiry-hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.inquiry-hero img { max-width: 300px; margin: 0 auto 24px; }
.inquiry-hero p { max-width: 600px; margin: 0 auto; color: #555; font-size: 16px; }

.inquiry-form-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ---------- Thank You Page ---------- */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.thankyou-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.thankyou-check svg { width: 40px; height: 40px; stroke: var(--green); }

.thankyou-page h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.thankyou-page p {
  color: #555;
  max-width: 400px;
  margin-bottom: 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-image { max-width: 400px; margin: 0 auto; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .checklist-layout { grid-template-columns: 1fr; }
  .checklist-columns { grid-template-columns: 1fr; }
  .referrals-layout { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); gap: 16px; }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .service-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .responsibilities-header { flex-direction: column; }
  .slider-dots { flex-wrap: wrap; justify-content: center; }
  .checkbox-group.columns-3 { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .about-right-images { flex-direction: column; }
  .section { padding: 50px 0; }
  .section-label { font-size: 50px; }
}

@media (max-width: 480px) {
  .checkbox-group.columns-3 { grid-template-columns: 1fr; }
}
