/* Floréaf: CSS riêng của trang chủ, chép nguyên từ hai khối <style> trong <head> của index.html (template).
   Thứ tự nạp giữ như template: bộ kit, rồi file này, rồi css/floreaf.css và css/pages.css. */

:root {
  --p-bg: #f5f1ea; --p-surface: #ece6db; --p-ink: #1f2a1e; --p-muted: #5e6656;
  --p-accent: #3b4a2f; --p-accent-ink: #f5f1ea; --p-action: #3b4a2f; --p-action-ink: #f5f1ea;
  --p-inv-bg: #1f2a1e; --p-inv-surface: #2c362a; --p-inv-ink: #f5f1ea; --p-inv-muted: #9c9f95;
  --p-inv-accent: #f5f1ea; --p-inv-accent-ink: #1f2a1e; --p-inv-action: #f5f1ea; --p-inv-action-ink: #1f2a1e;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-text: "Manrope", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.045em;
  --ly-scale: 0.97;
}

.nav__logo img { height: 34px; }
@media (max-width: 639px) { .nav__logo img { height: 28px; } }
.menu-card .panel { --p-h: 200px; }
#hoa-tiec .frame { --ratio: 75%; border-radius: var(--r-lg); overflow: clip; }
@media (min-width: 640px) and (max-width: 1023px) { #hoa-tiec .grid > .frame { grid-column: auto / span 6; --ratio: 125%; } }
@media (max-width: 639px) { #hoa-tiec .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } #hoa-tiec .grid > .frame { grid-column: auto; --ratio: 100%; } }
#gia .t-label { margin-bottom: var(--s-3); }
.gia-rows { display: grid; gap: var(--s-6); }
.gia-photo { --ratio: 0; align-self: stretch; min-height: 240px; border-radius: var(--r-lg); overflow: clip; }
@media (min-width: 640px) and (max-width: 1023px) { .gia-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } .gia-photo { aspect-ratio: 21 / 9; } }
@media (max-width: 1023px) { .gia-photo { min-height: 0; } }
@media (max-width: 639px) { .gia-photo { aspect-ratio: 1 / 1; } }
.faq-side { display: flex; flex-direction: column; gap: var(--s-6); }
.faq-main { display: flex; flex-direction: column; gap: var(--s-6); align-self: stretch; }
.faq-photo { position: relative; flex: 1 1 auto; min-height: 200px; margin: 0; border-radius: var(--r-lg); overflow: clip; }
.faq-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .faq-photo { flex: none; min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 639px) { .faq-photo { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) and (max-width: 1279px) { .faq-photo { min-height: 140px; } }
/* the tablet keeps the questions and the photograph side by side, so the section stays one screen */
@media (min-width: 640px) and (max-width: 1023px) { #faq .wrap > .faq-side { grid-column: 1 / span 6; } #faq .wrap > .faq-main { grid-column: 7 / -1; } #faq .faq-photo { flex: 1 1 auto; min-height: 160px; aspect-ratio: auto; } }
.faq-side > .section-head { margin-bottom: 0; }
.contact-row .ic { width: auto; height: 18px; }
.quote--small blockquote { font-size: var(--t-lead); line-height: 1.45; }
#theo-yeu-cau .mo-pc__more { margin-top: var(--s-2); }
@media (min-width: 640px) and (max-width: 1023px) { #theo-yeu-cau:not(.is-live) .mo-pc__visual > img { aspect-ratio: 2 / 1; } }
@media (max-width: 639px) { main > #theo-yeu-cau:not(.is-live) { min-height: calc(2 * 100lvh); } }
.order { background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6); }
@media (max-width: 1023px) { .order { background: none; padding: 0; } }
#dat-hoa .order-side { display: grid; gap: var(--s-6); align-content: start; }
#dat-hoa .order-side > .section-head { margin-bottom: 0; }
#dat-hoa textarea { min-height: 72px; }
#dat-hoa .order-photo { position: relative; margin: 0; align-self: stretch; min-height: 240px; border-radius: var(--r-lg); overflow: clip; }
#dat-hoa .order-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { #dat-hoa .order-photo { min-height: 0; aspect-ratio: 4 / 3; margin-top: var(--s-6); } }
@media (max-width: 639px) { #dat-hoa .order-photo { aspect-ratio: 4 / 5; } }
/* the tablet keeps the split: the heading and the form on the left, the photograph down the right from the heading to the button */
@media (min-width: 640px) and (max-width: 1023px) { #dat-hoa .order-side { display: contents; } #dat-hoa .order-side > .section-head { grid-column: 1 / span 6; grid-row: 1; } #dat-hoa .order { grid-column: 1 / span 6; grid-row: 2; } #dat-hoa .order-photo { grid-column: 7 / -1; grid-row: 1 / span 2; aspect-ratio: auto; margin-top: 0; min-height: 0; align-self: stretch; } }
.close__word img { display: block; width: 100%; height: auto; }
