/* Homepage photo-backed glass. Shared header material lives in site-glass.css. */
.fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock {
  background: #fffcfd;
  border: 1px solid rgb(155 49 87 / 16%);
  box-shadow: 0 8px 28px rgb(48 40 50 / 10%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock__action:is(.is-call, .is-zalo, .is-location) { background: transparent; }
.fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock__action:is(.is-call, .is-zalo, .is-location):hover { background: rgb(247 234 240 / 90%); }
.fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock__action.is-consult { background: #9b3157; color: #fff; box-shadow: none; }
.fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock__action.is-consult:hover { background: #7b2343; }

/* The glass and typography share one content measure, including on tablets. */
.fc-page .fc-home .fc-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 620px;
  padding: 56px 0;
  overflow: hidden;
  background: #f7eaf0;
}
.fc-page .fc-home .fc-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.fc-page .fc-home .fc-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 58%; }
.fc-page .fc-home .fc-hero-copy {
  --hero-gutter: max(48px, calc((100vw - 1200px) / 2));
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--hero-gutter) * 2), 522px);
  margin: 0 0 0 var(--hero-gutter);
  padding: 40px 48px 42px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 22px;
  background: #f7edf1;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 8px 28px rgb(84 49 62 / 5%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* Size the title from the copy column rather than the full viewport. */
.fc-page .fc-home .fc-hero-content { container-type: inline-size; width: 100%; max-width: 424px; }
.fc-page .fc-home .fc-hero-intro { max-width: none; }
.fc-page .fc-home .fc-hero-copy h1 {
  color: #30232c;
  font-family: var(--fc-display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-size: clamp(30px, 13cqi, 56px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: initial;
  margin: 0 0 20px;
}
.fc-page .fc-home .fc-hero-title-line { display: block; }
.fc-page .fc-home .fc-hero-copy p {
  max-width: 36ch;
  color: #3e2d37;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: balance;
  overflow-wrap: normal;
  margin: 0;
}
.fc-page .fc-home .fc-hero-copy .fc-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; margin-top: 28px; }
.fc-page .fc-home .fc-hero-copy .fc-reveal-action { display: flex; min-width: 0; }
.fc-page .fc-home .fc-hero-copy .fc-button { width: 100%; min-height: 48px; padding: 12px 14px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.fc-page .fc-home .fc-hero-copy .fc-button-outline { background: rgb(255 252 253 / 24%); border-color: rgb(155 49 87 / 42%); }
.fc-page .fc-home .fc-hero-copy .fc-button-outline:hover { background: rgb(255 252 253 / 65%); border-color: #9b3157; }

/* Photo controls only; captions/prices retain their ordinary opaque surfaces. */
.fc-page .fc-home .fc-product-image:has(> a > img) { position: relative; aspect-ratio: 4 / 5; height: auto; overflow: hidden; }
.fc-page .fc-home .fc-product-image > a:has(> img) { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; }
.fc-page .fc-home .fc-product-image > a > img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fc-page .fc-home .fc-product-image :is(.fc-card-quick, .fc-favorite) {
  background: #fffcfd;
  border: 1px solid rgb(255 255 255 / 85%);
  color: #302832;
  box-shadow: 0 3px 12px rgb(48 40 50 / 8%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.fc-page .fc-home .fc-product-image .fc-card-quick:hover { background: #fff; color: #7b2343; }
.fc-page .fc-home .fc-product-image .fc-favorite[aria-pressed="true"] { background: #f7eaf0; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock { background: rgb(255 252 253 / 86%); -webkit-backdrop-filter: blur(12px) saturate(110%); backdrop-filter: blur(12px) saturate(110%); }
  .fc-page .fc-home .fc-hero-copy { background: linear-gradient(110deg, rgb(255 252 253 / 42%), rgb(255 252 253 / 18%)); -webkit-backdrop-filter: blur(16px) saturate(115%); backdrop-filter: blur(16px) saturate(115%); }
  .fc-page .fc-home .fc-product-image :is(.fc-card-quick, .fc-favorite) { background: rgb(255 252 253 / 86%); -webkit-backdrop-filter: blur(10px) saturate(110%); backdrop-filter: blur(10px) saturate(110%); }
  .fc-page .fc-home .fc-product-image .fc-favorite[aria-pressed="true"] { background: rgb(247 234 240 / 94%); }
}
@media (max-width: 1023px) {
  .fc-page .fc-home .fc-hero { min-height: 580px; }
  .fc-page .fc-home .fc-hero-copy { --hero-gutter: 32px; width: min(calc(100% - 64px), 70%, 490px); margin-left: var(--hero-gutter); padding: 36px 32px 38px; }
}
/* The narrower tablet crop puts petals behind text: add a little more frost. */
@media (min-width: 600px) and (max-width: 1199px) {
  .fc-page .fc-home .fc-hero-copy :is(p, .fc-kicker) { color: #30232c; }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .fc-page .fc-home .fc-hero-copy { background: linear-gradient(110deg, rgb(255 252 253 / 66%), rgb(255 252 253 / 56%)); }
  }
}
@media (max-width: 1023px), (hover: none), (pointer: coarse) {
  .fc-page .fc-home .fc-product-image .fc-card-quick { position: absolute; left: 10px; right: 10px; bottom: 10px; width: calc(100% - 20px); margin: 0; min-height: 44px; padding: 9px 8px; opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 599px) {
  .fc-page .fc-home .fc-hero { min-height: 620px; padding: 64px 20px 48px; align-items: start; }
  .fc-page .fc-home .fc-hero-image img { object-position: 72% 52%; }
  .fc-page .fc-home .fc-hero-copy { width: min(100%, 440px); margin: 0; align-self: start; justify-self: center; padding: 28px 24px 30px; border-left: 1px solid rgb(255 255 255 / 45%); border-radius: 20px; }
  .fc-page .fc-home .fc-hero-copy h1 { font-size: clamp(30px, 9vw, 42px); font-size: clamp(30px, 13cqi, 42px); }
  .fc-page .fc-home .fc-hero-copy p { font-size: 15px; }
  .fc-page .fc-home .fc-hero-copy .fc-actions { gap: 10px; margin-top: 24px; }
}
@media (max-width: 374px) {
  .fc-page .fc-home .fc-hero-copy .fc-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .fc-page .fc-home .fc-hero { padding: 48px 16px 40px; min-height: 600px; }
  .fc-page .fc-home .fc-hero-copy { padding: 24px 20px 26px; }
}
@media (prefers-reduced-transparency: reduce) {
  .fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock,
  .fc-page .fc-home .fc-hero-copy,
  .fc-page .fc-home .fc-product-image :is(.fc-card-quick, .fc-favorite) { background: #fffcfd; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  .fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock,
  .fc-page .fc-home .fc-hero-copy,
  .fc-page .fc-home .fc-product-image :is(.fc-card-quick, .fc-favorite) { background: Canvas; border-color: ButtonBorder; color: CanvasText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .fc-page .fc-home .fc-hero-copy :is(h1, p, .fc-kicker) { color: CanvasText; }
  .fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock__action.is-consult { background: ButtonFace; color: ButtonText; }
  .fc-page.cvn-client-palette:has(.fc-home) .cvn-smart-contact-dock__action.is-consult .cvn-smart-contact-dock__icon { color: ButtonText; }
}

/* Responsive art direction retains the existing photo frame. */
.fc-page .fc-home .fc-hero-image picture { display: block; width: 100%; height: 100%; }
