/* Màu sắc, chữ, bố cục và các thành phần của website. */

/* Phông serif có đủ dấu tiếng Việt; nằm trong dự án để không phụ thuộc máy khách. */
@font-face {
  font-family: 'Chuyen Xanh Serif';
  src: url('../fonts/lmroman10-italic.otf') format('opentype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #163a32;
  --dark: #0b3c31;
  --green: #12604b;
  --lime: #dcf36a;
  --cream: #f6f6ed;
  --muted: #677d73;
  --line: #dfe8df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Be Vietnam Pro',sans-serif;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline: 3px solid #a1c844;
  outline-offset: 3px;
}

.wrap {
  max-width: 1240px;
  padding: 0 28px;
  margin: auto;
}

.top {
  background: var(--dark);
  color: #d1e5db;
  font-size: 11px;
  letter-spacing: .06em;
}

.top .wrap {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top strong {
  color: var(--lime);
}

header {
  background: #fff;
  position: relative;
  z-index: 10;
}

.nav {
  height: 83px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  font-family: Manrope,sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -1.2px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.mark {
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--lime);
  border-radius: 50%;
  width: 39px;
  height: 39px;
  font-size: 22px;
}

.navlinks {
  display: flex;
  gap: 30px;
  margin-left: auto;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.navlinks a {
  position: relative;
}

.navlinks a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: #81ae83;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.navlinks a:hover,
.navlinks a:focus-visible {
  color: #438365;
}

.navlinks a:hover::after,
.navlinks a:focus-visible::after {
  transform: scaleX(1);
}

.navbutton,.primary {
  background: var(--dark);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 13px;
}

.navbutton span,.primary span {
  color: var(--lime);
  margin-left: 12px;
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  color: var(--dark);
}

/* Ảnh và nội dung mở đầu */
.hero {
  background: #eaf0e6;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 505px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 79px 0 105px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4e7766;
}

.eyebrow:before {
  content: '';
  height: 7px;
  width: 7px;
  background: #b2d84a;
  border-radius: 50%;
}

h1 {
  font-size: clamp(43px,5vw,66px);
  line-height: 1.13;
  letter-spacing: -3px;
  margin: 22px 0;
  font-weight: 700;
}

h1 em {
  font-family: 'Chuyen Xanh Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -.02em;
  font-kerning: normal;
  color: #568a69;
}

.hero-copy p {
  max-width: 475px;
  color: #536c60;
  font-size: 15px;
  line-height: 1.9;
}

.hero-pills {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 700;
}

.hero-pills span:before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: #d9eacb;
  border-radius: 50%;
  margin-right: 7px;
  color: #346343;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg,#eaf0e6 0%,#eaf0e6 10%,transparent 37%),url('../images/xe-vinfast-minh-hoa.png') center/cover no-repeat;
}

.photo-tag {
  position: absolute;
  right: 5%;
  bottom: 70px;
  background: #ffffffdc;
  padding: 14px 19px;
  border-radius: 9px;
  font-size: 11px;
  box-shadow: 0 15px 35px #183c2618;
}

.photo-tag strong {
  display: block;
  font-size: 13px;
}

/* Khu vực liên hệ, nổi bật ở đầu trang */
.contact-wrap {
  position: relative;
  z-index: 4;
  margin-top: -55px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 32px 38px;
  background: #0b3c31;
  color: #fff;
  border: 1px solid #245b4c;
  border-radius: 17px;
  box-shadow: 0 20px 50px #163a3230;
}

.contact-copy { max-width: 550px; }

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c7df9b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.contact-kicker span { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }

.contact-copy h2 {
  margin: 7px 0 6px;
  font-size: clamp(28px,3.4vw,43px);
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.contact-copy h2 em { color: var(--lime); font-family: 'Chuyen Xanh Serif', Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.contact-copy p { margin: 0; max-width: 490px; color: #c6ded1; font-size: 13px; line-height: 1.7; }

.call-button {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 355px;
  padding: 17px 19px;
  border: 2px solid #e9fb9d;
  border-radius: 11px;
  background: var(--lime);
  color: #123e30;
  box-shadow: 0 8px 24px #031e1740;
  transition: transform .2s, background .2s;
}

.call-button:hover { transform: translateY(-2px); background: #e7fa8d; }
.call-icon { display: grid; place-items: center; flex: 0 0 49px; height: 49px; border-radius: 50%; background: #123e30; color: #e6f9ad; font-size: 25px; }
.call-button-copy { display: flex; flex: 1; flex-direction: column; line-height: 1.45; }
.call-button-copy strong { font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.call-button-copy small { font-size: 19px; line-height: 1.2; font-weight: 800; letter-spacing: .02em; color: #123e30; }
.call-arrow { font-size: 24px; font-weight: 700; transition: transform .2s ease; }
.call-button:hover .call-arrow,
.call-button:focus-visible .call-arrow { transform: translate(3px, -3px); }

/* Nội dung và các dịch vụ */
.section {
  padding: 105px 0;
}

.section-kicker {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #688674;
  font-weight: 800;
}

.section h2 {
  font-size: clamp(30px,3.2vw,44px);
  letter-spacing: -1.8px;
  line-height: 1.24;
  margin: 12px 0 14px;
}

.section h2 em {
  font-family: 'Chuyen Xanh Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -.01em;
  color: #64916f;
}

.section-lead {
  color: #75887e;
  font-size: 13px;
  max-width: 520px;
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 34px;
}

.services-head .section-lead {
  margin-bottom: 4px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.card {
  border: 1px solid #e4ebe3;
  border-radius: 12px;
  padding: 30px;
  background: #fff;
  transition: .2s;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px #163a320e;
}

.card:first-child {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #e8f0e4;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.card:first-child .icon {
  background: #ffffff20;
}

.card-num {
  float: right;
  color: #a3b8a8;
  font-family: Manrope;
  font-size: 11px;
}

.card h3 {
  font-size: 19px;
  margin: 33px 0 10px;
  letter-spacing: -.4px;
}

.card p {
  font-size: 12px;
  color: #7a8f82;
  min-height: 58px;
}

.card:first-child p {
  color: #c2d8cc;
}

.card a {
  display: inline-block;
  margin-top: 23px;
  font-size: 11px;
  font-weight: 700;
}

.card a span {
  margin-left: 8px;
}

/* Bảng giá: giữ đủ các tuyến và mức giá theo ảnh mẫu */
.pricing { background: #f3f6ef; }
.pricing-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.sample { font-size: 11px; background: #e6eee1; padding: 8px 12px; border-radius: 20px; color: #698173; }
.price-table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid #5d6a70; border-radius: 4px; background: #fff; }
.price-table { width: 100%; min-width: 260px; border-collapse: collapse; table-layout: fixed; color: #10171b; background: #fff; text-align: center; font-family: Arial, sans-serif; font-variant-numeric: tabular-nums; }
.price-table .column-route { width: 31%; }
.price-table .column-shared { width: 33%; }
.price-table .column-private { width: 36%; }
.price-table th, .price-table td { padding: 18px 15px; border-right: 1px solid #69747a; border-bottom: 1px solid #69747a; vertical-align: middle; }
.price-table th:last-child, .price-table td:last-child { border-right: 0; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { background: #5fa6f4; font-size: 15px; line-height: 1.35; font-weight: 700; }
.price-table td { font-size: 15px; line-height: 1.45; font-weight: 500; }
.price-table .route-from, .price-table .route-to, .price-table .price-from, .price-table .price-to { white-space: nowrap; }
.price-table .shipping-row td { font-size: 19px; font-weight: 600; }
.price-note { color: #72877b; font-size: 12px; margin: 12px 0 0; }

/* Hướng dẫn đặt xe */
.experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.experience-visual {
  min-height: 385px;
  border-radius: 12px;
  background: linear-gradient(0deg,#08372baa,#08372b00 70%),url('../images/xe-vinfast-minh-hoa.png') 65% center/cover;
  position: relative;
}

.visual-label {
  position: absolute;
  bottom: 26px;
  left: 28px;
  color: white;
}

.visual-label small {
  color: #d0e7d2;
  letter-spacing: .17em;
  font-size: 9px;
}

.visual-label strong {
  display: block;
  font-size: 25px;
  letter-spacing: -1px;
}

.steps {
  margin-top: 28px;
}

.step {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid #e5ebe5;
}

.step b {
  color: #8ca994;
  font-family: Manrope;
  font-size: 12px;
}

.step strong {
  display: block;
  font-size: 13px;
}

.step p {
  margin: 4px 0;
  color: #83968a;
  font-size: 11px;
}

/* Câu hỏi thường gặp */
.faq {
  background: #f9faf6;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
}

.faq details {
  border-bottom: 1px solid #dfe8dd;
  padding: 18px 0;
}

.faq summary {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.faq summary:after {
  content: '+';
  font-size: 18px;
}

.faq details[open] summary:after {
  content: '−';
}

.faq details p {
  font-size: 12px;
  color: #73887b;
  line-height: 1.8;
}

/* Lời mời lên lịch */
.cta {
  background: var(--dark);
  color: white;
  border-radius: 15px;
  padding: 45px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta h2 {
  font-size: 30px;
  letter-spacing: -1.3px;
  margin: 0 0 8px;
}

.cta p {
  color: #bed4c8;
  font-size: 12px;
  margin: 0;
}

.cta a {
  background: var(--lime);
  color: var(--dark);
  padding: 14px 20px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Chân trang: lời chào hành trình, điều hướng và thông tin liên hệ. */
.site-footer {
  overflow: hidden;
  background: #092e26;
  color: #c3d8cc;
  padding: 68px 0 25px;
}

.footer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding-bottom: 53px;
  border-bottom: 1px solid #ffffff20;
}

.footer-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #c8dfae;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.footer-eyebrow span { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--lime); }
.footer-heading h2 { margin: 0; color: #f5f8ef; font-size: clamp(35px, 4.4vw, 55px); line-height: 1.08; letter-spacing: -.045em; }
.footer-heading h2 em { color: #d4eb82; font-family: 'Chuyen Xanh Serif', Georgia, serif; font-weight: 400; letter-spacing: -.035em; }

.footer-route {
  width: min(340px, 34%);
  flex-shrink: 0;
  padding: 18px 22px 15px;
  border: 1px solid #ffffff24;
  border-radius: 16px;
  background: #ffffff09;
}
.footer-route-title, .footer-route-labels { display: flex; justify-content: space-between; align-items: center; color: #bed6c6; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.footer-route-title span { color: var(--lime); font-size: 18px; line-height: 1; }
.footer-route svg { display: block; width: 100%; height: 72px; margin: 2px 0 4px; overflow: visible; }
.footer-route-line { stroke: #c9e4bb; stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linecap: round; }

.footer-main { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 52px; padding: 48px 0 46px; }
.footer-brand .logo { width: fit-content; color: #fff; }
.footer-brand p { max-width: 305px; margin: 18px 0 20px; color: #b5cebf; font-size: 13px; line-height: 1.75; }
.footer-brand-note { display: inline-flex; align-items: center; gap: 8px; color: #c8dfae; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.footer-brand-note span { color: var(--lime); font-size: 18px; }
.footer-main h3 { margin: 3px 0 19px; color: #f5f8ef; font-size: 12px; letter-spacing: .04em; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav h3 { margin-bottom: 9px; }
.footer-nav a { color: #c3d8cc; font-size: 13px; transition: color .2s ease; }
.footer-nav a span { display: inline-block; margin-left: 3px; color: #dff36e; opacity: 0; transform: translate(-3px, 3px); transition: opacity .2s ease, transform .2s ease; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: #e6f68d; }
.footer-nav a:hover span, .footer-nav a:focus-visible span { opacity: 1; transform: translate(0); }

.footer-call { display: flex; align-items: center; gap: 12px; max-width: 285px; padding: 12px; border: 1px solid #cce5ae35; border-radius: 12px; background: #ffffff0c; transition: background .2s ease, border-color .2s ease; }
.footer-call:hover, .footer-call:focus-visible { background: #ffffff16; border-color: #dff36e99; }
.footer-call-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: var(--lime); color: #103d30; font-size: 20px; }
.footer-call small, .footer-call strong { display: block; line-height: 1.4; }
.footer-call small { color: #c0d8c8; font-size: 11px; }
.footer-call strong { color: #f6fae9; font-size: 16px; letter-spacing: .02em; }
.footer-call-arrow { margin-left: auto; color: #dff36e; font-size: 20px; }
.footer-zalo { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; color: #d7e9dd; font-size: 13px; }
.footer-zalo > span:first-child { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0866ed; color: white; font: 800 9px Arial, sans-serif; }
.footer-zalo:hover, .footer-zalo:focus-visible { color: #e6f68d; }

.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #ffffff20; color: #b4cbbd; font-size: 11px; }
.foot-bottom a { white-space: nowrap; color: #dbeadf; }
.foot-bottom a span { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-left: 7px; border: 1px solid #ffffff50; border-radius: 50%; color: var(--lime); }
.foot-bottom a:hover { color: var(--lime); }

/* Chừa khoảng trống cạnh phải cho nút liên hệ trên màn hình vừa. */
@media (min-width: 901px) and (max-width: 1600px) {
  main .wrap, .site-footer .wrap { padding-right: max(28px, calc(194px - max(0px, (100vw - 1240px) / 2))); }
}

/* Thanh liên hệ cố định: khách có thể gọi hoặc mở Zalo khi cuộn trang. */
.contact-dock {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.dock-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 5px;
  border: 1px solid #d8e7dc;
  border-radius: 32px;
  background: #fff;
  color: #123d30;
  box-shadow: 0 7px 25px #0b3c3229;
  transition: transform .2s ease, box-shadow .2s ease;
}

.dock-link:hover, .dock-link:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px #0b3c3240; }
.dock-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; color: #fff; }
.dock-phone-icon { background: #176b4d; font-size: 22px; }
.dock-phone-icon svg { display: block; width: 21px; height: 21px; }
.dock-zalo-icon { background: #0866ed; font: 800 11px Arial, sans-serif; }
.dock-label { position: absolute; right: calc(100% + 9px); top: 50%; display: flex; flex-direction: column; min-width: 140px; padding: 8px 12px; border: 1px solid #d8e7dc; border-radius: 12px; background: #fff; box-shadow: 0 7px 25px #0b3c3229; line-height: 1.3; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(4px, -50%); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.dock-link:hover .dock-label, .dock-link:focus-visible .dock-label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.dock-label strong { font-size: 12px; }
.dock-label small { font-size: 11px; color: #5b7468; }
.dock-phone { width: 164px; justify-content: flex-start; gap: 8px; }
.dock-phone .dock-label { position: static; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.dock-phone:hover .dock-label, .dock-phone:focus-visible .dock-label { transform: none; }
.dock-phone .dock-label small { color: #123d30; font-size: 14px; font-weight: 800; letter-spacing: .02em; }
[data-call-link][aria-disabled="true"], [data-zalo-link][aria-disabled="true"] { opacity: .7; cursor: default; }

/* Các chi tiết màu nhấn trong biểu trưng */
.logo-dot {
  color: #81ae83;
}

.mark-footer {
  background: #dff36e;
  color: #123d30;
}

/* Hiệu ứng nhẹ: làm nổi bật điểm liên hệ mà không làm dịch chuyển chữ. */
@media (prefers-reduced-motion: no-preference) {
  .call-button { animation: call-attention 4.5s ease-in-out infinite; }
  .call-icon { animation: phone-ring 5s ease-in-out infinite; }
  .eyebrow::before { animation: soft-beacon 3.5s ease-in-out infinite; }
  .dock-phone-icon { animation: phone-ring 5s ease-in-out infinite; }
  .dock-zalo-icon { animation: phone-ring 5s ease-in-out 1s infinite; }
  .dock-phone { animation: dock-pulse 5s ease-in-out infinite; }
  .footer-route-line { animation: route-flow 14s linear infinite; }
  .reveal-ready.is-visible { animation: reveal-in .55s ease both; }
}

@keyframes call-attention {
  0%, 100% { box-shadow: 0 8px 24px #031e1740, 0 0 0 0 #dcf36a22; }
  50% { box-shadow: 0 8px 24px #031e1740, 0 0 0 7px #dcf36a22; }
}

@keyframes phone-ring {
  0%, 78%, 100% { transform: rotate(0); }
  82%, 90% { transform: rotate(-7deg); }
  86%, 94% { transform: rotate(7deg); }
}

@keyframes dock-pulse {
  0%, 75%, 100% { box-shadow: 0 7px 25px #0b3c3229, 0 0 0 0 #a5cf5a00; }
  85% { box-shadow: 0 7px 25px #0b3c3229, 0 0 0 6px #a5cf5a40; }
}

@keyframes soft-beacon {
  0%, 100% { box-shadow: 0 0 0 0 #b2d84a22; }
  50% { box-shadow: 0 0 0 5px #b2d84a22; }
}

@keyframes route-flow {
  to { stroke-dashoffset: -36; }
}

@keyframes reveal-in {
  from { opacity: .75; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
  .price-table tbody tr:not(.shipping-row) { transition: background-color .2s ease; }
  .price-table tbody tr:not(.shipping-row):hover { background: #f4f8f0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .call-button, .call-icon, .eyebrow::before, .dock-icon, .dock-phone, .footer-route-line, .reveal-ready.is-visible { animation: none; }
  .call-button, .call-arrow, .navlinks a::after, .card, .dock-link, .dock-label, .footer-nav a, .footer-nav a span, .footer-call { transition: none; }
  .reveal-ready { opacity: 1; transform: none; }
}
