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

:root {
  --color-teal: #1c818f;
  --color-green: #20ce88;
  --color-yellow: #febd02;
  --color-cream: #f2f0e1;
  --color-text: #333;
  --color-muted: #858585;
  --color-white: #fff;
  --max-width: 1100px;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(28, 129, 143, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

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

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

a:hover {
  color: var(--color-green);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid rgba(28, 129, 143, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo img {
  width: 110px;
  height: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-teal);
  background: transparent;
  color: var(--color-teal);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  cursor: pointer;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
}

.site-nav__link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-green);
  border-bottom-color: var(--color-green);
}

.site-main {
  flex: 1;
}

.site-footer {
  background: var(--color-teal);
  color: var(--color-white);
  margin-top: 3rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: var(--color-white);
}

.site-footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3rem 0;
}

.section--cream {
  background: var(--color-cream);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-teal);
}

.section__lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  max-width: 65ch;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: var(--color-teal);
  color: var(--color-white);
}

.hero__text,
.hero__media {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__text {
  padding: 3rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.2;
  color: var(--color-yellow);
}

.hero__subtitle {
  margin: 0;
  font-size: 1.125rem;
  max-width: 42ch;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.grid--2 > * {
  flex: 1 1 280px;
}

.grid--3 > * {
  flex: 1 1 220px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card__title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-teal);
}

.card__text {
  margin: 0;
}

.card--accent {
  border-top: 4px solid var(--color-green);
}

.quote-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.quote-block__item {
  flex: 1 1 260px;
  padding: 1.25rem;
  border-left: 4px solid var(--color-green);
  background: rgba(32, 206, 136, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-block__term {
  margin: 0 0 0.5rem;
  font-style: italic;
  color: var(--color-teal);
  font-weight: 700;
}

.quote-block__def {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--color-yellow);
  color: #000;
  font-weight: 700;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  color: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.gallery__item {
  flex: 1 1 220px;
  max-width: calc(33.333% - 0.67rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.contact-panel__info {
  flex: 1 1 280px;
}

.contact-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  font-size: 1.25rem;
  font-weight: 700;
}

.page-intro {
  padding: 2.5rem 0 1rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .gallery__item {
    max-width: calc(50% - 0.5rem);
  }
}

@media (max-width: 480px) {
  .gallery__item {
    max-width: 100%;
  }
}
