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

:root {
  --color-bg: #faf9f7;
  --color-surface: #fff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-accent: #2c3e2d;
  --color-accent-light: #3d5a3e;
  --color-border: #e8e5e0;
  --color-hero-overlay: rgba(20, 25, 20, 0.55);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 6px;
  corner-shape: squircle;
  transition:
    background 0.2s,
    color 0.2s !important;
}

.nav-cta:hover {
  background: var(--color-accent-light);
}

/* Hero */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-accent);
  background-image: linear-gradient(
    135deg,
    #2c3e2d 0%,
    #3d5a3e 50%,
    #2c3e2d 100%
  );
  position: relative;
}

.hero-content {
  max-width: 700px;
  padding: 0 24px;
}

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

#hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 36px;
  background: #fff;
  color: var(--color-accent);
  border: none;
  border-radius: 6px;
  corner-shape: squircle;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Sections */

section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* About */

#about {
  text-align: center;
}

.about-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Services */

#services {
  background: var(--color-surface);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  padding: 40px 24px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  corner-shape: squircle;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.service-icon {
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Contact */

#contact {
  text-align: center;
}

.contact-intro {
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

#contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

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

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

.form-group.full-width {
  margin-bottom: 16px;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

input,
select,
textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  corner-shape: squircle;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-accent);
}

textarea {
  resize: vertical;
}

#contact-form .btn {
  background: var(--color-accent);
  color: #fff;
  width: 100%;
  margin-top: 8px;
}

#contact-form .btn:hover {
  background: var(--color-accent-light);
}

.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 24px;
}

.form-status.success {
  color: var(--color-accent);
}

.form-status.error {
  color: #b44;
}

/* Footer */

footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

footer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Hamburger toggle */

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

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

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */

.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(250, 249, 247, 0.98);
  backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-100%);
  opacity: 0;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile a:last-child {
  border-bottom: none;
  color: var(--color-accent);
  font-weight: 600;
}

/* Mobile */

@media (max-width: 640px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

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

  section {
    padding: 72px 0;
  }

  #hero h1 {
    font-size: 2rem;
  }

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