:root {
  --color-primary: #2c6e49;
  --color-secondary: #faf5ef;
  --color-accent: #d4a373;
  --color-muted: #838e70;
  --color-ink: #243028;
  --color-panel: rgba(255, 255, 255, 0.66);
  --font-primary: "Cormorant Garamond", serif;
  --font-display: "Playfair Display", serif;
  --space-xs: 0.4rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.3rem;
  --shadow-soft: 0 1rem 2rem rgba(22, 25, 22, 0.11);
  --transition-fast: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html{
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-primary);
  background: radial-gradient(circle at top right, #f8f2e9, #edf3ec 42%, #f7f3ef);
  color: var(--color-ink);
  overflow-x: hidden;
  line-height: 1.55;
}

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

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

.site-frame {
  width: min(94%, 74rem);
  margin: 0 auto;
}

.shell-header {
  position: relative;
  width: min(96%, 76rem);
  margin: var(--space-md) auto;
  background: rgba(250, 245, 239, 0.86);
  border: 0.06rem solid rgba(131, 142, 112, 0.34);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(0.6rem);
  box-shadow: var(--shadow-soft);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.site-brand {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  letter-spacing: 0.08rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1.03rem;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 0.08rem;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  transition: transform var(--transition-fast);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  border: 0.06rem solid rgba(36, 48, 40, 0.2);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 2.7rem;
  height: 2.7rem;
  display: none;
  place-items: center;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle i {
  font-size: 1.2rem;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88%, 22rem);
  height: 100%;
  background: rgba(248, 242, 233, 0.98);
  z-index: 20;
  transition: right var(--transition-fast);
  padding: 5rem 1.2rem 1.2rem;
  box-shadow: -0.8rem 0 2rem rgba(18, 18, 18, 0.2);
  display: grid;
  gap: var(--space-md);
}

.mobile-nav-panel.open {
  right: 0;
}

.mobile-nav-panel a {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
}

.banner-block {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  min-height: 26rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.banner-photo {
  position: absolute;
  inset: 0;
}

.banner-photo img {
  width: 100%;
  height: 100%;
}

.banner-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(27, 35, 31, 0.68), rgba(42, 62, 51, 0.2));
}

.banner-text {
  position: relative;
  z-index: 2;
  color: #fff;
  width: min(92%, 74rem);
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 20ch;
}

.lead-line {
  max-width: 55ch;
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-md);
  border: 0.06rem solid transparent;
  transition: all var(--transition-fast);
}

.button-link.primary {
  background: var(--color-accent);
  color: #fff;
}

.button-link.ghost {
  border-color: rgba(255, 255, 255, 0.8);
}

.content-section {
  padding: var(--space-xl) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.panel-card {
  background: var(--color-panel);
  border: 0.06rem solid rgba(131, 142, 112, 0.26);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.span-4 {
  grid-column: span 4;
}

.span-3 {
  grid-column: span 3;
}

.span-6 {
  grid-column: span 6;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.figure-crop {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 13rem;
}

.figure-crop img {
  width: 100%;
  height: 100%;
}

.mini-title {
  text-transform: uppercase;
  letter-spacing: 0.09rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.products-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.products-stack article {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  border: 0.06rem solid rgba(131, 142, 112, 0.26);
  padding: 1rem;
}

.policy-popup {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 25;
  width: min(94%, 23rem);
  background: rgba(250, 245, 239, 0.97);
  border: 0.06rem solid rgba(36, 48, 40, 0.17);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: none;
}

.policy-popup.show {
  display: block;
}

.policy-popup button {
  margin-top: var(--space-sm);
  border: 0;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0.06rem solid rgba(131, 142, 112, 0.36);
  border-radius: var(--radius-md);
  padding: 0.7rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.86);
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.site-footer {
  margin-top: var(--space-xl);
  border-top: 0.06rem solid rgba(131, 142, 112, 0.28);
  padding: 1.2rem 0 2rem;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-bottom: var(--space-sm);
}

.water-ring {
  position: fixed;
  pointer-events: none;
  width: 8rem;
  height: 8rem;
  border: 0.13rem solid rgba(212, 163, 115, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: fadeRing 1.2s ease forwards;
  z-index: 1;
}

@keyframes fadeRing {
  from {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.4);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.45);
  }
}

@media (max-width: 63.9375rem) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .products-stack {
    grid-template-columns: 1fr;
  }

  .span-4,
  .span-3,
  .span-6,
  .span-8 {
    grid-column: span 12;
  }
}

@media (max-width: 37.5rem) {
  .banner-block {
    min-height: 22rem;
  }

  .shell-header {
    width: min(97%, 76rem);
    padding: 0.6rem 0.8rem;
  }
}
