:root {
  --bg: #f1eee9;
  --primary: #2f4640;
  --secondary: #657b6e;
  --border: rgba(47, 70, 64, 0.12);
  --surface: rgba(255, 255, 255, 0.44);
  --surface-strong: rgba(255, 255, 255, 0.7);
  --text-soft: rgba(47, 70, 64, 0.8);
  --shadow: 0 16px 34px rgba(47, 70, 64, 0.05);
  --radius: 28px;
  --radius-lg: 40px;
  --container: min(1180px, calc(100% - 2.5rem));
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  background: var(--bg);
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Lexend Deca", sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
  color: var(--text-soft);
  text-align: justify;
  text-justify: inter-word;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-solid {
  background: var(--primary);
  color: #f7f5f2;
}

.button-outline{
  background: #2f4640;
  color: #f7f5f2;
  border-color: var(--border);
}

.button-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(241, 238, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 70, 64, 0.07);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand {
  margin-left: 1.5rem;
}

.brand img {
  height: 58px;
  width: auto;
  max-width: min(100%, 320px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.header-cta {
  min-width: 10.25rem;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(47, 70, 64, 0.08);
  color: var(--primary);
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  background: linear-gradient(90deg, rgba(241, 238, 233, 0.92) 0%, rgba(241, 238, 233, 0.68) 42%, rgba(241, 238, 233, 0.18) 74%, rgba(241, 238, 233, 0.08) 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  min-height: calc(100vh - var(--header-height));
  padding: 2rem 0;
}

.hero-panel {
  width: min(100%, 46rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.hero-panel h1 {
  max-width: 12.2ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 4.25vw, 4.25rem);
}

.hero-text {
  max-width: 43rem;
}

.about-placeholder span,
.gallery-placeholder span,
.service-media--placeholder span {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-placeholder strong,
.gallery-placeholder strong,
.service-media--placeholder strong,
.footer-links strong {
  font-family: "Lexend Deca", sans-serif;
  font-weight: 400;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.section-intro {
  max-width: 46rem;
  margin-bottom: 2.8rem;
}

.section-intro h2,
.about-copy h2,
.contact-copy h2 {
  margin-bottom: 1rem;
}

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

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.contact-copy,
.contact-map,
.cta-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  overflow: hidden;
}

.service-media {
  margin: 1.2rem 1.2rem 0;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 1.2rem);
  overflow: hidden;
}

.service-media img,
.gallery-item img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-media img {
  border-radius: inherit;
}

.service-media--placeholder,
.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  text-align: center;
  color: var(--secondary);
}

.gallery-placeholder {
  border: 1px dashed rgba(47, 70, 64, 0.22);
  background: rgba(255, 255, 255, 0.18);
}

.gallery-placeholder div {
  max-width: 14rem;
}

.service-body h3 {
  margin-bottom: 0.75rem;
}

.service-body {
  padding: 1.6rem 2rem 2rem;
}

.contact-copy,
.contact-map,
.cta-panel {
  padding: 2rem;
}

.about {
  padding-top: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 3rem;
  align-items: start;
}

.about-media {
  display: grid;
  gap: 1rem;
}

.about-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 6;
}

.about-photo img {
  object-position: center center;
}

.about-placeholder {
  padding: 1.4rem;
  border: 1px dashed rgba(47, 70, 64, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  color: var(--secondary);
}

.about-copy p + p {
  margin-top: 1.15rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.4;
}

.gallery-item--large {
  grid-row: span 2;
  aspect-ratio: auto;
}

.section-cta {
  padding-top: 2rem;
}

.cta-panel {
  text-align: center;
}

.cta-panel h2 {
  max-width: 18ch;
  margin: 0 auto 1.4rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-details span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
}

.contact-details a,
.contact-details p,
.footer-links a,
.footer-brand p,
.footer-bottom p {
  color: var(--text-soft);
}

.contact-map {
  min-height: 32rem;
  overflow: hidden;
}

.contact-map iframe {
  width: calc(100% + 4rem);
  height: calc(100% + 4rem);
  margin: -2rem;
  border: 0;
}

.site-footer {
  padding: 2rem 0 2.4rem;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(47, 70, 64, 0.08);
}

.footer-brand {
  max-width: 19rem;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 17rem;
  text-align: left;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 70, 64, 0.08);
}

@media (max-width: 980px) {
  :root {
    --header-height: 84px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem;
    background: rgba(241, 238, 233, 0.98);
    border: 1px solid var(--border);
    border-radius: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.8rem 0.4rem;
  }

  .brand {
    margin-left: 0;
  }

  .brand img {
    height: 54px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(241, 238, 233, 0.82) 0%, rgba(241, 238, 233, 0.58) 44%, rgba(241, 238, 233, 0.18) 100%);
  }

  .hero-content {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-panel h1,
  .cta-panel h2 {
    max-width: none;
  }

  .services-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item--large {
    aspect-ratio: 4 / 4.2;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 1.2rem);
  }

  .section {
    padding: 4.8rem 0;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.7rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand img {
    height: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    min-height: auto;
    padding: 1.25rem 0;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-panel {
    width: 100%;
  }

  .hero-copy,
  .contact-copy,
  .contact-map,
  .cta-panel {
    padding: 1.4rem;
  }

  .service-media {
    margin: 1rem 1rem 0;
    border-radius: calc(var(--radius) - 1rem);
  }

  .service-body {
    padding: 1.4rem 1.4rem 1.5rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-map {
    min-height: 22rem;
  }

  .contact-map iframe {
    width: calc(100% + 2.8rem);
    height: calc(100% + 2.8rem);
    margin: -1.4rem;
  }
}
