:root {
  --ink: #153c2f;
  --muted: #4d6258;
  --green: #216e43;
  --dark: #103e32;
  --pale: #eff5ee;
  --ivory: #faf9f4;
  --line: #d9e5db;
  --white: #fff;
  --radius: 5px;
  --gutter: clamp(20px, 5vw, 64px);
  --gap: clamp(24px, 4vw, 60px);
  --section-space: clamp(54px, 7.5vw, 108px);
  --display: 'Lora', Georgia, serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.65 'Be Vietnam Pro', system-ui, sans-serif;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.22; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 4.25vw, 4.6rem); line-height: 1.13; }
h1 span { color: var(--green); }
h2 { font-size: clamp(2rem, 3.65vw, 3.25rem); text-wrap: balance; }
h3 { font-size: clamp(1.06rem, 1.85vw, 1.32rem); letter-spacing: -.02em; }
p { color: var(--muted); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1b784b; outline-offset: 4px; }
::selection { background: #d4ebd1; color: var(--dark); }
.wrap { width: min(1248px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.tinted { background: var(--pale); }
.hero { background: var(--ivory); }
.skip { position: absolute; top: 0; left: var(--gutter); z-index: 5; padding: 12px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: grid; gap: 1px; width: fit-content; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.brand span { font-size: .75rem; color: var(--muted); }
.brand strong { font-size: 1.43rem; letter-spacing: -.035em; }
.nav-list { display: flex; align-items: center; gap: clamp(8px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 160ms ease-out; }
.nav-list a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-list a:hover, .text-link:hover { color: var(--green); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease-out, color 180ms ease-out, transform 160ms var(--ease-out);
}
.button:hover { background: var(--dark); }
.button:active { transform: scale(.97); }
.button svg { transition: transform 200ms var(--ease-out); }
.button-outline { border-color: var(--green); background: transparent; color: var(--green); }
.button-outline:hover { color: var(--white); }
.button-light { background: var(--white); color: var(--dark); }
.button-light:hover { background: var(--pale); }
.contact a:focus-visible { outline-color: var(--white); }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: 8px; min-height: 44px; text-underline-offset: 4px; font-size: .92rem; font-weight: 500; transition: color 160ms ease-out; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 24px; }

@media (hover: hover) and (pointer: fine) {
  .button:hover svg { transform: translate(2px, -2px); }
  .frames-pair .image img { transition: transform 500ms var(--ease-out); }
  .frames-pair .image:hover img { transform: scale(1.045); }
}

.hero { padding-block: clamp(36px, 4.5vw, 68px); }
.hero-grid, .story-grid, .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.hero-grid, .story-grid { align-items: center; }
.hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.hero-copy > p { margin-top: 18px; max-width: 42ch; }
.price-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 380px; margin-top: 24px; padding-block: 12px; border-block: 1px solid #d1ddd0; }
.price-pair > div + div { padding-left: 20px; border-left: 1px solid #d1ddd0; }
.price-pair dt { color: var(--muted); font-size: .82rem; }
.price-pair dd { color: var(--green); font-size: clamp(1.35rem, 2.15vw, 1.85rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.image { overflow: hidden; border-radius: var(--radius); background: #e6efe4; }
.image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-image { aspect-ratio: 1.58; }
.hero-image picture { display: block; height: 100%; }
.hero-image img { object-position: center top; }
.hero-figure > figcaption { min-height: 50px; padding: 3px 14px; background: var(--pale); color: var(--muted); font-size: .8rem; }

.section-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--gap); align-items: end; margin-bottom: clamp(22px, 4vw, 42px); }
.section-intro p { max-width: 49ch; }
.pair { row-gap: 32px; }
.pair figcaption { margin-top: 16px; }
.pair figcaption p { margin-top: 7px; max-width: 54ch; }
.gallery-note { margin-top: 20px; font-size: .84rem; }
.frames-pair { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; }
.product-image { height: clamp(310px, 34vw, 490px); }
.product-square img { object-position: center 47%; }
.product-round img { object-position: center 48%; }
.catalog, .review-archive details { margin-top: 24px; border-block: 1px solid var(--line); }
.catalog summary, .review-archive summary { padding: 14px 4px; font-weight: 600; cursor: pointer; }
.catalog summary:focus-visible, .review-archive summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 8px 24px; }
.catalog-grid figure { min-width: 0; }
.catalog-grid figcaption { margin-top: 8px; font-size: .83rem; }
.gallery-image { aspect-ratio: 1; }
.review-image { aspect-ratio: 4 / 3; }
.review-image img { object-fit: contain; }
.review-archive p { max-width: 62ch; padding: 4px 4px 14px; }
.offer-band { background: var(--pale); border-block: 1px solid var(--line); }
.offer-band .section { padding-block: clamp(44px, 6vw, 78px); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: var(--gap); align-items: center; }
.offer-main { border-radius: var(--radius); padding: clamp(22px, 4vw, 42px); background: var(--dark); color: var(--white); }
.offer-main h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; font-weight: 500; }
.offer-main h3 strong { font: 500 clamp(2.8rem, 6vw, 5.05rem)/1 var(--display); letter-spacing: -.035em; color: #e1edce; }
.offer-main p { color: #d6e7da; }
.offer-main a:focus-visible { outline-color: var(--white); }
.offer-details article { border-top: 1px solid #cbdacd; padding-block: 17px; }
.offer-grid h3 { margin-bottom: 8px; }
.offer-grid p { font-size: .92rem; }
.offer-example { margin-top: 10px; }
.offer-examples { width: 100%; margin-block: 18px 20px; border-collapse: collapse; text-align: left; }
.offer-examples th { padding: 10px 12px 3px 0; border-top: 1px solid #5f8574; color: #d6e7da; font-size: .78rem; font-weight: 500; }
.offer-examples td { padding-right: 12px; font-variant-numeric: tabular-nums; }
.offer-examples td:last-child { font-weight: 600; color: #e1edce; }
.lens-section { border-bottom: 1px solid var(--line); }
.experience-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(18px, 2.5vw, 32px); }
.experience-intro p { max-width: 62ch; margin-top: 10px; }
.experience-rail { --rail-gap: clamp(14px, 2vw, 24px); position: relative; display: flex; gap: var(--rail-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
[data-experience-enhanced] .experience-rail { scrollbar-width: none; }
.experience-rail:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.experience-slide { flex: 0 0 calc((100% - var(--rail-gap)) / 2); min-width: 0; scroll-snap-align: start; }
.experience-image { aspect-ratio: 7 / 5; }
.experience-image img { object-position: center 53%; }
.experience-image.shop img { object-position: center top; transform: scale(1.17); transform-origin: top center; }
.experience-closeup img { object-position: center 57%; }
.experience-slide figcaption { padding-top: 13px; }
.experience-slide figcaption p { margin-top: 4px; font-size: .88rem; }
.slide-position { display: flex; gap: 4px; padding-bottom: 10px; }
.slide-position[hidden] { display: none; }
.slide-position span { width: 13px; height: 3px; border-radius: 3px; background: #a9bdb0; }
.slide-position [data-current] { background: var(--green); }
.slide-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.feedback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.feedback p { font-size: .91rem; }
.review-archive { padding-bottom: 88px; }
.story-image { aspect-ratio: 1.18; }
.story-image img { object-position: center 45%; }
.story-copy > p { margin: 16px 0 22px; max-width: 54ch; }
.steps div { display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); gap: 10px; padding-block: 12px; border-top: 1px solid #cbddcd; }
.steps dt { font-weight: 600; }
.steps dd { color: var(--muted); font-size: .92rem; }
.story-copy .text-link { margin-top: 8px; }
.equipment-image { aspect-ratio: 1.58; }
.equipment-image img { object-position: center 48%; }

.stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.store { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(16px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.store.featured { border-color: #aaceb1; }
.store address { font-style: normal; }
.store p { font-size: .9rem; }
.store a { margin-top: auto; }
.contact { padding-block: clamp(44px, 7vw, 90px); background: var(--dark); color: var(--white); }
.contact-grid { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); }
.contact p { max-width: 53ch; color: #def0e1; margin-top: 12px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 28px; }

.hero-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.hero-caption a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.hero-caption a, .contact-fallback { text-underline-offset: 4px; }
.contact-channels { display: flex; flex-wrap: wrap; column-gap: 20px; }
.contact-fallback { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: .85rem; }
.chat-bubbles {
  position: fixed;
  z-index: 3;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  gap: 8px;
}
.chat-bubble {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 14px #153c2f30;
  cursor: pointer;
}
.chat-bubble:hover { filter: brightness(.88); }
.chat-bubble:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.chat-zalo { --chat-color: #075ccf; --ring-delay: 0ms; background: var(--chat-color); font: 700 .81rem 'Be Vietnam Pro', system-ui, sans-serif; }
.chat-messenger { --chat-color: #0065cb; --ring-delay: 350ms; background: var(--chat-color); }

@media (max-width: 1100px) {
  html { scroll-padding-bottom: 82px; }
  .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .chat-bubbles { display: flex; }
}

@media (max-width: 900px) {
  .header-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding-top: 12px; }
  .header-row nav { grid-row: 2; grid-column: 1 / -1; }
  .nav-list { flex-wrap: wrap; column-gap: 9px; row-gap: 0; }
  .nav-list a { font-size: clamp(.72rem, 2.9vw, .84rem); }
  .header-contact { grid-column: 2; grid-row: 1; }
  .section-intro { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .story-grid { align-items: start; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .hero-copy > p { margin-top: 12px; }
  .hero-image { aspect-ratio: 1.65; }
}

@media (max-width: 650px) {
  .pair, .story-grid, .stores, .offer-grid { grid-template-columns: 1fr; }
  .product-image { height: auto; aspect-ratio: 1.22; }
  .story-copy { grid-row: 1; }
  .contact-grid { align-items: flex-start; flex-direction: column; }
  .experience-slide { flex-basis: 100%; }
  .experience-image { aspect-ratio: 6 / 5; }
  .experience-image.shop img { transform: scale(1.34); }
  .slide-position { padding-bottom: 0; }
  .feedback { flex-direction: column; align-items: flex-start; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .contact-grid { gap: 18px; }
  .price-pair { margin-top: 16px; }
  .price-pair > div + div { padding-left: 16px; }
}

@media (max-width: 420px) {
  .header-row { --gutter: 12px; }
  .nav-list { justify-content: space-between; column-gap: 4px; }
  h1 { font-size: clamp(1.93rem, 8.65vw, 2.55rem); }
  .hero-caption { gap: 0 6px; padding-inline: 8px; font-size: .74rem; }
  .actions { margin-top: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image[data-entrance] img { animation: showroom-arrival 720ms var(--ease-out) both; }
  h1[data-entrance] { animation: title-arrival 520ms var(--ease-out) both; }

  .chat-bubble > :is(span, svg) {
    transform-origin: center 30%;
    animation: chat-ring 700ms ease-in-out var(--ring-delay) infinite both;
  }

  .chat-bubble::after {
    position: absolute;
    inset: -2px;
    border: 2px solid var(--chat-color);
    border-radius: inherit;
    content: '';
    pointer-events: none;
    animation: chat-ripple 700ms var(--ease-out) var(--ring-delay) infinite both;
  }
}

@keyframes chat-ring {
  0%, 76%, 100% { transform: rotate(0); }
  17% { transform: rotate(-12deg); }
  33% { transform: rotate(10deg); }
  48% { transform: rotate(-6deg); }
  62% { transform: rotate(3deg); }
}

@keyframes chat-ripple {
  0% { opacity: 0; transform: scale(1); }
  14% { opacity: .55; }
  100% { opacity: 0; transform: scale(1.23); }
}

@keyframes showroom-arrival {
  from { transform: scale(1.065); transform-origin: center top; }
  to { transform: scale(1); transform-origin: center top; }
}

@keyframes title-arrival {
  from { transform: translateY(8px); opacity: .72; }
  to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button svg, .frames-pair .image img { transition: none; }
  .button:active, .button:hover svg, .frames-pair .image:hover img { transform: none; }
}

.experience-image.shop img { transform: none; }
