:root {
  --sage: #b8c8ad;
  --sage-dark: #6d8264;
  --beige: #efe5d4;
  --cream: #fbf8f1;
  --white: #ffffff;
  --text: #2f332d;
  --muted: #6f7669;
  --shadow: 0 18px 45px rgba(76, 89, 67, 0.13);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

a {
  color: inherit;

}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 241, 0.94);
  border-bottom: 1px solid rgba(109, 130, 100, 0.18);
  backdrop-filter: blur(10px);
}

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-links {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  list-style: none;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(251,248,241,0.65), rgba(251,248,241,0.8)),
    url("../assets/images/lg_08d9bbd04d2c1b16016a2dd728205819.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 650px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--sage-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 12px 0 20px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.button.primary {
  background: var(--sage-dark);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--sage-dark);
}

.intro-section,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 80px auto;
}

.section-heading {
  margin-bottom: 32px;
}

.feature-grid,
.service-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.service-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card.highlighted {
  background: var(--beige);
}

.wide-cta {
  width: min(1120px, calc(100% - 32px));
  margin: 80px auto;
  padding: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--beige), var(--sage));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(109, 130, 100, 0.18);
}

.page-title {
  max-width: 700px;
  margin-bottom: 36px;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.filter-button {
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.filter-button.active {
  background: var(--sage-dark);
  color: white;
}

.portfolio-item {
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  color: white;
  background: linear-gradient(135deg, #b8c8ad, #6d8264);
  box-shadow: var(--shadow);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.soft-list {
  padding-left: 20px;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8d0c4;
  border-radius: 10px;
  font: inherit;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(109, 130, 100, 0.3);
    border-radius: 12px;
    background: white;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--sage-dark);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 520px;
  }

  .feature-grid,
  .service-grid,
  .portfolio-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .wide-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


.portfolio-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}




.gallery-grid img {
  width: 100%;
  /*height: 320px;*/
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.portfolio-item img {
    height: auto;
    object-fit: contain;
}



.portfolio-category {
  margin-bottom: 70px;
}

.portfolio-category h2 {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}






html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}


@media (max-width: 950px) {
  .feature-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 760px) {
  .navbar {
    width: calc(100% - 30px);
    min-height: 70px;
  }

  .logo {
    max-width: 230px;
    font-size: 1rem;
    line-height: 1.2;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 15px;
    right: 15px;
    z-index: 100;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 500px;
    padding: 50px 0;
    background-position: center;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .intro-section,
  .page,
  .wide-cta {
    width: calc(100% - 30px);
    margin: 45px auto;
  }

  .feature-grid,
  .service-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns:1fr 1fr;
    gap: 18px;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .wide-cta {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    padding: 22px;
  }

  .filter-bar {
    flex-wrap: wrap;
  }
}


@media (max-width: 420px) {
  .gallery-grid img {
    height: 300px;
  }

  .feature-card,
  .service-card {
    padding: 22px;
  }

  .site-footer {
    padding: 24px 15px;
  }
}





.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  width: min(100%, 950px);
  margin: 0 auto;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--white);
  border: 1px solid rgba(109, 130, 100, 0.25);
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(47, 51, 45, 0.22);
}

.cookie-content h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.cookie-content p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-button {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--sage-dark);
  cursor: pointer;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.cookie-button.accept {
  color: white;
  background: var(--sage-dark);
}

.cookie-button.reject {
  color: var(--sage-dark);
  background: white;
}

.cookie-button:hover {
  opacity: 0.85;
}

@media (max-width: 700px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-content {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column-reverse;
  }

  .cookie-button {
    width: 100%;
  }
}

.cookie-content a.cookie-link {
  color: var(--sage-dark);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.cookie-content a.cookie-link:hover {
  color: var(--text);
  text-decoration-line: underline;
  opacity: 0.8;
}
