:root {
  --accent-primary: #2a9d8f;
  --accent-secondary: #e9c46a;
  --bg-main: #f4f0e8;
  --text-body: #264653;
  --text-muted: rgba(38, 70, 83, 0.75);
  --card-bg: #ffffff;
  --shadow-soft: 0 10px 25px rgba(38, 70, 83, 0.1);
  --radius-lg: 18px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-main);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
}

header,
main,
footer {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.hero {
  padding: 3rem 0 4rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: var(--bg-main);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.nav__title {
  font-size: 1.2rem;
  font-weight: 700;
}

.nav__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav__links a {
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  background: rgba(42, 157, 143, 0.15);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: none;
}

.nav__toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-body);
  border-radius: 3px;
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__text p {
  max-width: 540px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 12px 20px rgba(42, 157, 143, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.media-card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding-inline: 3rem;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.founders,
.services,
.why-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.founders {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.founder-card,
.service-card,
.why-grid article,
.testimonial,
.contact-details,
.contact-form {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.founder-card h3,
.service-card h3,
.why-grid article h3 {
  margin: 1rem 0 0.5rem;
}

.promise {
  border: 2px dashed var(--accent-secondary);
  padding: 1.5rem;
}

.promise ul {
  margin-top: 1rem;
  list-style: disc inside;
}

.services {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.testimonial blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial__author {
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.map-embed {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  box-shadow: var(--shadow-soft);
  border: 0;
}

.social {
  display: flex;
  gap: 1rem;
}

.social a {
  font-weight: 600;
  color: var(--accent-primary);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(38, 70, 83, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button {
  width: fit-content;
}

.footer {
  margin: 3rem auto;
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
}

.footer__links {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    background: var(--bg-main);
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__toggle {
    display: flex;
  }

  .section--alt {
    padding-inline: 1.5rem;
  }
}
