/* =========================================================
   IPTIME – shared overlays + inner pages
   (Figma section "DEMO 2" – node 263:2921)
   ========================================================= */

:root {
  --c-text-2: #41566c;
  --c-muted: #cccccc;
  --header-h: 90px;
  --shadow-drop: 0 4px 6px rgba(171, 189, 225, .3);
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.choice-box--plain { padding: 0; border: 0; background: none; }

/* Inner pages start below the fixed header */
body:not([data-page="home"]) main { padding-top: var(--header-h); }

/* ---------- Button hover: arrow circle slides to the right (Figma Component 25 → 39) ----------
   The icon is positioned absolutely so its move (left) and the text shift (padding)
   can be animated smoothly instead of jumping. */
.btn-pill {
  --pill-ease: cubic-bezier(.65, 0, .35, 1);
  position: relative;
  justify-content: center;
  padding: 10px 50px 10px 52px;
  transition: padding .55s var(--pill-ease), transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.btn-pill--white { padding-right: 40px; }
.btn-pill--gap { justify-content: flex-start; padding: 10px 10px 10px 62px; }
.btn-pill__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: left .55s var(--pill-ease), background-color .3s ease;
}
.btn-pill:hover { padding-left: 20px; padding-right: 52px; }
.btn-pill--gap:hover { padding-left: 20px; padding-right: 52px; }
.btn-pill:hover .btn-pill__icon { left: calc(100% - 42px); }
@media (prefers-reduced-motion: reduce) {
  .btn-pill, .btn-pill__icon { transition: none; }
}
button.btn-pill { font: inherit; font-size: 14px; font-weight: 700; line-height: 1.7; text-transform: uppercase; cursor: pointer; }
button.btn-green { font: inherit; cursor: pointer; border: 0; }
.btn-green--header { font-size: 14px; font-weight: 700; line-height: 1.7; text-transform: uppercase; }
.btn-green--lg { font-size: 18px; font-weight: 700; line-height: 1.4; }

/* =========================================================
   MEGA MENU "Dịch vụ" (Frame 191)
   ========================================================= */
.nav__item--mega { display: flex; align-self: stretch; }
.mega {
  position: absolute;
  top: calc(100% + 19px);           /* Figma: 19px below the 90px header */
  left: 50%;
  z-index: 5;
  width: min(1330px, calc(100vw - 48px));
  height: 396px;
  display: flex;
  border: 1px solid var(--c-primary);
  border-radius: 20px;
  background: var(--c-white);
  box-shadow: 0 4px 5.5px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  /* closing waits a moment so a slightly off-course pointer doesn't drop the menu */
  transition: opacity .2s ease .15s, transform .2s ease .15s, visibility 0s linear .35s;
}
/* invisible bridge covering the gap between the nav item and the panel */
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 50px; }
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega,
.nav__item--mega.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

.mega__cats {
  flex: none;
  width: 370px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 19px 0 0 19px;
  background: var(--c-primary);
}
.mega__cat {
  padding: 20px 16px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: var(--c-white);
  text-align: left;
  text-transform: uppercase;
  transition: background-color .2s ease;
}
.mega__cat.is-active,
.mega__cat:hover { background: rgba(255, 255, 255, .1); }
.mega__col { flex: none; width: 260px; padding: 18px; }
.mega__col:first-of-type { padding-left: 30px; }
.mega__col a {
  display: block;
  padding: 16px;
  font-size: 14px;
  line-height: normal;
  color: var(--c-sub-body);
  transition: color .2s ease;
}
.mega__col a:hover { color: var(--c-green); }
.mega__img { flex: 1 1 0; min-width: 0; padding: 18px; }
.mega__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* =========================================================
   DRAWER ☰ (Frame 79)
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 140; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .73); animation: lbFade .25s ease; }
.drawer__panel {
  position: absolute;
  left: 22px;
  top: 26px;
  width: 704px;
  max-width: calc(100vw - 44px);
  max-height: calc(100% - 52px);
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 100px;
  border-radius: 20px;
  background: var(--c-white);
  animation: drawerIn .3s ease;
}
@keyframes drawerIn { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__panel > * { position: relative; }
.drawer__symbol { position: absolute !important; left: -123px; top: -309px; width: 947px; height: 947px; max-width: none; pointer-events: none; }
.drawer__close { position: absolute !important; top: 0; right: 0; padding: 16px; z-index: 1; }
.drawer__close img { width: 60px; height: 60px; }
.drawer__logo { width: 268.696px; height: 101.04px; }
.drawer__nav { display: none; }
.drawer__intro { font-size: 20px; line-height: 1.7; color: var(--c-text); text-align: justify; }
.drawer__offices {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px;
  border-radius: 20px;
  background: var(--c-bg-soft);
  color: var(--c-primary);
}
.drawer__office { display: flex; align-items: flex-start; gap: 20px; font-size: 16px; line-height: 1.4; }
.drawer__office > div { display: flex; flex-direction: column; gap: 16px; }
.drawer__pin { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.drawer__pin img { width: 18.9703px; height: 19.5px; }
.drawer__office-title { font-size: 20px; font-weight: 600; line-height: normal; }
.drawer__contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(20, 146, 71, .1);
  font-size: 20px;
  color: var(--c-green);
}
.drawer__contact > a,
.drawer__contact > p { display: flex; align-items: center; gap: 20px; line-height: 28px; }
.drawer__contact img { width: 24px; height: 24px; flex: none; }
.drawer__contact a:hover { text-decoration: underline; }
.drawer__astronaut { width: 152px; height: 186px; object-fit: contain; }

/* =========================================================
   SEARCH OVERLAY (MacBook Pro 16" - 10)
   ========================================================= */
.search-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(255, 255, 255, .98); animation: lbFade .2s ease; }
.search-overlay[hidden] { display: none; }
.search-overlay__inner { position: absolute; top: 137px; left: 50%; width: 590px; max-width: calc(100vw - 32px); transform: translateX(-50%); }
.search-overlay__form { display: flex; align-items: stretch; gap: 10px; }
.search-overlay__submit { display: flex; align-items: center; padding: 10px 12px; }
.search-overlay__submit img { width: 24px; height: 24px; }
.search-overlay__form input {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  border: 0;
  border-bottom: 1px solid var(--c-muted);
  background: transparent;
  font: inherit;
  font-size: 24px;
  line-height: 1.4;
  color: var(--c-sub-body);
  outline: none;
}
.search-overlay__form input::placeholder { color: var(--c-muted); }
.search-overlay__form input:focus { border-bottom-color: var(--c-primary); }
.search-overlay__suggest { display: flex; flex-direction: column; gap: 20px; margin: 36px 0 0 20px; }
.search-overlay__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--c-text-2);
}
.search-overlay__label img { width: 20px; height: 20px; }
.search-overlay__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.search-overlay__chips a {
  padding: 8px 16px;
  border: 1px solid var(--c-text-2);
  border-radius: var(--pill);
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-text-2);
  transition: background-color .2s ease, color .2s ease;
}
.search-overlay__chips a:hover { background: var(--c-text-2); color: var(--c-white); }
.search-overlay__close { position: absolute; top: -24px; left: calc(100% + 120px); padding: 16px; background: var(--c-white); }
.search-overlay__close img { width: 60px; height: 60px; }

/* =========================================================
   FLOATING CONTACT WIDGET (Frame 208 / 209) + BACK TO TOP (Frame 216)
   ========================================================= */
.cwidget { position: fixed; right: 16px; bottom: 41px; z-index: 85; }
.cwidget__toggle { display: flex; flex-direction: column; align-items: center; }
.cwidget__toggle[hidden] { display: none; }
.cwidget__astro { width: 100px; height: 84px; margin-left: 20px; object-fit: cover; pointer-events: none; }
.cwidget__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 16px;
  border-radius: var(--pill);
  background: var(--c-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-white);
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(35, 36, 87, .25);
  transition: transform .2s ease;
}
.cwidget__toggle:hover .cwidget__pill { transform: translateY(-2px); }
.cwidget__pill-icon { display: flex; padding: 3.75px; border-radius: 99px; background: var(--c-white); }
.cwidget__pill-icon img { width: 12.5px; height: 12.5px; }
.cwidget__panel { display: flex; flex-direction: column; align-items: center; width: 235px; animation: lbFade .2s ease; }
.cwidget__panel[hidden] { display: none; }
.cwidget__box {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-primary);
  border-radius: 20px;
  background: var(--c-white);
  box-shadow: 0 6px 18px rgba(35, 36, 87, .18);
}
.cwidget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: var(--c-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-white);
}
.cwidget__head span { flex: 1 1 0; text-align: center; }
.cwidget__close { display: flex; padding: 3.478px; border-radius: 21.5px; background: var(--c-white); }
.cwidget__close img { width: 13.043px; height: 13.043px; }
.cwidget__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--c-primary);
  transition: background-color .2s ease;
}
.cwidget__row:hover { background: var(--c-bg-soft); }
.cwidget__row > img { width: 24px; height: 24px; flex: none; }
.cwidget__tiktok { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.cwidget__tiktok img { width: 16px; height: 18px; }

.to-top {
  position: fixed;
  right: 36px;
  bottom: 176px;
  z-index: 84;
  display: flex;
  padding: 13.636px;
  border-radius: 135px;
  background: var(--c-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top img { width: 32.727px; height: 32.727px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.cwidget:has(.cwidget__panel:not([hidden])) ~ .to-top { opacity: 0; visibility: hidden; }

/* =========================================================
   LEAD POPUP (MacBook Pro 16" - 12)
   ========================================================= */
.lead-modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lead-modal[hidden] { display: none; }
.lead-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); animation: lbFade .25s ease; }
.lead-modal__card {
  position: relative;
  width: 1154px;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  overflow: hidden auto;
  border-radius: 20px;
  background: var(--c-white);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-modal__symbol { position: absolute; left: -211px; top: -264px; width: 650px; height: 650px; max-width: none; pointer-events: none; }
.lead-modal__inner { position: relative; display: flex; gap: 60px; padding: 20px 20px 20px 30px; }
.lead-modal__form { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.lead-modal__logo { width: 180px; height: 67.687px; margin-bottom: 10px; }
.lead-modal__text { display: flex; flex-direction: column; gap: 30px; color: var(--c-sub-body); }
.lead-modal__text h2 { font-size: 20px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
.lead-modal__text p { font-size: 16px; line-height: 1.4; text-align: justify; }
.lead-modal__media { position: relative; flex: none; width: 520px; min-height: 547px; border-radius: 20px; overflow: hidden; }
.lead-modal__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  padding: 13.913px;
  border-radius: 86px;
  background: rgba(255, 255, 255, .8);
  transition: background-color .2s ease;
}
.lead-modal__close:hover { background: var(--c-white); }
.lead-modal__close img { width: 52.174px; height: 52.174px; }

/* =========================================================
   PROJECT CARD HOVER (Component 33 → 34)
   ========================================================= */
.project { outline: none; }
.project .chip { transition: opacity .2s ease; }
.project__hover {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(35, 36, 87, .84);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.project:hover .project__hover,
.project:focus-within .project__hover { opacity: 1; visibility: visible; }
.project:hover .chip,
.project:focus-within .chip { opacity: 0; }
.project__title { max-width: 250px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--c-white); text-align: center; }
.project__detail,
.project__3d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  padding: 10px 30px;
  border-radius: var(--pill);
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.project__detail { border: 1px solid var(--c-white); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--c-white); }
.project__detail:hover { background: var(--c-white); color: var(--c-primary); }
.project__3d { background: var(--c-white); color: var(--c-primary); }
.project__3d:hover { background: var(--c-bg-soft); }
.project__3d img { width: 24px; height: 24px; }

/* =========================================================
   PAGE BANNER (Frame 17)
   ========================================================= */
.page-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 279px;
  padding-top: 40px;
  padding-bottom: 40px;
  color: var(--c-bg-soft);
  text-align: center;
  overflow: hidden;
}
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(35, 36, 87, .8); }
.page-banner > :not(img) { position: relative; z-index: 1; }
.page-banner h1 { font-size: 36px; font-weight: 700; line-height: 1.6; text-transform: uppercase; }
.breadcrumb { font-size: 16px; line-height: 1.4; }
.breadcrumb a:hover { text-decoration: underline; }

/* Pill tab group (Dịch vụ / Báo giá) */
.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--c-primary);
  border-radius: var(--pill);
}
.pill-tabs button {
  padding: 10px;
  border-radius: var(--pill);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--c-text-2);
  transition: background-color .2s ease, color .2s ease;
}
.pill-tabs button:hover { color: var(--c-primary); }
.pill-tabs button.is-active { padding: 10px 20px; background: var(--c-primary); color: var(--c-white); font-weight: 700; }

.eyebrow--16 { font-size: 16px; line-height: 1.4; letter-spacing: .8px; }
.section-title--24 { font-size: 24px; line-height: 1.6; }
.section-title--36 { font-size: 36px; line-height: 1.6; }
.btn-pill--slate { border-color: var(--c-text-2); color: var(--c-text-2); }
.btn-pill--slate .btn-pill__icon--dark { background: var(--c-text-2); }

/* Generic page section rhythm */
.page-section { display: flex; flex-direction: column; align-items: center; gap: 30px; padding-top: 80px; padding-bottom: 80px; }
.page-section--gap40 { gap: 40px; }
.page-section > .section-row,
.page-section > .projects__grid { width: 100%; }

/* =========================================================
   DỊCH VỤ – danh mục (Frame 178) + danh sách (Desktop - 28)
   ========================================================= */
.decor--svc .decor__symbol { top: -482px; left: calc(50% - 1103px); width: 1240px; height: 1240px; }
.svc-note {
  width: 100%;
  padding: 10px 16px;
  border-left: 6px solid var(--c-green-2);
  background: rgba(20, 146, 71, .1);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text-2);
}
.svc-note strong { display: block; font-weight: 600; color: var(--c-green); }
.svc-grid { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 378px;
  padding: 20px;
  border: 1px solid var(--c-border-blue);
  border-radius: 20px;
  background: var(--c-bg-soft);
  transition: box-shadow .25s ease, transform .25s ease;
}
.svc-card:hover { box-shadow: var(--shadow-drop); transform: translateY(-3px); }
.svc-card__icon { align-self: flex-start; display: flex; padding: 10px; border: 1px solid var(--c-border-blue); border-radius: 10px; background: var(--c-white); }
.svc-card__icon img { width: 40px; height: 40px; object-fit: cover; }
.svc-card h3 { font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--c-sub-body); margin-bottom: -10px; }
.svc-card ul { list-style: disc; padding-left: 24px; font-size: 16px; line-height: 1.7; color: var(--c-text-2); }
.svc-card li a:hover { color: var(--c-green); }

/* =========================================================
   DỰ ÁN – Dự án tiêu biểu (Frame 65 / Component 29)
   ========================================================= */
.decor--projects-page .decor__symbol { top: -346px; left: calc(50% - 1124px); width: 1240px; height: 1240px; }
.featured {
  position: relative;
  width: 100%;
  height: 732px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--c-white);
  color: var(--c-white);
}
.featured__bg { position: absolute; top: 0; left: -7.53%; width: 108.44%; height: 100%; max-width: none; object-fit: cover; }
.featured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20, 146, 71, 0), var(--c-green)); }
.featured__body { position: relative; z-index: 1; display: flex; gap: 30px; height: 250px; }
.featured__thumb { position: relative; flex: none; width: 262.5px; height: 250px; border-radius: 20px; background: rgba(217, 217, 217, .2); }
.featured__thumb img { position: absolute; left: 9.44px; top: 7.23px; width: 243.615px; height: 235.549px; object-fit: cover; border-radius: 10px; }
.featured__info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding-top: 30px; }
.featured__text { display: flex; flex-direction: column; gap: 14px; }
.featured__head { display: flex; align-items: center; gap: 28px; }
.featured__head h3 { flex: none; font-size: 24px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.featured__line { flex: 1 1 0; min-width: 0; height: 1px; }
.featured__line img { width: 100%; height: 1px; }
.featured__desc {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured__foot { display: flex; align-items: center; gap: 30px; }
.featured__count { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 28px; font-size: 24px; font-weight: 700; line-height: 1; }
.featured__nav { display: flex; gap: 21px; }
.featured__nav .circle-btn { border-width: 1.5px; }
.featured .featured__body,
.featured .featured__bg { transition: opacity .2s ease; }
.featured.is-changing .featured__body,
.featured.is-changing .featured__bg { opacity: 0; }

/* =========================================================
   TÌM KIẾM (Frame 217)
   ========================================================= */
.search-result { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; font-size: 18px; line-height: 1.4; }
.search-result span { font-weight: 500; color: var(--c-primary); }
.search-result strong { color: var(--c-green); }
.search-empty { width: 100%; padding: 40px; border-radius: 20px; background: var(--c-bg-soft); text-align: center; color: var(--c-text-2); }

/* =========================================================
   CHI TIẾT DỰ ÁN (Desktop - 9 / 11)
   ========================================================= */
.pinfo { padding-top: 50px; padding-bottom: 50px; background: var(--c-bg-soft); }
.pinfo__inner { display: flex; flex-direction: column; gap: 30px; }
.pinfo__text { display: flex; flex-direction: column; gap: 10px; line-height: 1.4; }
.pinfo__text h2 { font-size: 20px; font-weight: 700; color: var(--c-primary); text-transform: uppercase; }
.pinfo__text p { font-size: 16px; color: #000; text-align: justify; }
.pinfo__line { width: 100%; height: 1px; }
.pmeta { display: flex; align-items: flex-start; gap: 70px; padding: 14px 0; }
.pmeta__item { display: flex; flex-direction: column; gap: 10px; flex: none; font-size: 16px; line-height: 1.4; }
.pmeta__label { display: flex; align-items: center; gap: 10px; color: var(--c-muted); }
.pmeta__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); }
.pmeta__value { padding-left: 16px; color: #000; }
.btn-3d {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  padding: 16px;
  border-radius: 10px;
  background: var(--c-green);
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-white);
  white-space: nowrap;
  transition: background-color .2s ease;
}
.btn-3d:hover { background: #0f7a3a; }
.btn-3d img { width: 24px; height: 24px; }

.pgallery { display: flex; flex-direction: column; gap: 30px; padding-top: 50px; padding-bottom: 50px; }
.pgallery img { width: 100%; height: 643px; object-fit: cover; border-radius: 20px; }

.sticky-info {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  width: min(1200px, calc(100vw - 32px));
  padding: 6px 30px;
  border: 1px solid var(--c-border-blue);
  border-radius: 20px;
  background: var(--c-white);
  box-shadow: 0 8px 24px rgba(35, 36, 87, .16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.sticky-info.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sticky-info .pmeta { gap: 40px; padding: 10px 0; align-items: center; }
.sticky-info .btn-3d { flex: none; padding: 12px 24px; margin-left: auto; }
body.page-project .cwidget { bottom: 120px; }
body.page-project .to-top { bottom: 255px; }

/* =========================================================
   BÁO GIÁ (Desktop - 18 → 21)
   ========================================================= */
.pricing__intro { width: 1180px; max-width: 100%; font-size: 16px; line-height: 1.4; color: var(--c-sub-body); text-align: justify; }
.pricing__panel { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.pricing__panel[hidden] { display: none; }
.plans { width: 100%; display: flex; flex-direction: column; gap: 30px; }
.plan {
  display: flex;
  align-items: flex-start;
  gap: 150px;
  padding: 30px;
  border: 1px solid var(--c-border-blue);
  border-radius: 20px;
  background: var(--c-bg-soft);
  color: var(--c-sub-body);
}
.plan--tall { min-height: 340px; }
.plan--hot { border-color: var(--c-green); background: var(--c-green); color: var(--c-bg-soft); }
.plan--hot.plan--tall { gap: 128px; }
.plan__side { flex: none; width: 255px; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; align-self: stretch; }
.plan__name { font-weight: 700; text-transform: uppercase; color: var(--c-primary); }
.plan--hot .plan__name { color: inherit; }
.plan__name span { display: block; font-size: 24px; line-height: 1.6; }
.plan__name b { display: block; font-size: 36px; line-height: 1.6; }
.plan__name sup { font-size: 23.22px; vertical-align: baseline; position: relative; top: -.45em; }
.plan__badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  border: 1px solid var(--c-bg-soft);
  border-radius: var(--pill);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-white);
  white-space: nowrap;
}
.plan__badge img { width: 30px; height: 30px; }
.plan__grid { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.plan__grid--tight { row-gap: 20px; }
.feat { display: flex; flex-direction: column; gap: 5px; font-size: 16px; line-height: 1.4; }
.feat__head { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.feat__head img { width: 16px; height: 16px; flex: none; }
.feat > p:not(.feat__head) { padding-left: 22px; }
.plan--extra { flex-direction: column; gap: 30px; }
.plan--extra .plan__row { width: 100%; display: flex; gap: 150px; }
.plan--extra .feat__head img { width: 14px; height: 14px; }
.plan--extra .feat > p:not(.feat__head) { padding-left: 20px; }
.plan__divider { width: 100%; height: 1px; }
.plan__price { font-size: 20px; font-weight: 700; color: var(--c-primary); }
.plan__title-36 { flex: none; width: 255px; font-size: 36px; font-weight: 700; line-height: 1.6; color: var(--c-primary); }
.plans--row { flex-direction: row; }
.plans--row .plan { flex: 1 1 0; min-width: 0; gap: 0; }

/* =========================================================
   PHIẾU LẤY THÔNG TIN (Desktop - 23)
   ========================================================= */
.brief { display: flex; flex-direction: column; gap: 30px; padding-top: 80px; padding-bottom: 80px; }
.guide { display: flex; align-items: flex-start; gap: 20px; padding: 20px; border-radius: 20px; background: rgba(20, 146, 71, .1); }
.guide > img { width: 40px; height: 40px; flex: none; }
.guide__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.guide__head { display: flex; align-items: center; gap: 30px; }
.guide__head h2 { flex: none; font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--c-green); text-transform: uppercase; }
.guide__head span { flex: 1 1 0; height: 1px; }
.guide__head span img { width: 100%; height: 1px; }
.guide__row { display: flex; gap: 50px; font-size: 16px; line-height: 1.4; color: var(--c-sub-body); }
.guide__row > p { flex: 1 1 0; }
.guide__row ul { display: flex; flex-direction: column; gap: 10px; flex: none; }
.guide__row li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.guide__row li img { width: 16px; height: 16px; }

.brief-form { display: flex; flex-direction: column; gap: 30px; padding: 30px; border: 1px solid var(--c-border-blue); border-radius: 20px; background: var(--c-white); }
.brief-head { display: flex; align-items: center; gap: 30px; }
.brief-head__title { display: flex; align-items: center; gap: 10px; flex: none; }
.brief-head__title > img { width: 40px; height: 40px; }
.brief-head h2 { font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--c-text); text-transform: uppercase; }
.brief-head p { font-size: 16px; line-height: 1.4; color: var(--c-text-2); }
.brief-head > span { flex: 1 1 0; min-width: 0; height: 1px; }
.brief-head > span img { width: 100%; height: 1px; }
.brief-fields { display: flex; flex-direction: column; gap: 20px; }
.brief-fields--30 { gap: 30px; }
.brief-form .field input,
.brief-form .field textarea { padding: 12px; }
.brief-form .field__label em { font-style: normal; }
.field-row--3 > .field { flex: 1 1 0; }

.choice-box { display: flex; flex-direction: column; gap: 20px; padding: 20px; border: 1px solid var(--c-border-blue); border-radius: 20px; background: var(--c-bg-soft); }
.choice-box__label { display: flex; gap: 7px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--c-sub-body); }
.choice-box__label em { font-style: normal; color: var(--c-red); }
.choice-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: column; column-gap: 50px; row-gap: 10px; }
.choice-grid--7 { grid-template-rows: repeat(7, auto); }
.choice-grid--2 { grid-template-rows: repeat(2, auto); }
.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--c-white);
  box-shadow: var(--shadow-drop);
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-sub-body);
  cursor: pointer;
  user-select: none;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check img { width: 24px; height: 24px; flex: none; }
.check .is-on,
.check input:checked ~ .is-off { display: none; }
.check input:checked ~ .is-on { display: block; }
.check input:disabled ~ span { opacity: .5; }
.check:has(input:focus-visible) { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.choice-box__count { display: flex; gap: 7px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--c-sub-body); }
.choice-box__count b { color: var(--c-red); }

.radio-cards { display: flex; gap: 30px; }
.radio-card {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--c-border-blue);
  border-radius: 16px;
  background: var(--c-white);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card img { width: 24px; height: 24px; flex: none; }
.radio-card .is-on,
.radio-card input:checked ~ .is-off { display: none; }
.radio-card input:checked ~ .is-on { display: block; }
.radio-card:has(input:checked) { border-color: var(--c-green); background: rgba(20, 146, 71, .1); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.radio-card span { display: flex; flex-direction: column; gap: 5px; font-size: 16px; line-height: 1.4; color: var(--c-sub-body); }
.radio-card small { font-size: 16px; color: var(--c-text-2); }

.upload-row { display: flex; gap: 30px; }
.upload-row > .choice-box { flex: 1 1 0; min-width: 0; gap: 10px; }
.upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 50px;
  border: 1px dashed var(--c-text-2);
  border-radius: 10px;
  background: var(--c-white);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.upload.is-over { border-color: var(--c-green); background: rgba(20, 146, 71, .05); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--c-text-2);
  border-radius: 10px;
  background: var(--c-bg-soft);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-sub-body);
}
.upload__btn img { width: 24px; height: 24px; }
.upload p { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--c-sub-body); }
.upload p small { font-size: 16px; color: var(--c-text-2); }
.upload__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.upload__list:empty { display: none; }
.upload__thumb { position: relative; width: 100px; height: 100px; border-radius: 10px; overflow: hidden; }
.upload__thumb > img { width: 100%; height: 100%; object-fit: cover; }
.upload__thumb button { position: absolute; top: 6px; right: 6px; display: flex; }
.upload__thumb button img { width: 24px; height: 24px; }
.upload-row .field { flex: 1 1 0; }
.upload-row textarea { flex: 1 1 0; min-height: 200px; height: auto; }
.upload-row .choice-box--content { gap: 7px; }

/* =========================================================
   CẢM ƠN (Desktop - 24)
   ========================================================= */
.thanks { position: relative; overflow: hidden; padding-top: 161px; padding-bottom: 215px; }
.thanks__symbol { position: absolute; left: calc(50% - 887px); top: -221px; width: 1158px; height: 1158px; max-width: none; pointer-events: none; }
.thanks__box { position: relative; width: 817px; max-width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 60px; padding: 0 20px; }
.thanks__box > img { flex: none; width: 150px; height: 202.697px; object-fit: cover; }
.thanks__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.thanks__text h1 { font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--c-sub-body); text-transform: uppercase; }
.thanks__text p { margin-top: -20px; font-size: 16px; line-height: 1.4; color: var(--c-text-2); }
.thanks .btn-green { padding: 14px 50px; min-width: 260px; font-size: 14px; font-weight: 700; line-height: 1.4; }

/* =========================================================
   LIÊN HỆ (Desktop - 26)
   ========================================================= */
.contact-page { position: relative; z-index: 1; margin-top: -49px; padding-bottom: 47px; }
.contact-card {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--c-border-blue);
  border-radius: 20px;
  background: var(--c-white);
  box-shadow: var(--shadow-drop);
}
.contact-card__info { flex: none; width: 500px; display: flex; flex-direction: column; gap: 30px; padding: 30px; background: var(--c-bg-soft); }
.contact-card__info .section-title { font-size: 32px; line-height: 1.7; white-space: nowrap; }
.contact-card__info > p { font-size: 16px; line-height: 1.4; color: var(--c-sub-body); text-align: justify; }
.cinfo { display: flex; flex-direction: column; gap: 20px; }
.cinfo li { display: flex; align-items: center; gap: 10px; }
.cinfo__icon { flex: none; display: flex; padding: 10px; border-radius: 10px; background: rgba(20, 146, 71, .1); }
.cinfo__icon img { width: 30px; height: 30px; }
.cinfo div { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.4; }
.cinfo b { letter-spacing: .8px; text-transform: uppercase; color: var(--c-sub-body); }
.cinfo span { color: var(--c-text-2); }
.contact-card__connect { display: flex; flex-direction: column; gap: 20px; }
.contact-card__connect p { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--c-sub-body); }
.contact-card__form { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 30px; padding: 40px; }
.contact-card__form > h2 { font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: .8px; text-transform: uppercase; color: var(--c-sub-body); }
.contact-card__form textarea { height: 179px; }
.map { display: block; height: 828px; }
.map img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   GIỚI THIỆU (Desktop - 25)
   ========================================================= */
.story { display: flex; align-items: flex-start; gap: 30px; padding-top: 80px; padding-bottom: 80px; }
.story__text { flex: none; width: 585px; display: flex; flex-direction: column; gap: 30px; }
.story__text > div { display: flex; flex-direction: column; gap: 22.4px; font-size: 16px; line-height: 1.4; color: var(--c-sub-body); text-align: justify; }
.story__media { position: relative; flex: 1 1 0; min-width: 0; height: 505px; }
.story__media img { position: absolute; object-fit: cover; border-radius: 20px; }
.story__media img:first-child { right: 0; top: 0; width: 409px; height: 310px; }
.story__media img:last-child { left: 0; top: 195.23px; width: 467.66px; height: 309.767px; box-shadow: 0 10px 30px rgba(35, 36, 87, .12); }

.values2 { display: flex; flex-direction: column; gap: 50px; padding-top: 80px; padding-bottom: 80px; background: var(--c-bg-soft); }
.values2__rows { display: flex; flex-direction: column; gap: 30px; }
.vrow { display: flex; align-items: center; gap: 30px; }
.vrow__img { flex: 1 1 0; min-width: 0; height: 300px; object-fit: cover; border-radius: 20px; }
.vrow--stretch { align-items: stretch; }
.vrow--stretch .vrow__img { height: auto; }
.vrow__text { flex: none; width: 585px; display: flex; flex-direction: column; gap: 30px; }
.vrow__text h3 { font-size: 32px; font-weight: 700; line-height: 1.7; color: var(--c-text); text-transform: uppercase; margin: -8px 0; }
.vrow__text p { font-size: 16px; line-height: 1.4; color: var(--c-sub-body); text-align: justify; }
.core { display: flex; flex-wrap: wrap; gap: 30px; }
.core li { width: 175px; display: flex; flex-direction: column; align-items: center; gap: 20px; font-size: 16px; line-height: 1.4; color: var(--c-sub-body); text-align: center; }
.core li::before { content: ""; width: 50px; height: 50px; border-radius: 10px; background: rgba(20, 146, 71, .1); }
.core b { display: block; }

.team { display: flex; flex-direction: column; gap: 50px; padding-top: 80px; padding-bottom: 80px; overflow: hidden; }
.team__track {
  display: flex;
  gap: 40px;
  margin: 0 calc(-1 * max(var(--gutter), calc((100vw - var(--container)) / 2)));
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.team__track::-webkit-scrollbar { display: none; }
.team__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.member { flex: none; width: 410px; display: flex; flex-direction: column; gap: 30px; scroll-snap-align: start; }
.member img { width: 410px; height: 450px; object-fit: cover; border-radius: 20px; pointer-events: none; }
.member b { display: block; font-size: 20px; line-height: 1.4; color: var(--c-sub-body); text-transform: uppercase; }
.member span { font-size: 16px; line-height: 1.7; color: var(--c-text-2); }

/* =========================================================
   BLOG (Desktop - 29) + hover (Frame 69)
   ========================================================= */
.blog { display: flex; flex-direction: column; align-items: flex-end; gap: 30px; padding-top: 80px; padding-bottom: 80px; }
.blog > h2 { width: 100%; font-size: 36px; font-weight: 700; line-height: 1.6; color: var(--c-sub-body); text-align: center; text-transform: uppercase; }
.date-filter { position: relative; width: 216px; }
.date-filter input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-sub-body);
  background: var(--c-white);
}
.date-filter input::-webkit-calendar-picker-indicator { position: absolute; right: 10px; width: 20px; height: 20px; opacity: 0; cursor: pointer; }
.date-filter img { position: absolute; right: 10px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; }
.blog__top { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.blog__grid { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.bcard {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: -16px;
  padding: 16px;
  border-radius: 20px;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.bcard__img { display: block; height: 372px; border-radius: 20px; overflow: hidden; }
.blog__grid .bcard__img { height: 224px; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.bcard__body { display: flex; flex-direction: column; gap: 15px; }
.bcard__title { font-size: 20px; font-weight: 700; line-height: 1.8; color: var(--c-text); }
.bcard__desc { font-size: 16px; line-height: 1.4; color: var(--c-text); }
.bcard__more { align-self: flex-end; font-size: 16px; line-height: 1.4; color: var(--c-green); }
.bcard__more:hover { text-decoration: underline; }
.bcard { transition: transform .5s cubic-bezier(.22, .61, .36, 1), background-color .3s ease, box-shadow .3s ease; }
.bcard__img img { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.bcard:hover { transform: scale(1.03); background: var(--c-white); box-shadow: 0 10px 28px rgba(35, 36, 87, .14); z-index: 1; position: relative; }
.bcard:hover .bcard__img img { transform: scale(1.06); }

/* =========================================================
   RESPONSIVE (inner pages & overlays)
   ========================================================= */
@media (max-width: 1439px) {
  .plan { gap: 60px; }
  .plan--hot.plan--tall { gap: 60px; }
  .search-overlay__close { left: auto; right: -120px; }
}

@media (max-width: 1279px) {
  .mega { display: none; }
  .drawer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; width: 100%; }
  .drawer__nav a { padding: 6px 4px; font-size: 18px; font-weight: 600; color: var(--c-primary); }
  .drawer__nav a:hover { color: var(--c-green); }
  .search-overlay__close { position: fixed; top: calc(var(--header-h) + 8px); right: 8px; left: auto; }

  .story { flex-direction: column; }
  .story__text { width: 100%; }
  .story__media { width: 100%; flex: none; }
  .vrow, .vrow--stretch { flex-direction: column; align-items: stretch; }
  .vrow:nth-child(2) { flex-direction: column-reverse; }
  .vrow__text { width: 100%; }
  .vrow__img, .vrow--stretch .vrow__img { flex: none; height: 300px; }
  .contact-card { flex-direction: column; }
  .contact-card__info { width: 100%; }
  .plan { flex-direction: column; gap: 24px; }
  .plan--hot.plan--tall { gap: 24px; }
  .plan__side { width: 100%; }
  .plan--extra .plan__row { flex-direction: column; gap: 20px; }
  .plans--row { flex-direction: column; }
  .pmeta { flex-wrap: wrap; gap: 20px 40px; }
  .pmeta .btn-3d { flex: 1 1 100%; }
  .sticky-info .pmeta .pmeta__item:nth-child(2) { display: none; }
  .sticky-info .btn-3d { flex: none; }
  .lead-modal__media { width: 420px; }
}

@media (max-width: 991px) {
  :root { --header-h: 90px; }
  .drawer__panel { padding: 64px 32px 32px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { height: auto; min-height: 560px; padding: 20px; }
  .featured__body { flex-direction: column; height: auto; }
  .featured__thumb { display: none; }
  .featured__info { padding-top: 0; gap: 24px; }
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; grid-template-rows: none; column-gap: 16px; }
  .radio-cards, .upload-row { flex-direction: column; }
  .guide__row { flex-direction: column; gap: 16px; }
  .guide__row li { white-space: normal; }
  .brief-head > span { display: none; }
  .lead-modal__inner { gap: 24px; padding: 24px; }
  .lead-modal__media { position: absolute; top: 12px; right: 12px; width: auto; min-height: 0; overflow: visible; }
  .lead-modal__media > img { display: none; }
  .lead-modal__close { position: static; padding: 8px; background: var(--c-bg-soft); }
  .lead-modal__close img { width: 32px; height: 32px; }
  .lead-modal__form { padding-right: 40px; }
  .thanks__box { flex-direction: column; text-align: center; }
  .thanks__text { align-items: center; }
  .gallery-h { height: auto; }
  .pgallery img { height: auto; aspect-ratio: 1200 / 643; }
  .map { height: 480px; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .page-banner { min-height: 180px; }
  .page-banner h1 { font-size: 26px; line-height: 1.4; }
  .page-section, .brief, .blog, .story, .values2, .team { padding-top: 56px; padding-bottom: 56px; }
  .pill-tabs { border-radius: 20px; }
  .svc-grid, .blog__grid, .blog__top { grid-template-columns: minmax(0, 1fr); }
  .bcard__img, .blog__grid .bcard__img { height: auto; aspect-ratio: 585 / 372; }
  .blog { align-items: stretch; }
  .date-filter { align-self: flex-end; }
  .blog > h2 { font-size: 26px; }
  .drawer__panel { left: 12px; top: 12px; max-width: calc(100vw - 24px); max-height: calc(100% - 24px); gap: 20px; }
  .drawer__logo { width: 200px; height: auto; }
  .drawer__intro { font-size: 16px; }
  .drawer__contact { font-size: 16px; }
  .drawer__office-title { font-size: 18px; }
  .search-overlay__inner { top: calc(var(--header-h) + 72px); }
  .search-overlay__form input { font-size: 18px; }
  .search-overlay__close { top: calc(var(--header-h) + 4px); padding: 8px; }
  .search-overlay__close img { width: 40px; height: 40px; }
  .cwidget { right: 8px; bottom: 16px; }
  .cwidget__toggle .cwidget__astro { display: none; }
  .to-top { right: 12px; bottom: 76px; padding: 10px; }
  .to-top img { width: 24px; height: 24px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-form { padding: 16px; }
  .brief-head h2, .guide__head h2 { font-size: 20px; white-space: normal; }
  .brief-head__title, .guide__head h2 { flex: 1 1 auto; min-width: 0; }
  .brief-head__title { align-items: flex-start; }
  .guide__head span { display: none; }
  .upload { padding: 24px; }
  .story__media { height: auto; display: flex; flex-direction: column; gap: 16px; }
  .story__media img { position: static; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; }
  .vrow__text h3 { font-size: 24px; }
  .member { width: 280px; }
  .member img { width: 280px; height: 308px; }
  .contact-page { margin-top: -30px; }
  .contact-card__info, .contact-card__form { padding: 20px; }
  .contact-card__info .section-title { font-size: 24px; white-space: normal; }
  .plan__name b { font-size: 28px; }
  .plan__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plan__title-36 { font-size: 28px; }
  .thanks { padding-top: 64px; padding-bottom: 80px; }
  .thanks .btn-green { min-width: 0; }
  .sticky-info { padding: 4px 16px; bottom: 12px; }
  .sticky-info .pmeta__item { display: none; }
  .sticky-info .btn-3d { flex: 1 1 100%; }
  .project__detail, .project__3d { min-width: 180px; padding: 8px 20px; }
  .lead-modal__form { padding-right: 48px; }
  .featured__foot { flex-wrap: wrap; }
  .featured__count { order: 3; flex: 1 1 100%; }
}

/* =========================================================
   Sliding tab indicator
   ========================================================= */
.has-indicator { position: relative; isolation: isolate; }
.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: var(--pill);
  background: var(--c-primary);
  pointer-events: none;
  transition: transform .45s cubic-bezier(.34, 1.25, .64, 1), width .45s cubic-bezier(.34, 1.25, .64, 1), height .3s ease, opacity .2s ease;
}
.tab-indicator.no-anim { transition: none; }
.has-indicator > button { position: relative; transition: color .3s ease; }
.has-indicator > button.is-active { background: transparent; }
@media (prefers-reduced-motion: reduce) {
  .tab-indicator, .has-indicator > button { transition: none; }
}
