/* ===== CSS Custom Properties ===== */
:root {
  --color-primary: #3d4f5f;
  --color-primary-dark: #2c3a47;
  --color-primary-light: #56697a;
  --color-accent: #2ab5a0;
  --color-accent-dark: #229587;
  --color-accent-light: #3ecdb5;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-muted: #888;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fb;
  --color-bg-dark: #2c3a47;
  --color-border: #e2e8f0;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --section-padding: 5rem 1.5rem;
  --border-radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-dark);
}

h1, h2, h3, h4 {
  color: var(--color-primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* ===== Header / Navigation ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: var(--color-primary);
}

.nav-brand span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ===== Section Styles ===== */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255,255,255,0.85);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* ===== Pain Points Grid ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.pain-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.pain-icon {
  width: 56px;
  height: 56px;
  background: rgba(42, 181, 160, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-accent);
}

.pain-icon i {
  width: 26px;
  height: 26px;
}

.pain-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pain-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1.25rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(42, 181, 160, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.card-icon i {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Social Proof / Quote ===== */
.quote-section {
  text-align: center;
  padding: var(--section-padding);
}

.quote-block {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.6;
  position: relative;
  padding: 0 2rem;
}

.quote-block::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-accent);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
}

.quote-source {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Services Page ===== */
.service-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(42, 181, 160, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.service-icon i {
  width: 24px;
  height: 24px;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* How we work */
.work-together {
  max-width: 700px;
  margin: 0 auto;
}

.work-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.work-check {
  width: 28px;
  height: 28px;
  background: rgba(42, 181, 160, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.work-check i {
  width: 16px;
  height: 16px;
}

.work-item p {
  margin-bottom: 0;
}

/* ===== About Page ===== */
.about-intro {
  max-width: 760px;
  margin: 0 auto;
}

.about-intro p {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.value-item {
  padding: 1.5rem;
}

.value-icon {
  width: 44px;
  height: 44px;
  background: rgba(42, 181, 160, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.value-icon i {
  width: 22px;
  height: 22px;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.clients-section {
  max-width: 700px;
  margin: 0 auto;
}

.clients-section p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.client-tag {
  background: rgba(42, 181, 160, 0.1);
  color: var(--color-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Contact Page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: var(--color-text);
}

.contact-detail i {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  background: var(--color-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(42, 181, 160, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .optional {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

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

.contact-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: var(--color-bg-alt);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: var(--color-accent);
}

.footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding: 4rem 1.5rem 3.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero .subtitle { font-size: 1.05rem; }

  .section { padding: 3.5rem 1.5rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .header .nav {
    position: relative;
  }

  .steps { gap: 2rem; }

  .service-block {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-banner { padding: 3rem 1.5rem; }

  .quote-block { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
}
