:root {
  --color-text: #4a4744;
  --color-muted: #6e6a66;
  --color-primary: #5c5754;
  --color-accent: #7a7572;
  --color-bg: #f4f2f0;
  --color-surface: #d9d3cb;
  --color-border: #c4beb6;
  --font-body: "Raleway", system-ui, sans-serif;
  --font-serif: "Fahkwang", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

section {
  padding: 6rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

/* Hero */
#hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem;
  background:
    linear-gradient(to bottom, rgba(92, 87, 84, 0.5), rgba(74, 71, 68, 0.65)),
    url("assets/doula.jpg") center/cover no-repeat;
  max-width: none;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

#hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: white;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

#hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  line-height: 1.6;
}

/* Buttons */
.btn,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06);
}

.btn:hover,
button[type="submit"]:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

.btn:focus,
button[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(92, 87, 84, 0.35);
}

/* Section headings */
h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* About */
#about {
  background: var(--color-surface);
  text-align: center;
  max-width: none;
}

#about h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 60rem;
  margin: 0 auto;
  align-items: start;
}

.about-photo {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 0.5rem;
  object-fit: cover;
  aspect-ratio: 1;
}

.about-text {
  text-align: center;
}

.about-text p {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: auto 1fr;
    gap: 3rem;
    text-align: left;
  }

  .about-photo {
    margin: 0;
  }

  .about-text {
    text-align: left;
  }

  .about-text p {
    margin: 0 0 1.5rem;
  }
}

/* Testimonials */
#testimonials {
  background: white;
  max-width: none;
}

#testimonials h2 {
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  max-width: 60rem;
  margin: 0 auto;
}

.testimonial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--color-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.testimonial:last-child {
  margin-bottom: 0;
}

.testimonial-img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  margin: 0 auto;
}

.testimonial-content {
  text-align: center;
}

.testimonial p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
  .testimonial {
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    text-align: left;
  }

  .testimonial-img {
    margin: 0;
  }

  .testimonial-content {
    text-align: left;
  }
}

.testimonial cite {
  display: block;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-primary);
}

/* Contact */
#contact {
  background: var(--color-bg);
  max-width: none;
}

#contact > h2,
#contact > p {
  text-align: center;
}

#contact > p {
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

form {
  max-width: 28rem;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: white;
  transition: all 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(92, 87, 84, 0.15);
}

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

form button[type="submit"] {
  width: 100%;
  margin-top: 0.5rem;
}

footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-col:first-child {
  text-align: left;
}

.footer-col:nth-child(2) {
  text-align: center;
}

.footer-col:last-child {
  text-align: right;
}

.footer-title {
  font-weight: 500;
  color: white;
}

.footer-sub {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:link,
.footer-col a:visited {
  color: rgba(255, 255, 255, 0.85);
}

.footer-col a:hover {
  color: white;
}

.footer-col svg {
  display: block;
  stroke: rgba(255, 255, 255, 0.85);
  transition: stroke 0.2s ease;
}

.footer-col a:hover svg {
  stroke: white;
}

/* Responsive */
@media (max-width: 640px) {
  section {
    padding: 4rem 1.25rem;
  }

  #hero {
    min-height: 50vh;
    padding: 5rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col:first-child,
  .footer-col:last-child {
    text-align: center;
  }
}
