﻿/* Synced from docs/index.html — layout + components. Tokens: design-tokens.css */

* {
  box-sizing: border-box;
}
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: 'Inter', system-ui, sans-serif;
      color: var(--text);
      background: #e9e9e9;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }

    .page {
      width: min(1600px, 100%);
      margin: 0 auto;
      background: white;
      box-shadow: 0 0 0 1px rgba(0,0,0,.05);
    }

    .full-bleed {
      width: 100%;
      padding-inline: clamp(10px, 1.3vw, 18px);
    }
    .section-inner {
      width: 100%;
      max-width: 1440px;
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: white;
    }
    .header-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      align-items: stretch;
      min-height: 88px;
    }
    .header-brand {
      background: var(--orange);
      color: white;
      display: flex;
      align-items: center;
      gap: clamp(12px, 1.6vw, 20px);
      padding: 12px 24px;
      min-width: 0;
    }
    .brand-logo {
      width: 118px;
      min-width: 118px;
      height: 58px;
      object-fit: contain;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,.18));
    }
    .brand-title {
      font-weight: 800;
      font-size: clamp(20px, 2vw, 38px);
      line-height: 1.1;
      text-transform: uppercase;
      letter-spacing: .02em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .header-tile {
      width: clamp(94px, 10vw, 148px);
      display: grid;
      place-items: center;
      color: white;
      font-size: clamp(18px, 2vw, 30px);
      font-weight: 800;
    }
    .tile-phone { background: var(--yellow); }
    .tile-fb { background: var(--blue); }
    .header-icon {
      width: clamp(28px, 2.7vw, 42px);
      height: clamp(28px, 2.7vw, 42px);
      border-radius: 50%;
      display: grid;
      place-items: center;
    }

    .hero {
      position: relative;
      background: #f7f7f7;
    }
    .hero-media {
      position: relative;
      /* Chiều cao thực do min-height (+25% để lộ thêm phần dưới ảnh). */
      min-height: clamp(250px, 27.5vw, 450px);
      overflow: hidden;
      background: #dcd8d6;
    }
    /* Ảnh trong flow khiến khối cao theo intrinsic ratio → min-height gần như vô hiệu */
    .hero-media .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 40%;
    }
    .hero-cta {
      position: absolute;
      top: clamp(16px, 2vw, 28px);
      right: clamp(18px, 2.2vw, 36px);
      z-index: 3;
    }
    .bubble-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 10px 24px 10px 12px;
      min-height: 62px;
      border-radius: 999px;
      background: linear-gradient(180deg, #ffb600 0%, #f4a500 100%);
      color: white;
      font-weight: 800;
      font-size: clamp(18px, 1.4vw, 28px);
      line-height: 1;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
      white-space: nowrap;
    }
    .bubble-btn .icon {
      width: 46px;
      height: 46px;
      min-width: 46px;
      border-radius: 50%;
      background: white;
      color: var(--orange);
      display: grid;
      place-items: center;
      box-shadow: inset 0 0 0 4px rgba(255, 122, 0, 0.12);
    }
    .bubble-btn svg {
      width: 23px;
      height: 23px;
      display: block;
    }

    .hero-title-band {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
      padding: clamp(18px, 2vw, 28px) clamp(24px, 7vw, 170px) clamp(20px, 2vw, 28px);
      background: linear-gradient(90deg, rgba(51, 29, 255, 0.92) 0%, rgba(33, 202, 235, 0.88) 100%);
      color: white;
    }
    .hero-title-band h1 {
      margin: 0;
      font-size: clamp(28px, 2.6vw, 54px);
      line-height: 1.15;
      font-weight: 800;
      text-transform: uppercase;
      max-width: 980px;
    }
    .hero-sub {
      background: #efefef;
      padding: 22px clamp(24px, 7vw, 170px) 24px;
      font-size: clamp(22px, 1.65vw, 30px);
      line-height: 1.45;
      font-weight: 500;
      color: #4b4b4b;
    }
    .hero-sub strong {
      color: #2b2bf5;
      font-weight: 800;
    }

    .risk {
      background: linear-gradient(180deg, #f5cfd2 0%, #eee8e9 100%);
      padding-block: clamp(24px, 3vw, 46px) clamp(34px, 3vw, 54px);
      border-top: 2px solid rgba(0,0,0,0.06);
      border-bottom: 2px solid rgba(0,0,0,0.06);
    }
    .pill-title {
      display: inline-flex;
      align-items: center;
      border-radius: 14px;
      padding: 14px 24px;
      background: var(--orange);
      color: white;
      font-weight: 800;
      font-size: clamp(18px, 1.3vw, 28px);
      box-shadow: var(--shadow-soft);
      margin-bottom: 20px;
    }
    .risk-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: clamp(12px, 1.2vw, 20px);
    }
    .risk-card {
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 8px 18px rgba(56, 52, 90, 0.18);
      padding: 18px 14px 16px;
      min-height: 174px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .risk-card .risk-icon {
      font-size: 38px;
      line-height: 1;
      margin-bottom: 12px;
    }
    .risk-card p {
      margin: 0;
      font-size: clamp(14px, 1vw, 19px);
      line-height: 1.35;
      font-weight: 700;
      color: #ff2d1e;
    }

    .promo {
      background: #ecf3f2;
      padding-block: clamp(36px, 3.5vw, 52px) clamp(40px, 4vw, 60px);
    }
    .promo-box {
      position: relative;
      background: linear-gradient(90deg, #f3d7ca 0%, #efe1ab 100%);
      border-radius: 22px;
      box-shadow: var(--shadow-soft);
      padding: 38px 34px 46px;
      overflow: visible;
    }
    .promo .badge {
      display: inline-flex;
      align-items: center;
      background: linear-gradient(90deg, var(--orange) 0%, var(--yellow) 100%);
      color: white;
      font-size: clamp(18px, 1.1vw, 24px);
      font-weight: 800;
      border-radius: 18px;
      padding: 10px 18px;
      box-shadow: var(--shadow-soft);
      position: absolute;
      top: -18px;
      left: 28px;
      z-index: 2;
    }
    .promo-headline {
      display: flex;
      flex-wrap: nowrap;
      align-items: baseline;
      gap: 6px 8px;
      font-size: clamp(14px, 1.6vw, 30px);
      line-height: 1.08;
      font-weight: 800;
      white-space: nowrap;
    }
    .promo-headline .blue {
      color: #2437f0;
    }
    .promo-headline .red {
      color: #ff240d;
    }
    .promo-headline .promo-offer-line {
      display: inline-flex;
      align-items: baseline;
      gap: 0.15em;
      white-space: nowrap;
    }
    .promo-headline .promo-num {
      font-size: 2em;
      line-height: 0.9;
      font-weight: 800;
    }
    .promo-headline .promo-rest {
      font-size: 1em;
      line-height: 1.05;
    }
    .promo-price {
      margin-top: 10px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: clamp(18px, 1.1vw, 24px);
      color: #4c4c4c;
      font-weight: 500;
    }
    .promo-price strong {
      color: var(--orange-deep);
      font-size: clamp(28px, 2vw, 42px);
      text-decoration: line-through;
      font-weight: 800;
    }
    .promo-cta {
      position: absolute;
      right: clamp(18px, 2.5vw, 34px);
      left: auto;
      bottom: -26px;
    }

    .solution {
      background: linear-gradient(180deg, #a9e1eb 0%, #b4addf 100%);
      padding-block: clamp(22px, 2.5vw, 38px) clamp(58px, 6vw, 82px);
    }
    .section-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      padding: 12px 36px;
      min-width: 320px;
      max-width: 100%;
      background: linear-gradient(90deg, #2318ff 0%, #22c7ea 100%);
      color: white;
      font-weight: 800;
      text-transform: uppercase;
      box-shadow: var(--shadow-soft);
      font-size: clamp(18px, 1.2vw, 27px);
      margin-bottom: 18px;
    }
    .solution-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(16px, 1.3vw, 28px);
      align-items: stretch;
    }
    .solution-card {
      position: relative;
      background: #dfe2fbcc;
      backdrop-filter: blur(3px);
      border-radius: 30px;
      padding: 22px 24px 56px;
      box-shadow: 0 10px 22px rgba(75, 77, 122, 0.18);
    }
    .solution-card .card-tag {
      position: absolute;
      top: -14px;
      left: 16px;
      background: linear-gradient(90deg, #18b9e7 0%, #2d51ff 100%);
      color: white;
      font-size: clamp(16px, 1vw, 20px);
      font-weight: 800;
      padding: 6px 14px;
      border-radius: 999px;
      text-transform: uppercase;
      box-shadow: var(--shadow-soft);
    }
    .solution-card ul {
      margin: 14px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 12px;
      font-size: clamp(18px, 1.12vw, 24px);
      line-height: 1.4;
    }
    .solution-card li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      min-width: 0;
    }
    .solution-card li .solution-check-icon {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      object-fit: contain;
      display: block;
      margin-top: 0.2em;
    }
    .solution-card.cta-host .bubble-anchor {
      position: absolute;
      right: 22px;
      bottom: -26px;
    }

    .doctor {
      background: #f5f5f5;
      padding-block: clamp(22px, 2.8vw, 40px) clamp(24px, 3vw, 44px);
      border-top: 1px solid rgba(0,0,0,0.06);
      border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .doctor-card {
      background: var(--orange);
      color: white;
      border-radius: 30px;
      box-shadow: var(--shadow);
      padding: clamp(20px, 2vw, 30px);
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(320px, .95fr);
      gap: 18px;
      align-items: center;
      position: relative;
    }
    .doctor-copy small {
      display: block;
      font-size: clamp(18px, 1.1vw, 24px);
      line-height: 1.3;
      margin-bottom: 14px;
    }
    .doctor-copy h2 {
      margin: 0 0 18px;
      font-size: clamp(34px, 2.4vw, 54px);
      line-height: 1.08;
      font-weight: 800;
    }
    .doctor-copy p {
      margin: 0;
      font-size: clamp(18px, 1.05vw, 22px);
      line-height: 1.6;
      max-width: 760px;
    }
    .doctor-photo {
      background: linear-gradient(180deg, #ffbf00 0%, #f3b000 100%);
      border-radius: 26px;
      padding: 10px;
      box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
    }
    .doctor-photo img {
      width: 100%;
      height: auto;
      border-radius: 20px;
      object-fit: cover;
      aspect-ratio: 1.54 / 1;
    }

    .process {
      background: #f3f3f3;
      padding-block: clamp(24px, 2.8vw, 40px) clamp(24px, 2.8vw, 46px);
    }
    .process-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: clamp(10px, 1vw, 16px);
      margin-top: 22px;
      text-align: center;
    }
    .step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
    .step-badge {
      width: clamp(62px, 5.4vw, 88px);
      height: clamp(62px, 5.4vw, 88px);
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: white;
      font-weight: 800;
      font-size: clamp(28px, 2vw, 40px);
    }
    .step:nth-child(1) .step-badge { background: #2017ff; }
    .step:nth-child(2) .step-badge { background: #1fc2e2; }
    .step:nth-child(3) .step-badge { background: #6793ff; }
    .step:nth-child(4) .step-badge { background: #22d8aa; }
    .step:nth-child(5) .step-badge { background: #44ce31; }
    .step-label {
      font-size: clamp(18px, 1.2vw, 28px);
      font-weight: 800;
      line-height: 1.25;
    }
    .step:nth-child(1) .step-label { color: #2418ff; }
    .step:nth-child(2) .step-label { color: #1fc2e2; }
    .step:nth-child(3) .step-label { color: #6793ff; }
    .step:nth-child(4) .step-label { color: #22d8aa; }
    .step:nth-child(5) .step-label { color: #44ce31; }

    /* FAQ — khớp mockup faq-expanded-state: nền gradient xanh nhạt, pill trắng + bóng xanh, pill xanh dương + chữ trắng */
    .faq {
      background: linear-gradient(180deg, #e8f4fc 0%, #f2f7ff 38%, #ffffff 100%);
      padding-block: clamp(18px, 2vw, 30px) clamp(26px, 3vw, 44px);
    }
    .faq h2 {
      margin: 0 0 16px;
      color: #2231b7;
      font-size: clamp(28px, 2vw, 46px);
      font-weight: 800;
    }
    .faq-list {
      display: grid;
      gap: clamp(14px, 2vw, 22px);
    }
    .faq-item {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      width: 100%;
      min-width: 0;
      background: transparent;
      border: none;
      box-shadow: none;
      overflow: visible;
      list-style: none;
    }
    .faq-item summary {
      list-style: none;
    }
    .faq-summary {
      width: 100%;
      box-sizing: border-box;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 18px 28px;
      font-size: clamp(19px, 1.22vw, 28px);
      font-weight: 700;
      color: #1a1a1a;
      background: #ffffff;
      border-radius: 999px;
      box-shadow: 0 4px 14px rgba(65, 55, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.95);
      transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .faq-item[open] .faq-summary {
      box-shadow: 0 6px 20px rgba(59, 130, 246, 0.22);
      border-color: rgba(200, 215, 255, 0.85);
    }
    .faq-summary__text {
      text-align: left;
      min-width: 0;
    }
    .faq-summary::-webkit-details-marker,
    .faq-summary::marker {
      display: none;
    }
    .faq-item .chev,
    .faq-summary__chev {
      width: 16px;
      height: 16px;
      border-right: 2px solid #333;
      border-bottom: 2px solid #333;
      transform: rotate(45deg);
      transition: transform 0.25s ease;
      flex: none;
      margin-right: 6px;
    }
    .faq-item[open] .chev,
    .faq-item[open] .faq-summary__chev {
      transform: rotate(-135deg);
      margin-top: 8px;
    }
    .faq-answer {
      width: 100%;
      max-width: none;
      box-sizing: border-box;
      margin-top: 12px;
      padding: 18px 28px 22px;
      font-size: clamp(16px, 1vw, 21px);
      line-height: 1.55;
      text-align: left;
      color: #ffffff;
      background: #3358ff;
      border-radius: 999px;
      box-shadow: 0 4px 16px rgba(51, 88, 255, 0.35);
    }

    .footer {
      background: #07144f;
      color: white;
      padding-block: clamp(28px, 3vw, 42px) 18px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1.3fr .8fr;
      gap: 24px;
      align-items: start;
    }
    .footer-brand {
      display: grid;
      gap: 14px;
    }
    .footer-logo {
      width: 132px;
      height: auto;
    }
    .footer-title {
      color: var(--orange);
      font-size: clamp(24px, 1.35vw, 32px);
      font-weight: 800;
      text-transform: uppercase;
    }
    .footer-list {
      display: grid;
      gap: 10px;
      font-size: clamp(18px, 1.05vw, 22px);
      line-height: 1.5;
    }
    .footer-side {
      display: flex;
      flex-direction: column;
      gap: 16px;
      justify-content: flex-start;
      align-items: flex-start;
    }
    .footer-cta {
      /* left-aligned, no override needed */
    }
    .socials {
      display: flex;
      gap: 16px;
      align-items: center;
      font-size: 18px;
      margin-top: 6px;
    }
    .social-circle {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,.14);
      font-weight: 700;
    }
    .copyright {
      border-top: 1px solid rgba(255,255,255,.15);
      margin-top: 24px;
      padding-top: 14px;
      text-align: center;
      font-size: 15px;
      color: rgba(255,255,255,.72);
    }

    .sticky-fab {
      position: fixed;
      right: 14px;
      bottom: 14px;
      z-index: 40;
      opacity: 0;
      transform: translateY(18px);
      pointer-events: none;
      transition: opacity .25s ease, transform .25s ease;
    }
    .sticky-fab.is-visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    @media (max-width: 1180px) {
      .risk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .process-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
      .doctor-card { grid-template-columns: 1fr 380px; }
      .promo-cta { right: 20px; }
    }

    @media (max-width: 900px) {
      .header-row {
        grid-template-columns: minmax(0, 1fr) 84px 84px;
        min-height: 72px;
      }
      /* Tránh clamp(94px…) rộng hơn cột grid → lệch / tràn trên mobile */
      .header-tile {
        width: 100%;
        min-width: 0;
        max-width: none;
      }
      .brand-logo {
        width: 82px;
        min-width: 82px;
        height: 42px;
      }
      .brand-title {
        font-size: 18px;
        white-space: normal;
      }
      .hero-media { min-height: 225px; }
      .hero-title-band {
        bottom: 0;
        padding-inline: 22px;
      }
      .hero-sub {
        padding-inline: 22px;
        font-size: 18px;
      }
      .solution-grid,
      .doctor-card,
      .footer-top {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 680px) {
      .page { box-shadow: none; }
      .full-bleed { padding-inline: 8px; }
      .header-row {
        grid-template-columns: minmax(0, 1fr) 66px 66px;
        min-height: 58px;
      }
      .header-tile {
        width: 100%;
        min-width: 0;
        font-size: clamp(14px, 4.5vw, 18px);
      }
      .header-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
      }
      .header-brand { padding: 8px 10px; gap: 8px; }
      .brand-logo {
        width: 56px; min-width: 56px; height: 26px;
      }
      .brand-title {
        font-size: 12px;
        line-height: 1.1;
      }
      .hero-media {
        min-height: 175px;
      }
      .hero-cta {
        top: 10px; right: 10px;
      }
      .bubble-btn {
        min-height: 38px;
        padding: 6px 12px 6px 6px;
        gap: 6px;
        font-size: 11px;
      }
      .bubble-btn .icon {
        width: 26px; height: 26px; min-width: 26px;
      }
      .bubble-btn svg {
        width: 13px; height: 13px;
      }
      .hero-title-band {
        bottom: 0;
        padding: 12px 14px;
      }
      .hero-title-band h1 {
        font-size: 20px;
        line-height: 1.18;
      }
      .hero-sub {
        padding: 12px 14px 16px;
        font-size: 12px;
        line-height: 1.5;
      }
      .pill-title,
      .section-chip {
        min-width: 0;
        width: auto;
        max-width: 100%;
        font-size: 13px;
        padding: 8px 12px;
        border-radius: 12px;
      }
      .risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }
      .risk-card {
        min-height: 122px;
        border-radius: 18px;
        padding: 12px 8px;
      }
      .risk-card .risk-icon { font-size: 24px; margin-bottom: 8px; }
      .risk-card p { font-size: 11px; }
      .promo .badge {
        top: -14px;
        left: 12px;
        right: auto;
        font-size: 12px;
        padding: 7px 12px;
        border-radius: 12px;
      }
      .promo-box {
        padding: 18px 14px 38px;
        border-radius: 16px;
      }
      .promo-headline {
        font-size: 13px;
        line-height: 1.8;
        gap: 10px 12px;
        flex-wrap: wrap;
        white-space: normal;
      }
      .promo-headline .promo-offer-line {
        gap: 0.12em;
        white-space: normal;
        flex-wrap: wrap;
      }
      .promo-headline .promo-num {
        font-size: 1.6em;
      }
      .promo-price {
        margin-top: 8px;
        font-size: 11px;
      }
      .promo-price strong {
        font-size: 16px;
      }
      .promo-cta {
        right: 10px;
        bottom: -16px;
      }
      .solution-card {
        border-radius: 18px;
        padding: 16px 14px 38px;
      }
      .solution-card .card-tag {
        top: -10px;
        left: 10px;
        font-size: 12px;
        padding: 4px 10px;
      }
      .solution-card ul {
        gap: 8px;
        font-size: 12px;
      }
      .solution-card li {
        gap: 8px;
      }
      .solution-card li .solution-check-icon {
        width: 22px;
        height: 22px;
        margin-top: 0.15em;
      }
      .solution-card.cta-host .bubble-anchor {
        right: 10px;
        bottom: -16px;
      }
      .doctor-card {
        border-radius: 18px;
        padding: 16px 14px;
      }
      .doctor-copy small {
        font-size: 13px;
        margin-bottom: 10px;
      }
      .doctor-copy h2 {
        font-size: 18px;
        margin-bottom: 10px;
      }
      .doctor-copy p {
        font-size: 11px;
        line-height: 1.6;
      }
      .doctor-photo {
        border-radius: 16px;
        padding: 7px;
      }
      .doctor-photo img {
        border-radius: 12px;
      }
      .process-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
      }
      .step-badge {
        width: 42px; height: 42px;
        font-size: 18px;
      }
      .step-label {
        font-size: 11px;
      }
      .faq h2 {
        font-size: 18px;
        margin-bottom: 10px;
      }
      .faq-list {
        gap: 10px;
      }
      .faq-summary {
        padding: 12px 14px;
        font-size: 11px;
        gap: 10px;
      }
      .faq-answer {
        margin-top: 8px;
        padding: 12px 16px 14px;
        font-size: 11px;
        border-radius: 28px;
      }
      .footer-top {
        gap: 18px;
      }
      .footer-logo {
        width: 94px;
      }
      .footer-title {
        font-size: 14px;
      }
      .footer-list {
        font-size: 11px;
      }
      .social-circle {
        width: 26px; height: 26px; font-size: 12px;
      }
      .copyright {
        font-size: 11px;
      }
    }
  
