/* ========== RESET / BASIS ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #f6f2ec;
  --color-bg-soft: #f1ebe4;
  --color-surface: #fbf8f4;
  --color-surface-dark: #264536;
  --color-surface-dark-2: #1f3a2d;

  --color-text: #2f342f;
  --color-text-soft: #6f746d;
  --color-text-light: #f8f4ee;
  --color-border: rgba(47, 52, 47, 0.12);

  --color-accent: #355845;
  --color-accent-hover: #2c4a3a;
  --color-gold-line: rgba(206, 184, 147, 0.7);
  --color-divider-bg: #2d4639;

  --container: 1200px;

  --shadow-soft: 0 10px 30px rgba(24, 28, 24, 0.08);
  --shadow-card: 0 14px 34px rgba(19, 25, 20, 0.12);

  --section-space: 110px;

  --font-serif: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ========== LAYOUT ========== */
.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: #314236;
}

.section-heading p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.section-label,
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-action {
  margin-top: 40px;
  text-align: center;
}

/* ========== BUTTONS ========== */
.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn {
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn-dark,
.header-cta {
  color: var(--color-text-light);
  background-color: var(--color-accent);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-dark:hover,
.header-cta:hover {
  background-color: var(--color-accent-hover);
}

.btn-light {
  color: var(--color-text);
  background-color: #f4ede4;
  border: 1px solid rgba(47, 52, 47, 0.08);
}

.btn-light:hover {
  background-color: #ece3d8;
}

.btn-light-outline {
  color: var(--color-text);
  background-color: transparent;
  border: 1px solid var(--color-border);
}

.btn-light-outline:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

/* ========== HEADER ========== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-logo {
  display: none;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  font-size: 0.95rem;
  color: #f5f1ea;
  transition: opacity 0.25s ease;
}

.nav-list a:hover {
  opacity: 0.8;
}

.header-cta {
  min-height: 48px;
  padding: 0 22px;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 130;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ========== HERO ========== */
.hero-section h1 {
  margin: 0 auto 20px;
  max-width: 1000px;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.95;
  color: #fffaf4;
}

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

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

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(10, 16, 12, 0.12), rgba(10, 16, 12, 0.34)),
    linear-gradient(to right, rgba(22, 39, 30, 0.18), rgba(22, 39, 30, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
  padding-top: 0px;
}

.hero-eyebrow {
  color: rgba(255, 250, 244, 0.85);
}

.hero-section h1 {
  margin: 0 auto 26px;
  max-width: 1180px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  color: #fffaf4;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== DIVIDER BANNER ========== */
.divider-banner-section {
  width: 100%;
  background-color: var(--color-divider-bg);
  padding: 0;
}

.divider-banner {
  position: relative;
  width: 100%;
  height: 32px;
}

.divider-banner::before,
.divider-banner::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--color-gold-line);
}

.divider-banner::before {
  top: 11px;
}

.divider-banner::after {
  bottom: 11px;
}

/* ========== SERVICES ========== */
.services-section {
  padding: 34px 0 var(--section-space);
  background-color: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #f5efe8;
  background-color: #294738;
  background-image:
    linear-gradient(rgba(10, 18, 13, 0.20), rgba(10, 18, 13, 0.20)),
    url("../images/texture-green.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 248, 240, 0.10);
  pointer-events: none;
}

.service-card-icon {
  width: 180px;
  height: 140px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(1.02);
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  color: #f4ece2;
}

.service-card p {
  margin: 0 auto 14px;
  max-width: 220px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(246, 239, 230, 0.9);
}

.service-link {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: #f6efe6;
  text-align: center;
}

.service-link::before {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  background: rgba(246, 239, 230, 0.45);
}

.service-link:hover {
  opacity: 0.82;
}

/* ========== ABOUT ========== */
.about-section {
  padding: 0 0 var(--section-space);
  background-color: var(--color-bg);
}

.about-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
  padding: 64px;
  background-color: #f7f2eb;
}

.about-content h2 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4vw, 4.3rem);
  font-weight: 500;
  line-height: 0.98;
  color: #2f3c31;
}

.about-content p {
  margin: 0 0 18px;
  max-width: 620px;
  color: #4f544f;
}

.about-content .btn {
  margin-top: 10px;
}

.about-image img {
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* ========== PORTFOLIO ========== */
.portfolio-section {
  padding: 0 0 var(--section-space);
  background-color: var(--color-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.portfolio-item {
  overflow: hidden;
  background-color: #ddd;
}

.portfolio-item img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-item-large {
  grid-row: span 2;
}

.portfolio-item-large img {
  min-height: 576px;
}

/* ========== TESTIMONIAL ========== */
.testimonial-section {
  padding: 90px 0;
  background:
    linear-gradient(rgba(34, 63, 50, 0.18), rgba(34, 63, 50, 0.18)),
    url("../images/texture-green.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.testimonial-quote {
  margin: 0 auto;
  max-width: 820px;
}

.testimonial-quote p {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08;
  font-weight: 500;
  color: #f8f1e8;
}

.testimonial-quote footer {
  font-size: 1rem;
  color: rgba(248, 241, 232, 0.85);
}

/* ========== CONTACT ========== */
.contact-section {
  padding: var(--section-space) 0;
  background-color: #f4eee7;
}

.contact-intro {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-intro h2 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: #314236;
}

.contact-intro p:last-child {
  margin-bottom: 0;
  color: #5e645d;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contact-form,
.contact-details {
  padding: 36px;
  background-color: #fbf8f4;
  border: 1px solid rgba(47, 52, 47, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.form-row label {
  font-size: 0.95rem;
  color: #444b45;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(47, 52, 47, 0.12);
  background-color: #fffdfa;
  color: #2f342f;
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-accent);
}

.contact-details h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}

.contact-details p {
  margin: 0 0 10px;
  color: #535953;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 24px 0;
  background-color: #223b2f;
  color: rgba(248, 244, 238, 0.9);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item-large {
    grid-row: span 1;
  }

  .portfolio-item-large img {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  :root {
    --section-space: 90px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  .mobile-menu {
    display: none;
    background-color: rgba(34, 59, 47, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px 28px;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .mobile-nav-list a {
    color: #f8f4ee;
    font-size: 1rem;
  }

  .about-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-panel {
    padding: 42px;
    gap: 36px;
  }

  .about-image {
    order: -1;
  }

  .hero-section {
    min-height: 540px;
  }

  .hero-content {
    padding-top: 90px;
  }

  .divider-banner {
    height: 28px;
  }

  .divider-banner::before,
  .divider-banner::after {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-space: 78px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    padding: 18px 0;
  }

  .hero-section {
    min-height: 500px;
  }

  .hero-section h1 {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 340px;
    padding: 24px 20px 22px;
  }

  .service-card-icon {
    width: 150px;
    height: 120px;
  }

  .service-card h3 {
    font-size: 2rem;
  }

  .about-panel,
  .contact-form,
  .contact-details {
    padding: 28px;
  }

  .testimonial-section {
    padding: 72px 0;
  }

  .divider-banner {
    height: 24px;
  }

  .divider-banner::before,
  .divider-banner::after {
    left: 14px;
    right: 14px;
  }
}

@media (max-width: 480px) {
  .section-heading {
    margin-bottom: 36px;
  }

  .about-content h2,
  .contact-intro h2 {
    line-height: 1.05;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 13px 14px;
  }

  .hero-section {
    min-height: 460px;
  }
}