:root {
  --cxy-ink: #18231f;
  --cxy-green: #19664b;
  --cxy-green-dark: #104936;
  --cxy-red: #a11d2f;
  --cxy-gold: #c8a45d;
  --cxy-soft: #f3f5f2;
  --cxy-line: #dfe5e1;
}

.cxy-hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; background: var(--cxy-green-dark); color: #fff; }
.cxy-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cxy-hero-shade { position: absolute; inset: 0; background: rgba(12, 31, 24, .66); }
.cxy-hero:not(.has-image) .cxy-hero-shade { background: rgba(8, 28, 21, .18); }
.cxy-hero-content { position: relative; z-index: 1; width: 100%; padding-top: 110px; padding-bottom: 92px; }
.cxy-brand-line { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 15px; font-weight: 700; }
.cxy-logo { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px; }
.cxy-brand-line span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 4px; }
.cxy-hero h1 { max-width: 860px; margin: 0; font-size: 58px; line-height: 1.16; letter-spacing: 0; color: #fff; }
.cxy-hero-content > p { max-width: 720px; margin: 24px 0 0; font-size: 23px; line-height: 1.7; color: rgba(255,255,255,.9); }
.cxy-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cxy-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 5px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.cxy-btn:hover { transform: translateY(-2px); }
.cxy-btn-primary { color: #fff; background: var(--cxy-red); }
.cxy-btn-primary:hover { color: #fff; background: #831725; }
.cxy-btn-light { color: var(--cxy-ink); background: #fff; }
.cxy-btn-light:hover { color: var(--cxy-ink); background: #edf2ef; }

.cxy-about, .cxy-products, .cxy-gallery, .cxy-contact { padding: 88px 0; }
.cxy-about-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 76px; align-items: start; }
.cxy-kicker { display: block; margin-bottom: 12px; color: var(--cxy-red); font-size: 13px; font-weight: 800; }
.cxy-section-copy h2, .cxy-section-head h2, .cxy-contact h2 { margin: 0; color: var(--cxy-ink); font-size: 36px; line-height: 1.3; letter-spacing: 0; }
.cxy-section-copy p { margin: 24px 0 0; color: #53615c; font-size: 18px; line-height: 2; white-space: pre-line; }
.cxy-contact-facts { margin: 0; border-top: 2px solid var(--cxy-ink); }
.cxy-contact-facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--cxy-line); }
.cxy-contact-facts dt { color: #77827e; }
.cxy-contact-facts dd { margin: 0; color: var(--cxy-ink); font-weight: 700; overflow-wrap: anywhere; }
.cxy-contact-facts a { color: var(--cxy-red); }

.cxy-products { background: var(--cxy-soft); }
.cxy-section-head { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 38px; }
.cxy-section-head > p { max-width: 500px; margin: 0; color: #65716c; line-height: 1.8; }
.cxy-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cxy-product-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--cxy-line); border-radius: 8px; }
.cxy-product-media { aspect-ratio: 4 / 3; overflow: hidden; background: #dce7e1; }
.cxy-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cxy-product-card:hover .cxy-product-media img { transform: scale(1.035); }
.cxy-product-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: #fff; background: var(--cxy-green); }
.cxy-product-placeholder span { font-size: 42px; font-family: Georgia, serif; color: #d9c28f; }
.cxy-product-placeholder strong { font-size: 24px; }
.cxy-product-body { padding: 24px; }
.cxy-product-body h3 { margin: 0 0 12px; color: var(--cxy-ink); font-size: 22px; letter-spacing: 0; }
.cxy-product-body p { margin: 0; min-height: 58px; color: #64706b; line-height: 1.8; }
.cxy-empty { grid-column: 1 / -1; padding: 50px; text-align: center; color: #77827e; background: #fff; border: 1px solid var(--cxy-line); border-radius: 8px; }

.cxy-gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cxy-gallery-grid figure { grid-column: span 4; margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--cxy-soft); }
.cxy-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.cxy-gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; background: rgba(14, 26, 21, .78); }

.cxy-contact { color: #fff; background: var(--cxy-ink); }
.cxy-contact .cxy-kicker { color: #d9bd84; }
.cxy-contact h2 { color: #fff; }
.cxy-contact p { margin: 16px 0 0; color: rgba(255,255,255,.72); line-height: 1.8; }
.cxy-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); gap: 70px; align-items: center; }
.cxy-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cxy-contact-actions span { display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,.75); line-height: 1.6; }
.cxy-contact-actions strong { color: #fff; }

@media (max-width: 900px) {
  .cxy-hero { min-height: 560px; }
  .cxy-hero h1 { font-size: 43px; }
  .cxy-about-layout, .cxy-contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .cxy-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cxy-gallery-grid figure { grid-column: span 6; }
}

@media (max-width: 600px) {
  .cxy-hero { min-height: 520px; }
  .cxy-hero-content { padding-top: 80px; padding-bottom: 64px; }
  .cxy-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
  .cxy-hero-content > p { font-size: 18px; }
  .cxy-about, .cxy-products, .cxy-gallery, .cxy-contact { padding: 60px 0; }
  .cxy-section-copy h2, .cxy-section-head h2, .cxy-contact h2 { font-size: 29px; }
  .cxy-section-head { display: block; }
  .cxy-section-head > p { margin-top: 16px; }
  .cxy-product-grid { grid-template-columns: 1fr; }
  .cxy-gallery-grid { grid-template-columns: 1fr; }
  .cxy-gallery-grid figure { grid-column: auto; }
  .cxy-contact-facts div { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .cxy-btn { width: 100%; }
}
