/* Furno Studio — палітра з логотипу: смарагдовий, золото, теплий айворі */
:root {
  --green-900: #0c2522;
  --green-800: #123430;
  --green-700: #173f3a;
  --green-600: #1f4f48;
  --green-500: #2a6159;
  --gold: #c9a455;
  --gold-light: #ead39b;
  --gold-dark: #9c7832;
  --gold-grad: linear-gradient(135deg, #9c7832 0%, #d6b465 32%, #f0dca0 50%, #c9a24f 70%, #8f6b2a 100%);
  --ivory: #fbf8f2;
  --ivory-2: #f3ecdf;
  --line: #e4dac6;
  --text: #1b2a27;
  --muted: #5c6a66;
  --white: #fff;
  --radius: 4px;
  --container: 1200px;
  --serif: "Cormorant Garamond", Georgia, serif;
  /* «Оксамитова» текстура, як на тлі логотипу */
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0035' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .82 0 0 0 0 .76 0 0 0 .9 -.33'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  --green-surface:
    var(--texture) center / cover,
    radial-gradient(ellipse at 80% 12%, rgba(64, 128, 117, .5), transparent 60%),
    radial-gradient(ellipse at 8% 95%, rgba(6, 26, 23, .65), transparent 60%),
    var(--green-700);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Montserrat", sans-serif; color: var(--text); background: var(--ivory); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold-light); color: var(--green-900); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section { padding: 96px 0; }
.section--light { background: var(--ivory-2); }
.section--dark { background: var(--green-surface); color: var(--ivory); }

.section-title { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 48px); font-weight: 600; line-height: 1.15;
  text-align: center; color: var(--green-800); margin-bottom: 16px; }
.section-title::after { content: ""; display: block; width: 72px; height: 1px; background: var(--gold-grad); margin: 18px auto 0; }
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }
.section--dark .section-title { color: var(--ivory); }
.section-lead { text-align: center; max-width: 720px; margin: 0 auto 54px; color: var(--muted); }
.section--dark .section-lead { color: var(--gold-light); }

.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-block; padding: 15px 34px; border: 0; background: var(--gold-grad); background-size: 140% 100%; color: var(--green-900);
  font: 600 13px/1 "Montserrat", sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; border-radius: 40px;
  transition: background-position .4s, box-shadow .25s, transform .25s; }
.btn:hover { background-position: 100% 0; box-shadow: 0 8px 24px rgba(201, 164, 85, .35); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--ghost:hover { background: rgba(201, 164, 85, .12); box-shadow: inset 0 0 0 1px var(--gold-light); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(15, 45, 41, .88); backdrop-filter: blur(8px);
  color: var(--ivory); border-bottom: 1px solid rgba(201, 164, 85, .18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.logo__mark { width: 46px; height: 46px; }
.logo__text { font-family: "Cinzel", serif; font-weight: 600; font-size: 19px; letter-spacing: .06em; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__text small { display: block; margin-top: 6px; font: 500 8.5px/1 "Montserrat", sans-serif; letter-spacing: .34em;
  -webkit-text-fill-color: var(--gold-light); color: var(--gold-light); opacity: .85; }
.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 4px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold-grad); transition: .3s; }
.nav a:hover, .nav a.active { color: var(--gold-light); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header__right { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.header__cta { padding: 10px 20px; border-radius: 30px; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold); transition: .25s; }
.header__cta:hover { background: var(--gold-grad); color: var(--green-900); box-shadow: none; }
.burger { display: none; background: none; border: 0; color: var(--gold-light); font-size: 28px; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ivory);
  /* Коли з'являться фото: linear-gradient(rgba(12,37,34,.75), rgba(12,37,34,.75)), url("/images/hero.jpg") center/cover */
  background: var(--green-surface); padding: 130px 16px 70px; }
.hero__logo { width: min(360px, 74vw); margin: 0 auto 26px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.hero h1 { font-family: var(--serif); font-size: clamp(28px, 4.2vw, 46px); font-weight: 500; line-height: 1.2; }
.hero p { margin: 14px auto 36px; max-width: 560px; font-size: 17px; color: var(--gold-light); }
.hero .btn { margin: 6px; }

.page-hero { padding: 160px 16px 80px; text-align: center; color: var(--ivory); background: var(--green-surface); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); font-weight: 500; }
.page-hero p { color: var(--gold-light); margin-top: 10px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about img { border-radius: var(--radius); }
.about ul { margin: 16px 0 20px; }
.about li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.about li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-grad); }
.about p { margin-bottom: 14px; }

/* Advantages */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.adv { padding: 44px 32px; border: 1px solid rgba(201, 164, 85, .35); border-radius: var(--radius); text-align: center;
  background: rgba(12, 37, 34, .25); transition: border-color .3s, transform .3s; }
.adv:hover { border-color: var(--gold); transform: translateY(-3px); }
.adv h3 { font-family: var(--serif); color: var(--gold-light); font-size: 28px; margin-bottom: 12px; font-weight: 600; line-height: 1.2; }

/* Projects / categories */
.grid-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; display: block; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat span { position: absolute; inset: auto 0 0; padding: 16px; color: var(--ivory); font-family: var(--serif); font-size: 22px; font-weight: 600;
  background: linear-gradient(transparent, rgba(12, 37, 34, .85)); }
.cat:hover img { transform: scale(1.07); }
.cat.ph { transition: transform .3s, box-shadow .3s, outline-color .3s; outline: 1px solid rgba(201, 164, 85, .35); outline-offset: -10px; }
.cat.ph:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(12, 37, 34, .3); outline-color: var(--gold-light); }
.cat.ph span { background: none; inset: 0; display: flex; align-items: flex-end; padding: 22px; }
.cat.ph:nth-child(5n+2) { --ph-base: var(--green-600); }
.cat.ph:nth-child(5n+3) { --ph-base: var(--green-800); }
.cat.ph:nth-child(5n+4) { --ph-base: #1b4741; }
.cat.ph:nth-child(5n+5) { --ph-base: var(--green-500); }

/* Заглушки замість фото (до появи власних фотографій) */
.ph { --ph-base: var(--green-700);
  background:
    var(--texture) center / cover,
    radial-gradient(ellipse at 85% 10%, rgba(80, 150, 138, .35), transparent 60%),
    linear-gradient(160deg, var(--ph-base), var(--green-900)); }
.ph--about { aspect-ratio: 4/3; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  outline: 1px solid rgba(201, 164, 85, .45); outline-offset: -16px; }
.ph--about img { width: 44%; opacity: .95; }
.ph--article { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.ph--article img { width: 64px; opacity: .55; }
.soon { margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step { padding-top: 18px; border-top: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 54px; font-weight: 600; line-height: 1; margin-bottom: 10px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 16px; margin-bottom: 8px; font-weight: 600; color: var(--green-800); }
.step p { font-size: 14px; color: var(--muted); }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(12, 37, 34, .07); display: flex; flex-direction: column; }
.article > img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.article__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; color: var(--green-800); }
.article p { font-size: 14px; color: var(--muted); flex: 1; }
.article a { margin-top: 16px; color: var(--gold-dark); font-weight: 600; font-size: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--green-800); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 26px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contacts p { margin-bottom: 14px; }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(201, 164, 85, .25); }
.contact-list li:first-child { border-top: 1px solid rgba(201, 164, 85, .25); }
.contact-list span { color: var(--gold-light); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.contact-list b { font-weight: 500; }
.contact-list .todo { color: rgba(251, 248, 242, .55); font-style: italic; }

.footer { background: var(--green-900); color: rgba(251, 248, 242, .6); padding: 34px 0; font-size: 14px; border-top: 1px solid rgba(201, 164, 85, .2); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer .logo__mark { width: 36px; height: 36px; }
.footer .logo__text { font-size: 15px; }
.footer a:hover { color: var(--gold-light); }

/* Catalog */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter { padding: 9px 22px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); color: var(--green-800); cursor: pointer;
  font: 500 14px "Montserrat", sans-serif; transition: .2s; }
.filter:hover { border-color: var(--gold); }
.filter.active { background: var(--green-700); color: var(--gold-light); border-color: var(--green-700); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(12, 37, 34, .07); cursor: pointer;
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(12, 37, 34, .13); }
.product__img { aspect-ratio: 4/3; position: relative; background: var(--green-surface); }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__img .no-photo, .gallery__ph img { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; opacity: .6; }
.gallery__ph { position: relative; aspect-ratio: auto; height: 100%; min-height: 280px; }
.gallery__ph img { width: 110px; height: 110px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--gold-grad); color: var(--green-900); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; }
.product__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: 11px; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.product h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.2; margin: 6px 0 8px; color: var(--green-800); }
.product p { font-size: 14px; color: var(--muted); flex: 1; }
.product__price { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--green-700); }
.empty { text-align: center; padding: 72px 20px; color: var(--muted); border: 1px dashed var(--gold); border-radius: var(--radius); background: var(--ivory); }
.empty h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--green-800); margin-bottom: 10px; }

.modal { position: fixed; inset: 0; background: rgba(8, 26, 24, .75); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal.open { display: flex; }
.modal__box { background: var(--ivory); max-width: 960px; width: 100%; max-height: 92vh; overflow: auto; border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); position: relative; }
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 30px; color: var(--green-800); cursor: pointer; z-index: 2; }
.gallery__main { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; padding: 8px; flex-wrap: wrap; }
.gallery__thumbs img { width: 70px; height: 54px; object-fit: cover; cursor: pointer; opacity: .6; border-radius: 3px; }
.gallery__thumbs img.active { opacity: 1; outline: 2px solid var(--gold); }
.modal__info { padding: 38px 32px; }
.modal__info h2 { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.15; color: var(--green-800); margin: 6px 0 14px; }
.specs { margin: 18px 0; font-size: 14px; }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs li span:first-child { color: var(--muted); }

@media (max-width: 1024px) {
  .grid-cats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--green-800); padding: 20px 16px;
    border-bottom: 1px solid rgba(201, 164, 85, .25); display: none; }
  .nav.open { display: flex; }
  .about, .contacts, .cards-3, .articles, .modal__box { grid-template-columns: 1fr; }
  .about, .contacts { gap: 36px; }
  .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__text { font-size: 16px; }
}

/* Форма заявки (зараз на сайті не використовується — див. README) */
.form { display: grid; gap: 14px; }
.form input, .form textarea { width: 100%; padding: 14px 16px; border: 1px solid rgba(201, 164, 85, .35); background: transparent;
  color: var(--ivory); font: inherit; border-radius: var(--radius); }
.form textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: 14px; color: var(--gold-light); min-height: 1.4em; }
.form button:disabled { opacity: .6; cursor: wait; }
