* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

:root {
  --primary: #0f766e;
  --primary-dark: #0d5c54;
  --accent: #059669;
  --bg: #ffffff;
  --section-bg: #f0fdfa;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #d1fae5;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Oxygen', 'Ubuntu', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  position: relative;
}

nav {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 60px;
}

.nav-brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 12px;
  }

  .nav-brand-full {
    display: none;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

header {
  background: linear-gradient(135deg, #134e4a 0%, #064e3b 100%);
  color: white;
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

header h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
}

header p {
  margin-top: 16px;
  font-size: clamp(18px, 2.5vw, 22px);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero-cta {
  margin-top: 32px;
  position: relative;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

main {
  max-width: 1200px;
  margin: -60px auto 0;
  padding: 0 20px 60px;
  position: relative;
  z-index: 10;
}

.section {
  background: var(--card-bg);
  padding: 48px 40px;
  margin-bottom: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 24px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 16px 0;
}

.section p:last-child {
  margin-bottom: 0;
}

.about-section {
  text-align: center;
}

.about-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.services-section {
  padding: 48px 40px;
  background: var(--section-bg);
}

.services-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 40px 0;
  letter-spacing: -0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-content h3 {
  font-size: 20px;
  margin: 0 0 8px 0;
  color: var(--accent);
  font-weight: 700;
}

.service-content .price {
  font-size: 28px;
  font-weight: 700;
  margin: 12px 0;
  color: var(--primary);
}

.service-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

.contact-section {
  max-width: 600px;
  margin: 0 auto 32px;
}

.contact-section h2 {
  text-align: center;
}

.contact-section > p {
  text-align: center;
  margin-bottom: 32px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input,
textarea {
  padding: 16px;
  border-radius: 8px;
  border: 2px solid var(--border);
  font-size: 16px;
  background: var(--bg);
  font-family: inherit;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--accent) 100%
  );
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 40px 20px;
  background: var(--section-bg);
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .section {
    padding: 32px 20px;
  }

  .services-section {
    padding: 32px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }

  main {
    padding: 0 16px 60px;
  }

  form > div[style*='grid-template-columns'] {
    grid-template-columns: 1fr !important;
  }
}
