*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #f8fafc;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --emerald: #059669;
  --emerald-light: #10b981;
  --charcoal: #0f172a;
  --charcoal-light: #1e293b;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --gray-bg: #f1f5f9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal-light);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--teal-dark) !important;
}

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.08);
  color: var(--teal);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.hero h1 span {
  color: var(--teal);
}

.hero p {
  font-size: 1.1875rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

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

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Section common */
.section {
  padding: 5rem 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section > .container > p {
  text-align: center;
  max-width: 600px;
  margin: -0.5rem auto 3rem;
  color: var(--gray);
  font-size: 1.125rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.25rem;
  border: 1px solid var(--gray-light);
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.7;
}

/* Process */
.process {
  background: var(--gray-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

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

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--gray-light);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--gray);
  font-weight: 500;
}

/* FAQ */
.faq-section {
  background: var(--gray-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--teal);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.8;
}

/* About page */
.page-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 2.5rem 0 1rem;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-content ul li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--charcoal-light);
}

.about-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.value-card .service-icon {
  margin: 0 auto 1rem;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact-detail-label {
  font-size: 0.8125rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-detail-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

/* Footer */
.footer {
  background: var(--charcoal);
  color: var(--gray-light);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray);
  max-width: 300px;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.8125rem;
  color: var(--gray);
}

.footer-bottom a:hover {
  color: var(--teal-light);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-svg {
    max-width: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}
