:root {
  --ink: #173a35;
  --ink-soft: #56706b;
  --jade: #215a51;
  --jade-dark: #123d36;
  --jade-pale: #dfeae4;
  --cream: #f5f0e6;
  --paper: #fffdf8;
  --gold: #a5834f;
  --line: rgba(23, 58, 53, 0.16);
  --shadow: 0 26px 70px rgba(24, 55, 50, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { overflow: hidden; }
.is-hidden { display: none !important; }

.site-header {
  position: fixed; z-index: 40; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 36px)); min-height: 70px; padding: 10px 12px 10px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255, 253, 248, 0.9); border: 1px solid rgba(23, 58, 53, 0.13); border-radius: 999px;
  backdrop-filter: blur(18px); box-shadow: 0 14px 40px rgba(23, 58, 53, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 226px; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(165, 131, 79, 0.4); }
.brand span { display: grid; gap: 3px; }
.brand strong { font-size: 14px; letter-spacing: 0.16em; font-weight: 700; }
.brand small { color: var(--ink-soft); font-size: 9px; letter-spacing: 0.03em; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.site-header nav a { position: relative; padding: 12px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: var(--gold); transition: right 0.25s ease; }
.site-header nav a:hover::after { right: 0; }
.header-cta, .primary-button, .secondary-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 24px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.header-cta, .primary-button { color: white; background: var(--jade-dark); }
.header-cta:hover, .primary-button:hover { background: var(--gold); transform: translateY(-1px); }
.secondary-button { color: var(--jade-dark); border-color: var(--line); background: rgba(255, 255, 255, 0.5); }
.secondary-button:hover { background: white; transform: translateY(-1px); }

.hero { min-height: 900px; padding: 148px max(42px, calc((100vw - 1180px) / 2)) 78px; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(48px, 6vw, 90px); align-items: center; background: radial-gradient(circle at 88% 15%, rgba(112, 154, 140, 0.22), transparent 34%), linear-gradient(135deg, #f8f3ea 0%, #edf3ee 100%); position: relative; }
.hero::before { content: ""; position: absolute; width: 510px; height: 510px; border: 1px solid rgba(165, 131, 79, 0.22); border-radius: 50%; left: -260px; bottom: -230px; }
.hero__copy { position: relative; z-index: 2; }
.kicker { margin: 0 0 24px; color: var(--gold); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: 0.24em; }
.hero h1 { margin: 0; max-width: 590px; font-size: clamp(48px, 5.4vw, 78px); line-height: 1.06; font-weight: 400; letter-spacing: -0.05em; }
.hero h1 em { color: var(--jade); font-style: normal; }
.hero__lead { max-width: 560px; margin: 32px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 62px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__stats div { display: grid; gap: 5px; }
.hero__stats strong { font-size: 26px; font-weight: 500; letter-spacing: -0.04em; }
.hero__stats span { color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; transform: rotate(1deg); }
.featured-card { overflow: hidden; background: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.8); border-radius: 26px; box-shadow: var(--shadow); transform: translateY(0); transition: transform 0.25s ease; }
.featured-card:nth-child(2), .featured-card:nth-child(4) { transform: translateY(34px); }
.featured-card:hover { transform: translateY(-4px); }
.featured-card:nth-child(2):hover, .featured-card:nth-child(4):hover { transform: translateY(29px); }
.featured-card > button { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 12px; border: 0; background: transparent; padding: 15px 17px 17px; color: var(--ink); text-align: left; cursor: pointer; }
.featured-card > button span { font-size: 12px; font-weight: 700; line-height: 1.35; }
.featured-card > button small { color: var(--gold); font-size: 11px; font-weight: 700; white-space: nowrap; }

.gallery { width: 100%; user-select: none; touch-action: pan-y; }
.gallery__stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 22px; background: var(--jade-pale); }
.gallery__stage > img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery--compact .gallery__stage { border-radius: 24px 24px 18px 18px; }
.gallery__count { position: absolute; z-index: 3; top: 13px; right: 13px; min-width: 38px; height: 25px; display: grid; place-items: center; color: white; background: rgba(18, 61, 54, 0.62); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; font-size: 9px; letter-spacing: 0.08em; backdrop-filter: blur(8px); }
.gallery__arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; color: var(--jade-dark); background: rgba(255,253,248,0.9); border: 0; border-radius: 50%; box-shadow: 0 6px 18px rgba(18,61,54,0.14); cursor: pointer; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; }
.gallery:hover .gallery__arrow, .gallery__arrow:focus-visible { opacity: 1; }
.gallery__arrow:hover { transform: translateY(-50%) scale(1.06); }
.gallery__arrow svg { width: 17px; height: 17px; }
.gallery__arrow--left { left: 12px; }
.gallery__arrow--right { right: 12px; }
.gallery__dots { position: absolute; z-index: 4; left: 50%; bottom: 13px; transform: translateX(-50%); display: flex; gap: 7px; padding: 6px 8px; border-radius: 999px; background: rgba(18,61,54,0.4); backdrop-filter: blur(8px); }
.gallery__dots button { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.55); cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.gallery__dots button.is-active { width: 17px; border-radius: 999px; background: white; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumbs button { padding: 0; overflow: hidden; aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: var(--cream); cursor: pointer; opacity: 0.55; }
.gallery__thumbs button.is-active { opacity: 1; border-color: var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.value-strip { min-height: 72px; padding: 18px max(28px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 22px; color: white; background: var(--jade-dark); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.value-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.story { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0; display: grid; grid-template-columns: 0.96fr 1.04fr; gap: clamp(60px, 8vw, 120px); align-items: center; }
.story__visual { position: relative; padding: 0 50px 50px 0; }
.story__visual::before { content: ""; position: absolute; inset: 50px 0 0 50px; border-radius: 38px; background: var(--jade-pale); }
.story__visual img { position: relative; width: 100%; aspect-ratio: 0.92; object-fit: cover; border-radius: 38px; box-shadow: var(--shadow); }
.story__seal { position: absolute; right: 10px; bottom: 8px; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; color: white; background: var(--jade-dark); border: 7px solid var(--paper); border-radius: 50%; }
.story__seal span { font-size: 29px; line-height: 1; letter-spacing: 0.14em; }
.story__seal small { margin-top: 5px; color: #d8c39b; font-size: 10px; letter-spacing: 0.35em; }
.story__copy h2, .section-heading h2, .service h2, .contact h2, .detail-modal h2, .order-modal h2 { margin: 0; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.12; font-weight: 400; letter-spacing: -0.045em; }
.story__copy > p:not(.kicker) { margin: 28px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.story__copy > small { display: block; margin-top: 27px; padding-left: 20px; color: var(--gold); border-left: 2px solid var(--gold); font-size: 11px; line-height: 1.65; }

.collection { padding: 110px max(28px, calc((100vw - 1180px) / 2)) 130px; background: #eef3ef; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.section-heading h2 { font-size: clamp(38px, 4vw, 58px); }
.section-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 42px 0 35px; }
.filters button { min-height: 43px; padding: 0 18px; color: var(--ink-soft); background: rgba(255,255,255,0.58); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; cursor: pointer; }
.filters button.is-active { color: white; background: var(--jade-dark); border-color: var(--jade-dark); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { min-width: 0; overflow: hidden; background: rgba(255,255,255,0.88); border: 1px solid rgba(23,58,53,0.1); border-radius: 25px; box-shadow: 0 18px 45px rgba(23,58,53,0.07); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 25px 60px rgba(23,58,53,0.12); }
.product-card .gallery__stage { border-radius: 24px 24px 15px 15px; }
.product-card__body { padding: 20px 21px 22px; }
.product-card__eyebrow { display: flex; justify-content: space-between; gap: 16px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.product-card h3 { min-height: 53px; margin: 15px 0 4px; font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.product-card__variant { min-height: 35px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.product-card__footer { margin-top: 19px; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid var(--line); }
.product-card__footer > strong { font-size: 18px; font-weight: 600; }
.buy-now-button { min-width: 112px; min-height: 42px; padding: 0 20px; color: white; background: linear-gradient(135deg, var(--jade-dark), var(--jade)); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; box-shadow: 0 9px 22px rgba(18,61,54,0.22); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.buy-now-button:hover { background: linear-gradient(135deg, #8e6a37, var(--gold)); box-shadow: 0 12px 28px rgba(165,131,79,0.3); transform: translateY(-2px); }

.service { padding: 120px max(28px, calc((100vw - 1180px) / 2)); color: white; background: var(--jade-dark); }
.service__intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.service .kicker { color: #d8bd8d; }
.service__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 65px; }
.service__grid article { min-height: 260px; padding: 32px; border: 1px solid rgba(255,255,255,0.14); border-radius: 23px; background: rgba(255,255,255,0.035); }
.service__grid b { color: #d8bd8d; font-size: 11px; letter-spacing: 0.2em; }
.service__grid h3 { margin: 48px 0 14px; font-size: 23px; font-weight: 500; }
.service__grid p { margin: 0; color: rgba(255,255,255,0.67); font-size: 13px; line-height: 1.75; }

.contact { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0 130px; display: grid; grid-template-columns: 1fr 360px; gap: 100px; align-items: center; }
.contact__copy > p:not(.kicker) { max-width: 650px; margin: 28px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.contact__phone { display: inline-grid; gap: 5px; margin-top: 38px; }
.contact__phone small { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.contact__phone strong { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.contact__phone:hover strong { color: var(--gold); }
.contact__qr { padding: 28px; display: grid; gap: 17px; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 28px; }
.contact__qr img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 17px; }
.contact__qr span { color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }

footer { min-height: 125px; padding: 26px max(28px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: rgba(255,255,255,0.75); background: #0d2b27; }
.brand--footer { color: white; }
footer p { margin: 0; font-size: 10px; letter-spacing: 0.04em; }
.floating-contact { position: fixed; z-index: 35; right: 22px; bottom: 22px; display: none; gap: 8px; }
.floating-contact a { min-width: 90px; height: 40px; display: grid; place-items: center; color: white; background: var(--jade-dark); border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; box-shadow: 0 10px 26px rgba(18,61,54,0.2); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.floating-contact a:last-child { background: #167d4f; }

.modal-layer { position: fixed; z-index: 80; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(8,30,27,0.74); backdrop-filter: blur(10px); overflow-y: auto; }
.detail-modal, .order-modal { position: relative; width: min(1050px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--paper); border: 1px solid rgba(255,255,255,0.24); border-radius: 30px; box-shadow: 0 35px 100px rgba(0,0,0,0.28); }
.detail-modal { padding: 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr); gap: 52px; align-items: center; }
.modal-close { position: absolute; z-index: 5; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--jade-dark); background: rgba(255,253,248,0.92); border: 1px solid var(--line); border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(23,58,53,0.1); }
.detail-modal__copy { padding-right: 25px; }
.detail-modal__copy h2 { font-size: clamp(34px, 4vw, 52px); }
.detail-modal__variant { margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; }
.detail-modal__price { display: block; margin-top: 24px; color: var(--gold); font-size: 25px; font-weight: 500; }
.detail-modal__copy > p:not(.kicker):not(.detail-modal__variant) { margin-top: 24px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.detail-modal__copy ul { margin: 24px 0 28px; padding: 22px 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-modal__copy li { position: relative; margin: 10px 0; padding-left: 19px; color: var(--ink-soft); font-size: 12px; }
.detail-modal__copy li::before { content: ""; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.order-modal { width: min(820px, 100%); padding: 44px; }
.order-modal__heading { padding-right: 50px; }
.order-modal__heading h2 { font-size: clamp(32px, 4vw, 46px); }
.order-modal__heading > p:not(.kicker) { max-width: 610px; margin: 15px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.order-modal form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 31px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field > span { color: var(--ink); font-size: 11px; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 15px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 11px; outline: none; font-size: 13px; }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(165,131,79,0.12); }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.consent input { width: 16px; height: 16px; margin: 0; accent-color: var(--jade-dark); }
.order-modal form > .primary-button { width: 100%; min-height: 54px; }
.form-status { margin: 0; padding: 13px 15px; color: var(--jade-dark); background: var(--jade-pale); border-radius: 10px; font-size: 11px; line-height: 1.5; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 135px; }
  .hero__copy { max-width: 680px; }
  .hero__showcase { max-width: 760px; }
  .story { grid-template-columns: 1fr 1fr; gap: 45px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr 310px; gap: 50px; }
}

@media (max-width: 700px) {
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 64px; padding: 8px 9px; }
  .brand { min-width: 0; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 12px; }
  .brand small { display: none; }
  .header-cta { min-height: 42px; padding: 0 17px; font-size: 10px; }
  .hero { min-height: auto; padding: 112px 18px 72px; gap: 42px; }
  .hero h1 { font-size: 49px; }
  .hero__lead { font-size: 14px; line-height: 1.7; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions a { width: 100%; }
  .hero__stats { gap: 10px; margin-top: 42px; }
  .hero__stats strong { font-size: 21px; }
  .hero__stats span { font-size: 8px; line-height: 1.4; }
  .hero__showcase { display: flex; gap: 13px; overflow-x: auto; padding: 5px 5px 30px; margin: 0 -5px; transform: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero__showcase::-webkit-scrollbar { display: none; }
  .featured-card { flex: 0 0 82%; scroll-snap-align: center; }
  .featured-card:nth-child(2), .featured-card:nth-child(4), .featured-card:hover, .featured-card:nth-child(2):hover, .featured-card:nth-child(4):hover { transform: none; }
  .gallery__arrow { width: 36px; height: 36px; opacity: 1; }
  .value-strip { overflow-x: auto; justify-content: flex-start; white-space: nowrap; padding-inline: 20px; }
  .story { width: calc(100% - 36px); padding: 82px 0; grid-template-columns: 1fr; gap: 58px; }
  .story__visual { padding: 0 25px 25px 0; }
  .story__visual::before { inset: 28px 0 0 28px; }
  .story__visual img { border-radius: 28px; }
  .story__seal { width: 92px; height: 92px; right: -4px; bottom: -4px; }
  .story__copy h2, .section-heading h2, .service h2, .contact h2 { font-size: 39px; }
  .collection { padding: 78px 18px 90px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .section-heading > p { font-size: 12px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -18px; padding-right: 18px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .product-grid { grid-template-columns: 1fr; gap: 17px; }
  .product-card h3 { min-height: 0; font-size: 22px; }
  .product-card__variant { min-height: 0; }
  .service { padding: 82px 18px; }
  .service__grid { grid-template-columns: 1fr; margin-top: 42px; }
  .service__grid article { min-height: 210px; }
  .service__grid h3 { margin-top: 38px; }
  .contact { width: calc(100% - 36px); padding: 82px 0 105px; grid-template-columns: 1fr; gap: 45px; }
  .contact__actions { display: grid; }
  .contact__phone strong { font-size: 30px; }
  .contact__qr { max-width: 340px; }
  footer { padding: 25px 18px 95px; align-items: flex-start; flex-direction: column; }
  .floating-contact { left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .floating-contact a { height: 46px; }
  .modal-layer { padding: 10px; place-items: start center; }
  .detail-modal, .order-modal { max-height: calc(100vh - 20px); border-radius: 22px; }
  .detail-modal { padding: 15px; grid-template-columns: 1fr; gap: 30px; }
  .detail-modal__copy { padding: 0 7px 15px; }
  .detail-modal__copy h2 { font-size: 36px; }
  .order-modal { padding: 30px 18px 24px; }
  .order-modal__heading { padding-right: 38px; }
  .order-modal form { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .modal-close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
