/* Design tokens */
:root {
  --mint: #0d9488;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --mint-pale: #f0fdfa;
  --ink: #172a27;
  --muted: #647773;
  --white: #ffffff;
  --line: #dce9e5;
  --pearl: #f8fafc;
  --zalo: #0068ff;
  --radius: 18px;
  --shadow: 0 16px 42px rgba(15, 67, 58, 0.1), 0 3px 10px rgba(15, 67, 58, 0.04);
  --cta-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset and document defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  min-width: 0;
  font-size: 16px;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 34px);
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 233, 229, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  color: var(--teal-dark);
  font-size: clamp(0.69rem, 3.2vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: #536660;
  font-size: 0.76rem;
  font-weight: 700;
}

.header-phone {
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--mint);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 8vw, 76px) 0 26px;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 53%, #e8f7f3 100%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(120deg, black, transparent 75%);
}

.hero-decoration {
  position: absolute;
  z-index: -1;
  width: 240px;
  aspect-ratio: 1;
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-decoration-one {
  top: -150px;
  right: -100px;
  box-shadow: 0 0 0 28px rgba(13, 148, 136, 0.035), 0 0 0 58px rgba(13, 148, 136, 0.025);
}

.hero-decoration-two {
  bottom: -180px;
  left: 32%;
  width: 290px;
}

.hero-grid {
  display: block;
}

.hero-content {
  max-width: 1080px;
  margin-inline: auto;
  text-align: center;
}

.hero-kicker {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-inline: auto;
  padding: 8px 13px;
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal);
  font-size: clamp(0.58rem, 2.5vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.kicker-bolt {
  color: #d97706;
  font-size: 0.9rem;
  line-height: 1;
}

.kicker-separator {
  color: var(--mint);
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.hero h1 {
  margin: 16px 0 14px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero h1 span {
  color: var(--teal);
}

.hero-description {
  max-width: 560px;
  margin-inline: auto;
  color: #566a64;
  font-size: clamp(0.94rem, 2.3vw, 1.05rem);
  line-height: 1.8;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 20px 0 24px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #395c53;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-highlights i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d9f3eb;
  color: var(--teal);
  font-size: 0.62rem;
  font-style: normal;
}

.hero-actions {
  max-width: 500px;
  display: grid;
  gap: 10px;
  margin-inline: auto;
}

.hero-caption {
  margin-top: 13px;
  color: #71847e;
  font-size: 0.66rem;
  text-align: center;
}

.hero-foot {
  display: none;
}

/* Shared section headings */
.section {
  padding: clamp(58px, 9vw, 96px) 0;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.area-copy h2,
.faq-heading h2 {
  margin: 9px 0 11px;
  color: var(--ink);
  font-size: clamp(1.8rem, 6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.16;
}

.section-heading h2 span {
  color: var(--teal);
}

.section-heading > p,
.area-copy > p,
.faq-heading > p {
  color: var(--muted);
  font-size: 0.84rem;
}

/* Service cards */
.service-section {
  background: var(--white);
}

.service-grid {
  display: grid;
  gap: 12px;
}

.service-card {
  min-height: 192px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(15, 67, 58, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #a7dcd1;
  box-shadow: var(--shadow);
}

.service-card-featured {
  background: linear-gradient(145deg, #0f766e, #0d9488);
  color: var(--white);
}

.service-number {
  color: #83cfc0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card:not(.service-card-featured) .service-number {
  color: var(--mint);
}

.service-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border-radius: 11px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal);
  font-size: 1rem;
}

.service-card-featured .service-icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.service-card h3 {
  margin: 12px 0 5px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.service-card-featured h3 {
  color: var(--white);
}

.service-card p {
  color: var(--muted);
  font-size: 0.74rem;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.76);
}

/* Pricing */
.pricing-section {
  background: var(--pearl);
}

.price-list {
  display: grid;
  gap: 10px;
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(15, 67, 58, 0.035);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.price-index {
  color: var(--mint);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.price-card h3 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.91rem;
  letter-spacing: -0.03em;
}

.price-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.67rem;
}

.price-disclaimer {
  margin-top: 13px;
  color: #7d8d87;
  font-size: 0.66rem;
  text-align: center;
}

/* Service area */
.area-section {
  background: var(--white);
}

.area-layout {
  display: grid;
  align-items: center;
  gap: 28px;
}

.area-copy h2 {
  font-size: clamp(1.8rem, 6vw, 2.7rem);
}

.area-copy > p {
  max-width: 440px;
}

.area-list {
  display: grid;
  gap: 8px;
}

.area-count {
  color: var(--mint);
  font-size: 0.6rem;
  font-weight: 800;
}

.area-item > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.area-item strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
}

.area-item small {
  color: var(--muted);
  font-size: 0.64rem;
}

.area-item .cta-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--teal);
}

.area-item b {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
  transition: transform 0.32s var(--cta-ease);
}

/* FAQ */
.faq-section {
  background: var(--mint-pale);
}

.faq-layout {
  display: grid;
  gap: 26px;
}

.faq-heading h2 {
  font-size: clamp(1.8rem, 6vw, 2.65rem);
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq-list details {
  padding: 0 16px;
  border: 1px solid #d7e9e3;
  border-radius: 13px;
  background: var(--white);
}

.faq-list details[open] {
  border-color: #9ed5c8;
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--teal);
  content: "+";
  font-size: 1.15rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.faq-list details[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
}

.faq-list details[open] .faq-answer p {
  padding: 0 18px 15px 0;
}

/* Footer */
.site-footer {
  padding: 38px 0 22px;
  background: #103c36;
  color: rgba(255, 255, 255, 0.72);
}

.brand-footer .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.brand-footer .brand-copy strong {
  color: var(--white);
}

.brand-footer .brand-copy small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  gap: 23px;
  padding-bottom: 25px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

.footer-grid h2 {
  margin-bottom: 8px;
  color: #a9e3d4;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
  width: fit-content;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.69rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.57rem;
}

.footer-bottom span:last-child {
  letter-spacing: 0.1em;
}

/* CTA system: shared geometry, layering, motion, and visual variants */
.btn,
.sticky-btn,
.sticky-mobile-bar a,
.price-cta,
.faq-call,
.btn-outline-zalo {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.32s var(--cta-ease),
    box-shadow 0.32s var(--cta-ease),
    filter 0.32s var(--cta-ease),
    background-color 0.32s var(--cta-ease);
}

.btn > *,
.sticky-btn > *,
.sticky-mobile-bar a > *,
.price-cta > *,
.faq-call > * {
  position: relative;
  z-index: 1;
}

.btn-call,
.sticky-call {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 54%, #c2410c 100%);
  color: var(--white);
  box-shadow:
    0 9px 22px rgba(234, 88, 12, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-call::before,
.sticky-call::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 0 20px rgba(255, 237, 213, 0.4);
  content: "";
  opacity: 0.38;
  transform: scale(0.92);
  will-change: transform, opacity;
  animation: ctaHaloPulse 3.2s var(--cta-ease) infinite;
}

.btn-call::after,
.sticky-call::after {
  position: absolute;
  z-index: 0;
  top: -25%;
  bottom: -25%;
  left: -65%;
  width: 58%;
  border-radius: inherit;
  background: linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.46) 50%, transparent 72%);
  content: "";
  pointer-events: none;
  transform: translate3d(-100%, 0, 0) skewX(-18deg);
  will-change: transform;
  animation: ctaLightSweep 5.2s var(--cta-ease) infinite;
}

.btn-zalo,
.sticky-zalo,
.btn-outline-zalo {
  background: linear-gradient(135deg, #378bff 0%, #0668f7 56%, #0753c7 100%);
  color: var(--white);
  box-shadow:
    0 8px 20px rgba(0, 104, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-outline-zalo {
  border-color: rgba(0, 104, 255, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  color: #0753c7;
  box-shadow: 0 5px 15px rgba(0, 104, 255, 0.1);
}

.site-header .btn-call {
  min-height: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #178f83 0%, #0f766e 58%, #115e59 100%);
  box-shadow:
    0 6px 16px rgba(15, 118, 110, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  white-space: nowrap;
}

.site-header .btn-call::before {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 0 16px rgba(204, 251, 241, 0.3);
}

.price-cta {
  min-height: 48px;
  flex: 0 0 auto;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0fdfa, #d9f3eb);
  color: var(--teal);
  font-size: 0.67rem;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
}

.faq-call {
  min-height: 48px;
  margin-top: 13px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #178f83 0%, #0f766e 58%, #115e59 100%);
  color: var(--white);
  font-size: 0.75rem;
  box-shadow:
    0 7px 18px rgba(15, 118, 110, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.area-call {
  min-width: 170px;
  margin-top: 18px;
  padding-inline: 18px;
}

.area-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-color: rgba(15, 118, 110, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  color: inherit;
  text-align: left;
  box-shadow: 0 5px 16px rgba(15, 67, 58, 0.045);
}

.cta-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  overflow: visible;
  vertical-align: middle;
}

.cta-icon-zalo {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

.price-cta .cta-icon,
.area-item .cta-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.area-item .cta-icon {
  color: var(--teal);
}

.sticky-mobile-bar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -7px 24px rgba(17, 74, 63, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sticky-mobile-bar a {
  font-size: 0.77rem;
}

.sticky-mobile-bar .sticky-call {
  border-radius: 12px;
}

.sticky-mobile-bar .sticky-zalo {
  border-radius: 12px;
}

.cta-action:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.38);
  outline-offset: 3px;
}

.cta-action:active,
.btn:active,
.sticky-btn:active {
  transform: translateY(1px) scale(0.97);
  transition-duration: 0.12s;
}

@keyframes ctaHaloPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.72;
    transform: scale(1);
  }
}

@keyframes ctaLightSweep {
  0%,
  72%,
  100% {
    transform: translate3d(-100%, 0, 0) skewX(-18deg);
  }

  88% {
    transform: translate3d(300%, 0, 0) skewX(-18deg);
  }
}

/* Tablet and desktop */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .nav-wrap {
    min-height: 64px;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    padding: clamp(62px, 8vw, 100px) 0 30px;
  }

  .hero-highlights {
    gap: 15px;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 500px;
  }

  .hero-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    color: #67817a;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .hero-foot-line {
    width: 55px;
    height: 1px;
    background: #9fc9bd;
  }

  .service-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 15px;
  }

  .service-card {
    min-height: 240px;
    padding: 24px;
  }

  .service-card-featured {
    min-height: 300px;
  }

  .price-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .price-card {
    min-height: 112px;
    padding: 18px;
  }

  .area-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 8vw, 100px);
  }

  .faq-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(38px, 7vw, 85px);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .sticky-mobile-bar {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    gap: 30px;
    font-size: 0.8rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cta-action:hover,
  .btn:hover,
  .sticky-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.035);
  }

  .btn-call:hover,
  .sticky-call:hover {
    box-shadow:
      0 13px 28px rgba(234, 88, 12, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  .btn-zalo:hover,
  .sticky-zalo:hover,
  .btn-outline-zalo:hover {
    box-shadow:
      0 12px 25px rgba(0, 104, 255, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  .price-cta:hover,
  .area-item:hover,
  .faq-call:hover,
  .site-header .btn-call:hover {
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
  }

  .area-item:hover {
    transform: translateY(-2px);
    filter: brightness(1.015);
  }

  .area-item:hover b {
    transform: translate(2px, -2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
