@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800&display=swap");

:root {
  --teal: #36ba9c;
  --teal-light: #48edc7;
  --text: #2a2a2a;
  --text-muted: #5a5a5a;
  --bg-alt: #f9fafb;
  --dark: #202020;
  --font: "Barlow", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; color: var(--teal); }
a:hover { color: #2a9e84; }
ul, li { list-style: none; }
img { max-width: 100%; display: block; }

/* Grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 820px;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 24px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 17px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--teal);
}

/* ===== Hero ===== */
.hero {
  padding: 7rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #f0faf7 0%, #ffffff 100%);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.hero p {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font);
  border-radius: 4px;
  border: 2px solid var(--teal);
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: #2a9e84;
  border-color: #2a9e84;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--teal);
}

.btn--outline:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ===== Services ===== */
.services-intro {
  text-align: center;
  margin-bottom: 48px;
}

.services-intro h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.services-intro p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-card i {
  font-size: 24px;
  color: var(--teal);
  margin-top: 4px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Pricing callout */
.pricing-callout {
  text-align: center;
  margin: 48px 0;
}

.pricing-callout .price {
  font-size: 48px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
}

.pricing-callout .price span {
  font-size: 24px;
  font-weight: 400;
}

.pricing-callout p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* Service CTA */
.service-cta {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}

.service-cta h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===== About ===== */
.about-grid {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.about-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f8f4, #d0f0e8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo i {
  font-size: 64px;
  color: var(--teal);
  opacity: 0.5;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text--centered {
  max-width: 640px;
  margin: 0 auto;
}

.about-text--centered h2 {
  text-align: center;
}

/* ===== Contact ===== */
.contact-section h2 {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.contact-section > .container > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-links a i {
  font-size: 20px;
  color: var(--teal);
}

.contact-links a:hover {
  color: var(--teal);
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  padding: 40px 0 32px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #bbb;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer p {
  color: #777;
  font-size: 14px;
}

/* ===== Comparison Grid (Business page) ===== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.compare-card {
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.compare-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-card li {
  font-size: 15px;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
}

.compare-card li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.compare-card--bad {
  background: #fafafa;
}

.compare-card--bad li::before {
  content: "\2717";
  color: #c0392b;
}

.compare-card--good {
  background: #f0faf7;
  border-color: var(--teal);
}

.compare-card--good h3 {
  color: var(--teal);
}

.compare-card--good li::before {
  content: "\2713";
  color: var(--teal);
}

@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Value Points (Business page) ===== */
.value-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 520px;
  margin: 0 auto;
}

.value-point {
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-point i {
  font-size: 18px;
  color: var(--teal);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.value-point span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 480px) {
  .value-points {
    grid-template-columns: 1fr;
  }
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--delay, 0) * 120ms);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 7rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo {
    width: 160px;
    height: 160px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .pricing-callout .price {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .about-text h2 {
    font-size: 26px;
  }

  .contact-section h2 {
    font-size: 26px;
  }

  .services-intro h2 {
    font-size: 26px;
  }
}
