/*
Theme Name: Hà Nội Eye Clinic
Theme URI: https://khammathanoi.com
Author: Hà Nội Eye Clinic
Description: Giao diện WordPress chuyên nghiệp dành cho Hà Nội Eye Clinic, tối ưu thiết bị di động và tích hợp biểu mẫu đặt lịch.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hanoi-eye-clinic
*/

:root {
  --blue: #2854c5;
  --blue-dark: #0d2a54;
  --blue-soft: #eef5ff;
  --green: #14943a;
  --green-soft: #eaf8ef;
  --ink: #0d294f;
  --muted: #52647d;
  --line: #dce5f0;
  --surface: #ffffff;
  --background: #f8fbff;
  --shadow: 0 24px 70px rgba(27, 66, 128, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(210px, 280px) 1fr auto;
  height: 102px;
  padding: 0 clamp(28px, 4vw, 72px);
  position: relative;
  z-index: 50;
}

.brand {
  align-items: center;
  display: flex;
}

.brand img {
  display: block;
  height: auto;
  max-width: 246px;
  width: 100%;
}

.desktop-nav {
  align-items: stretch;
  display: flex;
  height: 100%;
  justify-content: center;
}

.desktop-nav a {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 16px;
  font-weight: 700;
  margin: 0 18px;
  position: relative;
}

.desktop-nav a::after {
  background: var(--blue);
  bottom: 20px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--blue);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #2a5bd2, #234dc0);
  box-shadow: 0 12px 30px rgba(40, 84, 197, 0.22);
  color: white;
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(40, 84, 197, 0.3);
}

.button-secondary {
  background: var(--green);
  color: white;
}

.button-outline {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--blue);
  color: var(--blue);
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.menu-button {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 17% 32%, rgba(218, 233, 255, 0.54), transparent 27%),
    linear-gradient(100deg, #ffffff 0%, #f7faff 53%, #eef5ff 100%);
  display: grid;
  grid-template-columns: minmax(540px, 47%) minmax(0, 1fr);
  min-height: calc(100vh - 102px);
  overflow: hidden;
  position: relative;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
  padding: 58px 32px 50px clamp(42px, 5vw, 88px);
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow-dot {
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(20, 148, 58, 0.1);
  height: 7px;
  width: 7px;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(48px, 4.35vw, 76px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0;
}

.hero h1 span {
  color: var(--blue);
  display: block;
}

.title-accent {
  background: var(--green);
  border-radius: 4px;
  height: 5px;
  margin: 30px 0 28px;
  width: 82px;
}

.hero-copy > p {
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.75;
  margin: 0;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  gap: 0;
  margin-top: 56px;
}

.hero-trust > div {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 168px;
  padding: 0 22px;
}

.hero-trust > div:first-child {
  padding-left: 0;
}

.hero-trust > div + div {
  border-left: 1px solid var(--line);
}

.trust-icon {
  color: var(--ink);
}

.hero-trust div:nth-child(2) .trust-icon,
.hero-trust div:nth-child(3) .trust-icon {
  color: var(--green);
}

.hero-trust p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.hero-trust strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-visual {
  min-height: 100%;
  position: relative;
}

.hero-image {
  height: 100%;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.hero-image::before {
  background: linear-gradient(90deg, #f7faff 0%, rgba(247, 250, 255, 0) 22%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-image::after {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50% 0 0 50%;
  content: "";
  height: 120%;
  left: -8%;
  position: absolute;
  top: -10%;
  width: 108%;
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.floating-contact {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  bottom: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px 12px;
  grid-template-columns: auto 1fr;
  left: 20px;
  padding: 14px 18px;
  position: absolute;
  z-index: 3;
}

.floating-contact > span {
  align-items: center;
  background: var(--green-soft);
  border-radius: 12px;
  color: var(--green);
  display: flex;
  grid-row: 1 / 3;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.floating-contact small {
  color: var(--muted);
  font-size: 12px;
}

.floating-contact strong {
  color: var(--ink);
  font-size: 16px;
}

.mobile-panel,
.page-scrim {
  display: none;
}

.modal-layer {
  inset: 0;
  position: fixed;
  z-index: 100;
}

.modal-scrim {
  backdrop-filter: blur(4px);
  background: rgba(7, 28, 58, 0.64);
  border: 0;
  inset: 0;
  position: absolute;
  width: 100%;
}

.booking-modal {
  background: white;
  border-radius: 24px;
  box-shadow: 0 35px 90px rgba(5, 24, 51, 0.3);
  left: 50%;
  max-height: calc(100vh - 40px);
  max-width: 600px;
  overflow: auto;
  padding: 42px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
}

.booking-modal h2 {
  color: var(--ink);
  font-size: 32px;
  letter-spacing: -0.03em;
  margin: 10px 0 8px;
}

.modal-intro,
.booking-success > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 26px;
}

.booking-modal form {
  display: grid;
  gap: 18px;
}

.booking-modal label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 750;
  gap: 8px;
}

.booking-modal input,
.booking-modal select {
  background: #f9fbfe;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  height: 50px;
  outline: none;
  padding: 0 14px;
  width: 100%;
}

.booking-modal input:focus,
.booking-modal select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(40, 84, 197, 0.1);
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.submit-button {
  margin-top: 4px;
  width: 100%;
}

.booking-success {
  padding: 24px 4px 4px;
  text-align: center;
}

.booking-success > span {
  align-items: center;
  background: var(--green-soft);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  height: 68px;
  justify-content: center;
  margin-bottom: 20px;
  width: 68px;
}

.booking-success a {
  color: var(--blue);
  font-weight: 800;
}

.booking-success .booking-success-countdown {
  color: var(--muted);
  font-size: 14px;
  margin: -14px 0 24px;
}

.booking-success .booking-success-countdown strong {
  color: var(--ink);
}

.booking-success .button {
  min-width: 220px;
}

.booking-result-panel {
  display: none;
}

.booking-result-layer[data-booking-status="success"] .booking-result-success,
.booking-result-layer[data-booking-status="error"] .booking-result-error {
  display: block;
}

.booking-error > span {
  background: #fff0f0;
  color: #b42318;
}

.booking-error .section-kicker {
  color: #b42318;
}

.section-shell {
  margin: 0 auto;
  max-width: 1320px;
  padding-left: 32px;
  padding-right: 32px;
}

.section-kicker {
  margin: 0 0 14px;
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.process-intro h2,
.care-banner h2,
.faq-grid h2,
.contact-card h2 {
  color: var(--ink);
  font-size: clamp(36px, 3.35vw, 52px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

.section-heading > p:last-child,
.section-lead,
.process-intro > p:not(.section-kicker),
.faq-grid > div:first-child > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 20px 0 0;
}

.about {
  align-items: center;
  display: grid;
  gap: clamp(50px, 7vw, 100px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  padding-bottom: 120px;
  padding-top: 120px;
}

.about-visual {
  min-height: 580px;
  position: relative;
}

.about-photo {
  border-radius: 36px 120px 36px 36px;
  height: 550px;
  overflow: hidden;
  position: relative;
}

.about-photo::after {
  background: linear-gradient(180deg, transparent 60%, rgba(8, 39, 75, 0.12));
  content: "";
  inset: 0;
  position: absolute;
}

.about-photo img {
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transform: scale(1.04);
  width: 100%;
}

.experience-badge {
  align-items: center;
  background: white;
  border-radius: 16px;
  bottom: 0;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  position: absolute;
  right: -28px;
}

.experience-badge > span {
  align-items: center;
  background: var(--green-soft);
  border-radius: 12px;
  color: var(--green);
  display: flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.experience-badge p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.experience-badge strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
}

.about-copy {
  max-width: 650px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.check-list > div {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 16px;
  font-weight: 700;
  gap: 13px;
}

.check-list span {
  align-items: center;
  background: var(--green-soft);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.stats-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  padding-top: 30px;
}

.stats-row > div {
  display: grid;
  gap: 4px;
}

.stats-row strong {
  color: var(--blue);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.stats-row span {
  color: var(--muted);
  font-size: 13px;
}

.services-section {
  background:
    radial-gradient(circle at 95% 0, rgba(40, 84, 197, 0.1), transparent 30%),
    var(--background);
  padding: 112px 0 120px;
}

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

.service-card {
  background: white;
  border: 1px solid #e5ebf3;
  border-radius: 20px;
  min-height: 300px;
  overflow: hidden;
  padding: 30px;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(40, 84, 197, 0.25);
  box-shadow: 0 18px 50px rgba(22, 62, 119, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.tone-1 {
  background: var(--blue-soft);
  color: var(--blue);
}

.tone-2 {
  background: var(--green-soft);
  color: var(--green);
}

.tone-3 {
  background: #f1efff;
  color: #6553c7;
}

.service-number {
  color: #edf1f6;
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 24px;
}

.service-card h3 {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 24px 0 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.service-card button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  padding: 0;
}

.process-section {
  background: var(--ink);
  color: white;
  overflow: hidden;
  padding: 110px 0;
  position: relative;
}

.process-section::before {
  border: 70px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
  height: 430px;
  position: absolute;
  right: -150px;
  top: -190px;
  width: 430px;
}

.process-section .section-shell {
  align-items: start;
  display: grid;
  gap: 100px;
  grid-template-columns: 0.82fr 1.18fr;
  position: relative;
}

.process-intro .section-kicker,
.care-banner .section-kicker {
  color: #70d790;
}

.process-intro h2,
.care-banner h2 {
  color: white;
}

.process-intro > p:not(.section-kicker) {
  color: #bdc9d9;
}

.process-intro .button {
  margin-top: 30px;
}

.process-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  gap: 22px;
  grid-template-columns: 56px 1fr;
  padding: 22px 0;
}

.process-list li:first-child {
  padding-top: 0;
}

.process-list li > span {
  align-items: center;
  background: rgba(46, 104, 221, 0.2);
  border: 1px solid rgba(119, 161, 255, 0.3);
  border-radius: 50%;
  color: #9fbdff;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.process-list h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.process-list p {
  color: #aab8ca;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.team-section {
  padding-bottom: 120px;
  padding-top: 116px;
}

.team-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.45fr 1fr 1fr;
  margin-top: 54px;
}

.advisor-card,
.team-card {
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 250px;
  padding: 30px;
}

.advisor-card {
  align-items: center;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 148, 58, 0.13), transparent 35%),
    linear-gradient(135deg, #f6f9ff, #eef5ff);
  display: grid;
  gap: 28px;
  grid-template-columns: 124px 1fr;
}

.avatar {
  align-items: center;
  background: var(--blue-soft);
  border: 7px solid white;
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(40, 84, 197, 0.14);
  color: var(--blue);
  display: flex;
  font-size: 25px;
  font-weight: 900;
  height: 106px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 106px;
}

.avatar-primary {
  background: var(--blue);
  color: white;
  height: 124px;
  width: 124px;
}

.avatar-green {
  background: var(--green-soft);
  color: var(--green);
}

.advisor-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advisor-card h3,
.team-card h3 {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 9px 0;
}

.advisor-card p,
.team-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.team-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card .avatar {
  height: 80px;
  margin-bottom: 16px;
  width: 80px;
}

.care-banner {
  align-items: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #2457cb, #183d9a);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(35, 77, 179, 0.25);
  color: white;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1260px;
  padding: 54px 64px;
}

.care-banner > div:first-child {
  max-width: 650px;
}

.care-banner h2 {
  font-size: clamp(34px, 3vw, 48px);
}

.care-banner > div:first-child > p:last-child {
  color: #dbe6ff;
  line-height: 1.7;
  margin: 16px 0 0;
}

.care-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.button-light {
  background: white;
  color: var(--blue);
}

.care-actions > a {
  align-items: center;
  display: grid;
  gap: 2px 10px;
  grid-template-columns: auto 1fr;
}

.care-actions > a > span {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  display: flex;
  grid-row: 1 / 3;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.care-actions small {
  color: #c9d8fb;
}

.care-actions strong {
  font-size: 17px;
}

.news-section {
  padding-bottom: 120px;
  padding-top: 120px;
}

.heading-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  max-width: none;
}

.text-link {
  align-items: center;
  color: var(--blue);
  display: flex;
  font-size: 14px;
  font-weight: 850;
  gap: 8px;
}

.articles-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
}

.article-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.article-card:hover {
  box-shadow: 0 20px 55px rgba(20, 61, 117, 0.1);
  transform: translateY(-4px);
}

.article-cover {
  align-items: center;
  display: flex;
  height: 180px;
  justify-content: center;
}

.cover-1 {
  background: linear-gradient(145deg, #eaf2ff, #d7e8ff);
  color: var(--blue);
}

.cover-2 {
  background: linear-gradient(145deg, #eaf8ef, #d9f1e1);
  color: var(--green);
}

.cover-3 {
  background: linear-gradient(145deg, #f1efff, #e4defd);
  color: #6553c7;
}

.article-card > div:last-child {
  padding: 25px 26px 29px;
}

.article-card span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
  margin: 10px 0;
}

.article-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.faq-section {
  background: var(--background);
  padding: 110px 0;
}

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

.faq-grid > div:first-child > .button {
  margin-top: 28px;
}

.faq-list {
  background: white;
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(17, 59, 117, 0.07);
  padding: 8px 28px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 780;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
  padding: 24px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  flex: 0 0 auto;
  height: 30px;
  justify-content: center;
  transition: transform 180ms ease;
  width: 30px;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: -6px 45px 24px 0;
}

.contact-section {
  padding-bottom: 120px;
  padding-top: 120px;
}

.contact-card {
  background:
    radial-gradient(circle at 100% 0, rgba(47, 103, 223, 0.09), transparent 38%),
    #f4f8ff;
  border: 1px solid #dce7f7;
  border-radius: 28px;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 58px;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.contact-details > a,
.contact-details > div {
  align-items: center;
  display: flex;
  gap: 14px;
}

.contact-details > a > span,
.contact-details > div > span {
  align-items: center;
  background: white;
  border-radius: 12px;
  color: var(--blue);
  display: flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.contact-details p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.contact-details small {
  color: var(--muted);
  font-size: 12px;
}

.contact-details strong {
  color: var(--ink);
  font-size: 15px;
}

.contact-cta {
  align-items: center;
  background: white;
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(19, 61, 120, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  text-align: center;
}

.contact-cta > span {
  align-items: center;
  background: var(--green-soft);
  border-radius: 50%;
  color: var(--green);
  display: flex;
  height: 78px;
  justify-content: center;
  width: 78px;
}

.contact-cta h3 {
  color: var(--ink);
  font-size: 23px;
  margin: 22px 0 8px;
}

.contact-cta p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

footer {
  background: #091f3d;
  color: white;
}

.footer-main {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  padding-bottom: 64px;
  padding-top: 70px;
}

.footer-brand img {
  background: white;
  border-radius: 8px;
  max-width: 230px;
  padding: 10px;
}

.footer-brand p,
.footer-main > div:last-child p {
  color: #9fb0c5;
  font-size: 14px;
  line-height: 1.75;
  max-width: 310px;
}

.footer-main h3 {
  font-size: 15px;
  margin: 0 0 20px;
}

.footer-main > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
}

.footer-main a,
.footer-main button {
  background: none;
  border: 0;
  color: #aebdd0;
  cursor: pointer;
  font-size: 14px;
  margin: 0 0 13px;
  padding: 0;
  text-align: left;
}

.footer-main a:hover,
.footer-main button:hover {
  color: white;
}

.footer-main .footer-phone {
  color: #7adf97;
  font-size: 20px;
  font-weight: 850;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8093aa;
  display: flex;
  font-size: 12px;
  gap: 28px;
  justify-content: space-between;
  padding-bottom: 26px;
  padding-top: 26px;
}

.mobile-booking-bar {
  display: none;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 210px 1fr auto;
    padding: 0 28px;
  }

  .desktop-nav a {
    margin: 0 10px;
  }

  .hero {
    grid-template-columns: 52% 48%;
  }

  .hero-copy {
    padding-left: 42px;
  }

  .hero-trust > div {
    min-width: 0;
    padding: 0 14px;
  }

  .about {
    gap: 60px;
  }

  .experience-badge {
    right: -12px;
  }

  .team-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .team-grid .team-card:last-child {
    grid-column: 2;
  }

  .advisor-card {
    grid-row: 1 / 3;
  }

  .care-banner {
    border-radius: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    height: 84px;
  }

  .brand img {
    max-width: 210px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    padding: 64px 42px 48px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-image::after {
    border-radius: 50% 50% 0 0;
    height: 110%;
    left: -5%;
    top: 0;
  }

  .hero-image::before {
    background: linear-gradient(180deg, #f7faff 0%, rgba(247, 250, 255, 0) 20%);
  }

  .mobile-panel {
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform 220ms ease;
    width: min(88%, 390px);
    z-index: 90;
  }

  .mobile-panel.open {
    transform: translateX(0);
  }

  .mobile-panel-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
  }

  .mobile-panel-head img {
    max-width: 200px;
  }

  .mobile-panel nav {
    display: grid;
  }

  .mobile-panel nav a {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-size: 17px;
    font-weight: 750;
    justify-content: space-between;
    padding: 17px 4px;
  }

  .mobile-panel .button {
    margin-top: auto;
  }

  .page-scrim {
    background: rgba(7, 28, 58, 0.52);
    border: 0;
    display: block;
    inset: 0;
    position: fixed;
    z-index: 80;
  }

  .about,
  .process-section .section-shell,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .about {
    padding-bottom: 90px;
    padding-top: 90px;
  }

  .about-copy {
    max-width: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-section .section-shell {
    gap: 60px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advisor-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .team-grid .team-card:last-child {
    grid-column: auto;
  }

  .care-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 52px 42px;
  }

  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-card:last-child {
    grid-column: 1 / -1;
  }

  .faq-grid {
    gap: 50px;
  }

  .contact-card {
    gap: 42px;
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-main > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 4px;
    height: 74px;
    padding: 0 16px;
  }

  .brand img {
    max-width: 168px;
  }

  .header-booking {
    display: none;
  }

  .hero-copy {
    padding: 52px 20px 40px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.8vw, 58px);
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
    margin-top: 44px;
  }

  .hero-trust > div,
  .hero-trust > div:first-child {
    border: 0;
    padding: 0;
  }

  .hero-trust > div:last-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 470px;
  }

  .floating-contact {
    bottom: 18px;
    left: 18px;
    right: 18px;
  }

  .booking-modal {
    border-radius: 20px;
    padding: 36px 22px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-visual {
    min-height: 450px;
  }

  .about-photo {
    border-radius: 24px 70px 24px 24px;
    height: 430px;
  }

  .experience-badge {
    bottom: -10px;
    left: 16px;
    right: 16px;
  }

  .stats-row {
    gap: 10px;
  }

  .stats-row strong {
    font-size: 23px;
  }

  .services-section,
  .team-section,
  .news-section,
  .contact-section {
    padding-bottom: 82px;
    padding-top: 82px;
  }

  .services-grid,
  .team-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .advisor-card,
  .team-grid .team-card:last-child,
  .article-card:last-child {
    grid-column: auto;
  }

  .advisor-card {
    align-items: start;
    grid-template-columns: 80px 1fr;
    padding: 24px;
  }

  .avatar-primary {
    height: 80px;
    width: 80px;
  }

  .process-section {
    padding: 82px 0;
  }

  .care-banner {
    padding: 44px 22px;
  }

  .care-actions,
  .care-actions .button {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .article-cover {
    height: 150px;
  }

  .faq-section {
    padding: 82px 0;
  }

  .faq-list {
    padding: 6px 20px;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .contact-cta {
    padding: 34px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-main > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 90px;
  }

  .mobile-booking-bar {
    align-items: center;
    background: var(--blue);
    border: 0;
    bottom: 12px;
    box-shadow: 0 12px 30px rgba(20, 54, 116, 0.35);
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 850;
    gap: 9px;
    height: 52px;
    justify-content: center;
    left: 16px;
    position: fixed;
    right: 16px;
    z-index: 70;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.modal-layer {
  display: none;
}

.modal-layer.open {
  display: block;
}

.page-scrim {
  display: none !important;
}

.page-scrim.open {
  display: block !important;
}

.booking-notice {
  align-items: center;
  background: var(--green-soft);
  border: 1px solid rgba(20, 148, 58, 0.24);
  border-radius: 12px;
  color: #0c6d2a;
  display: flex;
  font-weight: 700;
  gap: 10px;
  margin: 18px auto 0;
  max-width: 1320px;
  padding: 14px 20px;
}

.booking-notice.error {
  background: #fff0f0;
  border-color: #f0c2c2;
  color: #9b2525;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/*
 * V4 mobile supplement
 * Keeps the desktop design intact while improving real-phone behaviour.
 */
@media (max-width: 980px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  img,
  svg {
    max-width: 100%;
  }

  #trang-chu,
  #gioi-thieu,
  #dich-vu,
  #bac-si,
  #tin-tuc,
  #lien-he {
    scroll-margin-top: 84px;
  }

  .site-header {
    min-width: 0;
    position: sticky;
    top: 0;
  }

  .brand {
    min-width: 0;
  }

  .menu-button {
    flex: 0 0 48px;
    height: 48px;
    width: 48px;
  }

  .mobile-panel {
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
    padding-top: max(22px, env(safe-area-inset-top));
    -webkit-overflow-scrolling: touch;
  }

  .mobile-panel nav {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-panel nav a,
  .mobile-panel .button {
    min-height: 52px;
  }

  .modal-layer {
    height: 100dvh;
    min-height: 100dvh;
  }

  .booking-modal {
    max-height: calc(100dvh - 32px);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .contact-details strong,
  .footer-main p,
  .footer-main a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    min-height: 72px;
    padding-bottom: 8px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-top: max(8px, env(safe-area-inset-top));
  }

  .brand img {
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
  }

  .hero-copy {
    padding: 44px 18px 36px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
    letter-spacing: -0.04em;
    line-height: 1.06;
  }

  .title-accent {
    height: 4px;
    margin: 22px 0 20px;
    width: 64px;
  }

  .hero-copy > p {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 26px;
  }

  .button {
    min-height: 52px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-trust {
    gap: 14px 12px;
    margin-top: 34px;
  }

  .hero-trust > div {
    gap: 10px;
  }

  .hero-trust p {
    font-size: 13px;
  }

  .hero-visual {
    min-height: clamp(370px, 112vw, 470px);
  }

  .floating-contact {
    bottom: 14px;
    left: max(14px, env(safe-area-inset-left));
    padding: 12px 14px;
    right: max(14px, env(safe-area-inset-right));
  }

  .section-heading h2,
  .about-copy h2,
  .process-intro h2,
  .care-banner h2,
  .faq-grid h2,
  .contact-card h2 {
    font-size: clamp(29px, 8.6vw, 38px);
    line-height: 1.12;
  }

  .section-heading > p:last-child,
  .section-lead,
  .process-intro > p:not(.section-kicker),
  .faq-grid > div:first-child > p:not(.section-kicker) {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 16px;
  }

  .about {
    gap: 44px;
    padding-bottom: 76px;
    padding-top: 76px;
  }

  .about-visual {
    min-height: clamp(370px, 112vw, 440px);
  }

  .about-photo {
    height: clamp(350px, 106vw, 420px);
  }

  .experience-badge {
    gap: 10px;
    padding: 14px 16px;
  }

  .experience-badge > span {
    height: 44px;
    width: 44px;
  }

  .experience-badge strong {
    font-size: 14px;
  }

  .check-list > div {
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
  }

  .stats-row {
    margin-top: 30px;
    padding-top: 24px;
  }

  .stats-row span {
    font-size: 12px;
    line-height: 1.35;
  }

  .services-grid,
  .team-grid,
  .articles-grid {
    gap: 16px;
    margin-top: 36px;
  }

  .service-card,
  .advisor-card,
  .team-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .process-section .section-shell {
    gap: 42px;
  }

  .process-list li {
    gap: 14px;
    grid-template-columns: 48px 1fr;
    padding: 18px 0;
  }

  .process-list li > span {
    height: 44px;
    width: 44px;
  }

  .advisor-card {
    gap: 18px;
  }

  .care-banner {
    gap: 30px;
  }

  .care-actions {
    gap: 16px;
  }

  .care-actions > a {
    min-height: 52px;
  }

  .article-card > div:last-child {
    padding: 22px 20px 24px;
  }

  .faq-list summary {
    font-size: 15px;
    line-height: 1.45;
    min-height: 64px;
    padding: 18px 0;
  }

  .faq-list details p {
    margin-right: 0;
  }

  .contact-details > a,
  .contact-details > div {
    align-items: flex-start;
  }

  .contact-details strong {
    display: block;
    line-height: 1.45;
  }

  .footer-main {
    gap: 34px 24px;
    padding-bottom: 48px;
    padding-top: 58px;
  }

  .footer-bottom {
    gap: 14px;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .mobile-booking-bar {
    border-radius: 14px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 54px;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
  }

  .booking-form-layer .booking-modal {
    border-radius: 24px 24px 0 0;
    bottom: 0;
    left: 0;
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)));
    max-width: none;
    padding: 34px 20px max(24px, env(safe-area-inset-bottom));
    top: auto;
    transform: none;
    width: 100%;
  }

  .booking-result-layer .booking-modal {
    max-height: calc(100dvh - 24px);
    padding: 34px 20px 24px;
    width: calc(100% - 24px);
  }

  .booking-modal h2 {
    font-size: clamp(26px, 7.5vw, 32px);
  }

  .booking-modal input,
  .booking-modal select {
    font-size: 16px;
    height: 52px;
  }

  .booking-success {
    padding-top: 16px;
  }

  .booking-success .button {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .brand img {
    max-width: 150px;
  }

  .hero-copy,
  .section-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 41px);
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-trust > div:last-child {
    grid-column: auto;
  }

  .advisor-card {
    grid-template-columns: 1fr;
  }

  .avatar-primary {
    height: 76px;
    width: 76px;
  }

  .stats-row {
    gap: 8px;
  }

  .stats-row strong {
    font-size: 21px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-main > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 980px) and (max-height: 540px) and (orientation: landscape) {
  .mobile-panel-head {
    margin-bottom: 12px;
  }

  .mobile-panel nav a {
    min-height: 44px;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .booking-form-layer .booking-modal {
    border-radius: 18px;
    bottom: 8px;
    left: 50%;
    max-height: calc(100dvh - 16px);
    max-width: 600px;
    top: 8px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
  }
}
