:root {
  --bg: #f5dbe5;
  --panel: #fffef9;
  --ink: #18392d;
  --ink-soft: #5b7269;
  --primary: #2f6d58;
  --secondary: #1d4d3d;
  --green-soft: #dcecdf;
  --line: #d4e2d8;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 20px 40px rgba(20, 52, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 10% 0%, #ffeef6 0%, var(--bg) 45%, #efcedd 100%);
  color: var(--ink);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  width: 380px;
  height: 380px;
  z-index: -2;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.bg-shape-left {
  background: #c7e6c6;
  top: -140px;
  left: -80px;
  animation: floatA 12s ease-in-out infinite;
}

.bg-shape-right {
  background: #b8dccf;
  right: -100px;
  bottom: -120px;
  animation: floatB 15s ease-in-out infinite;
}

.site-wrapper {
  width: min(1150px, calc(100% - 40px));
  margin: 40px auto;
  background: var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 20px 30px 30px;
  border: 1px solid #f3f2ea;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 4px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--secondary);
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d6e8dd;
  box-shadow: 0 8px 16px rgba(21, 52, 40, 0.14);
  background: #fff;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.75;
}

.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  color: #f8fff9;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 24px rgba(28, 80, 62, 0.22);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(28, 80, 62, 0.3);
}

.btn-small {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
}

section {
  margin-top: 38px;
}

.kicker {
  display: inline-block;
  background: #d2e7d8;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.kicker-light {
  background: rgba(255, 255, 255, 0.2);
  color: #f0fffa;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 10px 0 8px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.45rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.hero-content > p,
.product-card p,
.split-banner > div > p,
.funfact-intro > p:not(.kicker),
.funfact-points p,
.funfact-highlight p,
.location-info > p:not(.kicker):not(.address),
.news-content > p:not(.kicker) {
  text-align: justify;
  text-justify: inter-word;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  background: linear-gradient(140deg, #f5fff8, #e2f0e5 60%, #d4e5d7);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid #cfe2d3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-visual {
  display: flex;
  align-items: stretch;
}

.media-box,
.photo-placeholder {
  border-radius: var(--radius-md);
  min-height: 0;
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}

.media-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.photo-placeholder {
  border: 2px dashed #8bb59e;
  background: linear-gradient(145deg, rgba(241, 252, 245, 0.8), rgba(215, 232, 221, 0.86));
}

.photo-placeholder span {
  color: #487565;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 10px;
}

img.media-box,
img.product-photo,
img.banner-photo,
img.about-image,
img.news-image {
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

video.media-box,
video.banner-photo,
video.news-image {
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.about-image {
  min-height: 300px;
}

.section-head {
  text-align: center;
  margin-bottom: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  background: linear-gradient(165deg, #f5fff8 0%, #ecf7ef 100%);
  border: 1px solid #d0e2d8;
  border-radius: 18px;
  padding: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 30px rgba(24, 57, 45, 0.16);
}

.product-photo {
  aspect-ratio: 3 / 4;
  min-height: 0;
  height: auto;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
}

.product-photo.photo-placeholder {
  aspect-ratio: 3 / 4;
  min-height: 0;
}

.product-media-trigger {
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  width: 100%;
  background: transparent;
  cursor: zoom-in;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.product-media-trigger .product-photo {
  margin-bottom: 0;
}

.product-media-trigger::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f4fff8;
  background: rgba(21, 52, 40, 0.82);
  box-shadow: 0 8px 14px rgba(17, 42, 33, 0.28);
}

.product-media-hint {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(17, 44, 33, 0.75);
  color: #f2fff7;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-media-trigger:hover .product-media-hint,
.product-media-trigger:focus-visible .product-media-hint {
  opacity: 1;
  transform: translateY(0);
}

.product-media-trigger:focus-visible {
  outline: 2px solid #6ca98c;
  outline-offset: 2px;
}

.product-card h3 {
  margin-top: 2px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
}

.product-card p {
  font-size: 0.93rem;
}

.split-banner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 22px;
  background: linear-gradient(140deg, var(--primary), var(--secondary) 60%);
  color: #e7f7ef;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.split-banner h2,
.split-banner p {
  color: #f1fff8;
}

.banner-photo {
  aspect-ratio: 16 / 10;
  min-height: 0;
  height: auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(227, 255, 244, 0.08));
  border: 1px dashed #9ec9b5;
  border-radius: var(--radius-md);
  overflow: hidden;
}

video.banner-photo {
  aspect-ratio: 16 / 10;
  min-height: 0;
  border: 1px solid #9ec9b5;
  background: #183f33;
}

.banner-photo span {
  color: #d3f4e4;
}

.testimonials {
  margin-top: 34px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  background: #f7fff8;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.testimonial-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
}

.funfact {
  display: grid;
  gap: 14px;
  background: linear-gradient(140deg, #fff8f2, #ffeceb);
  border: 1px solid #f0d8d6;
  border-radius: var(--radius-lg);
  padding: 18px;
}

.funfact-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: start;
}

.funfact-image-wrap {
  min-height: 100%;
  border: 1px solid #efd4d0;
  border-radius: 18px;
  background: #fff;
  padding: 7px;
  overflow: hidden;
}

.funfact-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  background: #f5f5f5;
  border: 0;
  border-radius: 14px;
  padding: 0;
  display: block;
}

.funfact-intro h2 {
  margin-top: 10px;
}

.funfact-points {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.funfact-points article {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #efd4d0;
  border-radius: 12px;
  padding: 12px;
}

.funfact-points h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
  font-family: "Nunito Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 800;
}

.funfact-highlight {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(252, 241, 239, 0.86));
  border: 1px solid #efd4d0;
  border-radius: 14px;
  padding: 12px 14px;
}

.funfact-highlight h3 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin: 0 0 6px;
}

.location {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
  align-items: stretch;
}

.location-info {
  background: #f7fff9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.address {
  margin-top: 10px;
  font-weight: 700;
  color: var(--secondary);
}

.maps-btn {
  margin-top: 12px;
}

.social-links {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e4f3e9;
  color: var(--secondary);
  text-decoration: none;
  border: 1px solid #bdd8c8;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--secondary);
  color: #fff;
}

.map-wrap {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 16px 4px 4px;
  text-align: center;
  color: #73897f;
  font-size: 0.92rem;
}

.empty-card {
  display: grid;
  place-items: center;
  min-height: 120px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animations-off .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.animations-off .bg-shape {
  animation: none;
}

.layout-minimal .site-wrapper {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(20, 52, 39, 0.08);
}

.layout-minimal .hero,
.layout-minimal .split-banner,
.layout-minimal .product-card,
.layout-minimal .location-info,
.layout-minimal .testimonial-card,
.layout-minimal .funfact {
  border-radius: 8px;
}

.layout-split .hero {
  grid-template-columns: 1fr;
}

.layout-split .hero-visual {
  max-width: 520px;
}

.news-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px 10px;
  -webkit-overflow-scrolling: touch;
}

.news-modal.show {
  display: flex;
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 29, 23, 0.58);
  backdrop-filter: blur(3px);
}

.news-content {
  position: relative;
  width: min(540px, 100%);
  margin: 0;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(280px 110px at -12% -25%, rgba(198, 229, 211, 0.35), transparent 70%),
    #ffffff;
  border-radius: 20px;
  border: 1px solid #d2e3d8;
  padding: 18px 18px 20px;
  box-shadow: 0 26px 56px rgba(13, 32, 24, 0.34);
  z-index: 1;
  animation: popupIn 0.28s ease;
}

.news-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(211, 229, 219, 0.9);
  background: rgba(246, 255, 250, 0.92);
  color: #2b5b47;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 16px rgba(18, 47, 36, 0.18);
}

.news-close:hover {
  background: #e7f4ec;
  transform: scale(1.04);
}

.news-image {
  min-height: 0;
  max-height: min(42vh, 300px);
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid #d2e2d7;
  box-shadow: 0 10px 20px rgba(15, 40, 30, 0.12);
}

.news-content .photo-placeholder {
  min-height: 170px;
  margin-bottom: 14px;
}

.news-content h3 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.news-content p {
  line-height: 1.55;
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1100;
}

.image-preview-modal.show {
  display: block;
}

.image-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 23, 18, 0.84);
  backdrop-filter: blur(5px);
}

.image-preview-content {
  position: relative;
  width: min(980px, calc(100% - 28px));
  margin: 3.2vh auto;
  border-radius: 20px;
  background: #f8fffb;
  border: 1px solid #cde1d5;
  box-shadow: 0 26px 60px rgba(9, 26, 19, 0.45);
  padding: 16px;
  z-index: 1;
  animation: popupIn 0.28s ease;
}

.image-preview-close {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f3ea;
  color: #24513f;
  font-size: 1.45rem;
  cursor: pointer;
}

.image-preview-close:hover {
  background: #d5ecdf;
}

.image-preview-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: linear-gradient(145deg, #f4fbf6, #edf7f0);
  border: 1px solid #d3e4d8;
}

.image-preview-caption {
  margin-top: 10px;
  text-align: center;
  color: #2a5844;
  font-weight: 700;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, 30px); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-26px, -22px); }
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .site-wrapper {
    width: min(100%, calc(100% - 24px));
    margin: 12px auto 24px;
    padding: 14px;
    border-radius: 20px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .about,
  .split-banner,
  .location,
  .funfact {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .funfact-points {
    grid-template-columns: 1fr;
  }

  .funfact-top {
    grid-template-columns: 1fr;
  }

  .funfact-image {
    aspect-ratio: 16 / 10;
  }

}

@media (max-width: 640px) {
  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .menu {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .split-banner {
    padding: 20px;
  }

  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.9rem;
  }

  .news-content {
    max-height: calc(100vh - 20px);
    padding: 14px;
    border-radius: 14px;
  }

  .news-close {
    right: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .news-image {
    max-height: 32vh;
  }

  .image-preview-content {
    margin: 2vh auto;
    padding: 12px;
    border-radius: 16px;
  }

  .image-preview-image {
    max-height: 72vh;
  }

  .image-preview-caption {
    font-size: 0.92rem;
  }

  .product-media-hint {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}
