@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --font-title: "Cormorant Garamond", serif;
  --font-main: "Manrope", sans-serif;
  --bg: #f7ecd8;
  --bg-soft: #fff8ec;
  --green: #0b3a24;
  --green-dark: #062719;
  --green-soft: #154a31;
  --gold: #c99a45;
  --gold-soft: #f3d9a5;
  --text: #113321;
  --muted: #676257;
  --white: #ffffff;
  --line: rgba(11, 58, 36, 0.13);
  --gold-line: rgba(201, 154, 69, 0.38);
  --shadow: 0 24px 80px rgba(19, 45, 28, 0.13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 7% 12%, rgba(201, 154, 69, 0.19), transparent 29%),
    radial-gradient(circle at 95% 5%, rgba(11, 58, 36, 0.07), transparent 31%),
    linear-gradient(135deg, #fff9ed 0%, #f7ecd8 45%, #fffaf2 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

.container {
  width: min(1480px, calc(100% - 96px));
  margin: 0 auto;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: 0.25s ease;
}

.header.scrolled {
  background: rgba(255, 248, 236, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(11, 58, 36, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(11, 58, 36, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 52px);
  font-size: 16px;
  font-weight: 600;
}

.nav a {
  position: relative;
  color: #1f2d24;
  transition: 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(11, 58, 36, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(11, 58, 36, 0.08);
}

.lang button {
  min-width: 45px;
  height: 38px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #111;
  font-weight: 800;
}

.lang button.active {
  background: var(--green);
  color: white;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 24px rgba(11, 58, 36, 0.1);
  place-items: center;
}

.menu-btn img {
  width: 25px;
}

.hero {
  position: relative;
  min-height: 830px;
  padding: 150px 0 70px;
  overflow: hidden;
}

.hero-bg-leaf {
  position: absolute;
  left: -115px;
  top: 120px;
  width: 250px;
  height: 620px;
  opacity: 0.33;
  background:
    radial-gradient(ellipse at 55% 18%, rgba(11, 58, 36, 0.38), transparent 7%),
    radial-gradient(ellipse at 35% 32%, rgba(11, 58, 36, 0.42), transparent 7%),
    radial-gradient(ellipse at 62% 46%, rgba(11, 58, 36, 0.36), transparent 8%),
    radial-gradient(ellipse at 42% 60%, rgba(11, 58, 36, 0.36), transparent 8%),
    radial-gradient(ellipse at 55% 76%, rgba(11, 58, 36, 0.3), transparent 8%);
  filter: blur(0.3px);
  transform: rotate(-12deg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  gap: 28px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  color: var(--green);
  margin-bottom: 12px;
}

.hero h1,
.section h2,
.center-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(48px, 5.3vw, 88px);
  line-height: 0.98;
  max-width: 760px;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 640px;
  color: #4f4a41;
  font-size: 20px;
  line-height: 1.68;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}

.btn {
  min-height: 64px;
  padding: 0 30px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn img {
  width: 20px;
}

.primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  box-shadow: 0 20px 38px rgba(11, 58, 36, 0.26);
}

.primary:hover,
.ghost:hover,
.section-link:hover,
.product:hover,
.use-card:hover {
  transform: translateY(-4px);
}

.ghost {
  color: var(--green);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(11, 58, 36, 0.42);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(11, 58, 36, 0.1);
  color: var(--green);
  font-weight: 800;
}

.hero-photo {
  position: relative;
  height: 610px;
  overflow: hidden;
  border-radius: 42px 0 0 42px;
  box-shadow: 0 34px 90px rgba(11, 58, 36, 0.22);
}

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

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 236, 216, 0.92), rgba(247, 236, 216, 0.18) 34%, transparent 70%),
    linear-gradient(0deg, rgba(11, 58, 36, 0.18), transparent 45%);
  pointer-events: none;
}

.features {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, var(--green), #042315);
  color: white;
  padding: 38px 0;
  box-shadow: 0 -1px 0 rgba(201, 154, 69, 0.18) inset;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 22px;
  row-gap: 8px;
  align-items: start;
  padding: 10px 34px;
  border-right: 1px solid var(--gold-line);
}

.feature:last-child {
  border-right: none;
}

.icon {
  grid-row: 1 / span 2;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: grid;
  place-items: center;
}

.icon img {
  width: 66px;
  height: 66px;
}

.feature h3 {
  grid-column: 2;
  font-size: 20px;
  line-height: 1.22;
  margin: 0;
  max-width: 280px;
}

.feature p {
  grid-column: 2;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.section {
  padding: 92px 0;
}

.label {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 14px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section h2,
.center-head h2 {
  font-size: clamp(38px, 4.1vw, 68px);
  line-height: 1.02;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7a4a13;
  font-weight: 900;
  transition: 0.25s ease;
}

.section-link img {
  width: 20px;
}

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

.product {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 58, 36, 0.09);
  box-shadow: 0 24px 60px rgba(11, 58, 36, 0.1);
  transition: 0.25s ease;
}

.product > img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff5df;
  color: #805314;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.product h3 {
  color: var(--green);
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.product p {
  color: var(--muted);
  line-height: 1.55;
  min-height: 75px;
  margin-bottom: 18px;
}

.product button {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: var(--green);
  color: white;
  font-weight: 900;
  transition: 0.25s ease;
}

.product button:hover,
.request-form button:hover,
.float-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 58, 36, 0.21);
}

.about {
  background: linear-gradient(135deg, var(--green), #042315);
  color: white;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 68px;
  align-items: center;
}

.about-photo {
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about h2 {
  color: white;
  margin-bottom: 22px;
}

.about-content > p:not(.label) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.about-points {
  display: grid;
  gap: 16px;
}

.about-points div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-points span {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 800;
}

.about-points p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.use {
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 154, 69, 0.15), transparent 34%),
    linear-gradient(135deg, #fff8ec, #f5e7cd);
  text-align: center;
}

.use-inner {
  max-width: 1260px;
}

.center-head {
  max-width: 950px;
  margin: 0 auto 42px;
}

.center-head .label {
  text-align: center;
}

.center-head p:not(.label) {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

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

.use-card {
  min-height: 180px;
  text-align: left;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(11, 58, 36, 0.09);
  box-shadow: 0 20px 58px rgba(11, 58, 36, 0.08);
  transition: 0.25s ease;
}

.use-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff2d2;
  color: #906015;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
}

.use-card h3 {
  color: var(--green);
  font-size: 22px;
  margin-bottom: 10px;
}

.use-card p {
  color: var(--muted);
  line-height: 1.58;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: stretch;
}

.contact-text,
.request-form {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.77);
  border: 1px solid rgba(11, 58, 36, 0.09);
  box-shadow: var(--shadow);
  padding: 40px;
}

.contact-text h2 {
  margin-bottom: 20px;
}

.contact-text > p:not(.label) {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list div {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  background: #fff8ec;
  color: var(--green);
  font-weight: 900;
  border: 1px solid rgba(11, 58, 36, 0.08);
}

.contact-list img {
  width: 30px;
  height: 30px;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-title {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.form-title h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  color: var(--green);
  margin-bottom: 8px;
}

.form-title p,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(11, 58, 36, 0.14);
  outline: none;
  background: #fffaf2;
  border-radius: 15px;
  padding: 18px;
  font-size: 16px;
  color: var(--text);
}

.request-form select {
  appearance: auto;
}

.request-form input:invalid:not(:placeholder-shown),
.request-form select:invalid,
.request-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(190, 50, 50, 0.45);
}

.map-line {
  background: #ffffff !important;
  border-color: rgba(201, 154, 69, 0.35) !important;
}
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: rgba(201, 154, 69, 0.7);
  box-shadow: 0 0 0 4px rgba(201, 154, 69, 0.13);
}

.request-form textarea {
  grid-column: 1 / -1;
  min-height: 120px;
  resize: vertical;
}

.request-form button {
  height: 58px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  font-weight: 900;
  font-size: 17px;
  transition: 0.25s ease;
}

.form-note {
  align-self: center;
  font-size: 14px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  font-size: 14px;
  font-weight: 800;
}

.form-status.success { color: #0b6b3a; }
.form-status.warning { color: #9b6a11; }
.form-status.error { color: #b3261e; }
.form-status.info { color: var(--muted); }

.request-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.footer {
  padding: 50px 0 26px;
  background: linear-gradient(135deg, var(--green), #041f13);
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr;
  gap: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(201, 154, 69, 0.28);
}

.footer-brand img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin-bottom: 14px;
}

.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 9px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.footer-col,
.footer-social {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer h4 {
  color: #ffe4ad;
  margin-bottom: 7px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.social-row a,
.float-whatsapp {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 217, 165, 0.55);
}

.social-row img,
.float-whatsapp img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
}

.float-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  background: var(--green);
  box-shadow: 0 18px 40px rgba(11, 58, 36, 0.28);
  transition: 0.25s ease;
}

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

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

@media (max-width: 1200px) {
  .container {
    width: min(1120px, calc(100% - 44px));
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-phone {
    display: none;
  }

  .hero-inner,
  .about-inner,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 135px;
  }

  .hero-photo {
    height: 520px;
    border-radius: 32px;
  }

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

  .feature:nth-child(2) {
    border-right: none;
  }

  .feature:nth-child(1),
  .feature:nth-child(2) {
    border-bottom: 1px solid var(--gold-line);
  }

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

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

@media (max-width: 900px) {
  .header {
    padding: 14px 0;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .logo img {
    width: 72px;
    height: 72px;
  }

  .menu-btn {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 101px 18px auto 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 248, 236, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 58, 36, 0.08);
  }

  body.nav-open .nav {
    display: grid;
  }

  .nav a {
    padding: 16px;
    border-radius: 14px;
  }

  .nav a:hover {
    background: white;
  }

  .nav a::after {
    display: none;
  }

  .lang button {
    min-width: 40px;
  }

  .hero h1,
  .section h2,
  .center-head h2 {
    letter-spacing: -0.035em;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: auto;
    padding: 120px 0 44px;
  }

  .brand {
    font-size: 23px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text,
  .contact-text > p:not(.label),
  .center-head p:not(.label) {
    font-size: 17px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-photo {
    height: 330px;
  }

  .features-grid,
  .products,
  .use-grid,
  .footer-inner,
  .request-form {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(1),
  .feature:nth-child(2) {
    grid-template-columns: 60px minmax(0, 1fr);
    padding: 22px 0;
    border-right: none;
    border-bottom: 1px solid var(--gold-line);
  }

  .feature:last-child {
    border-bottom: none;
  }

  .feature h3,
  .feature p {
    max-width: none;
  }

  .icon,
  .icon img {
    width: 54px;
    height: 54px;
  }

  .section {
    padding: 64px 0;
  }

  .section h2,
  .center-head h2 {
    font-size: 36px;
  }

  .about-photo {
    height: 320px;
  }

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

  .contact-text,
  .request-form {
    padding: 24px;
    border-radius: 24px;
  }

  .request-form textarea,
  .form-title {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .float-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}

body {
  font-family: var(--font-main);
}

h1,
h2,
.hero-title,
.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

button,
input,
textarea,
.nav a {
  font-family: var(--font-main);
}

/* Product catalog redesign */
body.modal-open {
  overflow: hidden;
}

.catalog {
  background: linear-gradient(180deg, #fffdf8 0%, #f8f2e8 100%);
}

.catalog-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.catalog-top h2 {
  color: #111;
  font-family: var(--font-main);
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.catalog-subtitle {
  max-width: 760px;
  margin-top: 14px;
  color: #6f6a60;
  font-size: 18px;
  line-height: 1.6;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-filters button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 8px;
  background: #f1f1f1;
  color: #2a2926;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.catalog-filters button.active,
.catalog-filters button:hover {
  background: #101010;
  color: #fff;
  border-color: #101010;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.catalog-search {
  width: min(100%, 360px);
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
  border: 1px solid #e7e2da;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.catalog-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  color: #171717;
  background: transparent;
}

.catalog-search span {
  display: grid;
  place-items: center;
  height: 100%;
  border-left: 1px solid #ede7dd;
  color: #151515;
  font-size: 24px;
}

.catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.catalog-card {
  position: relative;
  cursor: pointer;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eae6df;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.catalog-card:hover {
  border-color: rgba(201, 154, 69, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
}

.catalog-card > img {
  width: calc(100% - 24px);
  height: 195px;
  margin: 12px 12px 0;
  border-radius: 6px;
  object-fit: cover;
  background: #f2f0ec;
}

.catalog-card .product-body {
  padding: 16px 18px 18px;
}

.catalog-card h3 {
  margin-bottom: 5px;
  color: #111;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 900;
}

.catalog-card-type {
  min-height: auto !important;
  margin-bottom: 18px !important;
  color: #8a857d !important;
  font-size: 14px;
  line-height: 1.2 !important;
}

.details-btn {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 900;
}

.details-btn span {
  margin-left: 5px;
}

.favorite-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e7e0d7;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #161616;
  font-size: 21px;
  line-height: 1;
  transition: 0.2s ease;
}

.favorite-btn.active,
.favorite-btn:hover {
  color: #c99a45;
  border-color: #c99a45;
  transform: scale(1.06);
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: 16px;
  background: #fff;
  color: #6f6a60;
  text-align: center;
  border: 1px dashed #ddd3c4;
  font-weight: 800;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.product-modal.open {
  display: flex;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 15, 0.72);
  backdrop-filter: blur(5px);
}

.product-modal__card {
  position: relative;
  z-index: 1;
  width: min(1140px, 100%);
  max-height: calc(100vh - 68px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 28px;
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  animation: modalIn 0.24s ease both;
}

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

.product-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1b1b1b;
  font-size: 30px;
  line-height: 1;
}

.modal-gallery {
  min-width: 0;
}

.modal-main-image {
  position: relative;
  height: 510px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f0eb;
}

.modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  background: #fff;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid #e7e1d8;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  font-size: 35px;
  line-height: 0;
}

.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.modal-thumb {
  position: relative;
  height: 74px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f3eee7;
}

.modal-thumb.active {
  border-color: #c99a45;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 5px 6px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}

.modal-info {
  padding: 8px 24px 10px 0;
}

.modal-category {
  color: #817a70;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-info h3 {
  color: #111;
  font-family: var(--font-main);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.modal-description {
  color: #4e4a43;
  line-height: 1.55;
  font-size: 15px;
  margin-bottom: 20px;
}

.modal-info h4 {
  color: #111;
  font-size: 18px;
  margin-bottom: 12px;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin-bottom: 22px;
}

.modal-spec {
  padding: 0 0 10px 14px;
  border-bottom: 1px dashed #ded7cf;
  border-left: 2px solid #f2d692;
}

.modal-spec span {
  display: block;
  color: #928b82;
  font-size: 12px;
  margin-bottom: 3px;
}

.modal-spec strong {
  color: #1b1b1b;
  font-size: 14px;
  line-height: 1.25;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-actions .btn {
  width: 100%;
  height: 52px;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.btn.dark {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.modal-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #837766;
  font-size: 13px;
  font-weight: 800;
}

.modal-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .modal-info {
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  .catalog-top,
  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-search {
    width: 100%;
  }

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

  .product-modal {
    padding: 16px;
  }

  .product-modal__card {
    max-height: calc(100vh - 32px);
    padding: 18px;
  }

  .modal-main-image {
    height: 360px;
  }
}

@media (max-width: 620px) {
  .catalog-grid,
  .modal-specs,
  .modal-actions,
  .modal-thumbs {
    grid-template-columns: 1fr;
  }

  .catalog-card > img {
    height: 210px;
  }

  .modal-main-image {
    height: 300px;
  }

  .modal-thumb {
    height: 86px;
  }
}

.catalog-card .details-btn:hover { transform: none !important; box-shadow: none !important; }


/* Last project responsive/fix layer */
html, body {
  max-width: 100%;
}

.product-modal__card,
.modal-main-image,
.catalog-card,
.request-form,
.contact-list a,
.contact-list div {
  min-width: 0;
}

.catalog-card > img {
  image-rendering: auto;
}

.modal-main-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-thumbs {
  overflow: hidden;
}

.modal-thumb img {
  image-rendering: auto;
}

@media (min-width: 1500px) {
  .catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-modal__card {
    width: min(1280px, calc(100vw - 72px));
  }
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modal-main-image {
    height: min(58vw, 560px);
  }
}

@media (max-width: 780px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-actions {
    gap: 8px;
  }

  .lang {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .catalog-card > img {
    width: calc(100% - 16px);
    margin: 8px 8px 0;
    height: 165px;
  }

  .catalog-card .product-body {
    padding: 12px 13px 14px;
  }

  .catalog-card h3 {
    font-size: 15px;
  }

  .catalog-card-type,
  .details-btn {
    font-size: 12px;
  }

  .favorite-btn {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
  }

  .product-modal {
    align-items: flex-end;
    padding: 0;
  }

  .product-modal__card {
    width: 100%;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    padding: 16px;
    gap: 18px;
  }

  .modal-main-image {
    height: 55vh;
    min-height: 280px;
    max-height: 480px;
  }

  .modal-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modal-thumb {
    height: 68px;
  }

  .modal-info h3 {
    font-size: 30px;
  }
}

@media (max-width: 520px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card > img {
    height: 230px;
  }

  .modal-main-image {
    height: 48vh;
    min-height: 250px;
  }

  .modal-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .modal-thumb {
    height: 60px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
  }

  .request-form input,
  .request-form select,
  .request-form textarea {
    font-size: 16px;
    padding: 15px;
  }
}

/* Catalog: show first 5 products + responsive button */
.show-all-products-btn {
  margin: 34px auto 0;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(201, 154, 69, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, #161616, #2b251d);
  color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.show-all-products-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 154, 69, 0.95);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.18);
}

.show-all-products-btn[hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .show-all-products-btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
  }

  .catalog-card {
    border-radius: 14px;
  }

  .catalog-card .product-body {
    padding: 14px 15px 16px;
  }

  .catalog-card h3 {
    font-size: 17px;
  }
}


/* Factory catalog notice fix */
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 22px;
}

.catalog-message{
    margin-bottom:20px;
}

.catalog-message h3{
    margin-bottom:10px;
    font-size:32px;
    color:var(--green);
}

.catalog-message p{
    max-width:900px;
    color:#555;
    font-size:18px;
    line-height:1.6;
}

.catalog-message .factory-link {
  width: fit-content;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
}

.catalog-search {
  align-self: end;
}

@media (max-width: 900px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-message {
    padding: 20px;
  }

  .catalog-message h3 {
    font-size: 21px;
  }

  .catalog-message p {
    font-size: 15px;
  }

  .catalog-message .factory-link,
  .catalog-search {
    width: 100%;
  }
}
