/*
Theme Name: VMST Finance
Theme URI: https://vmst.vn
Author: Owen
Author URI: https://vmst.vn
Description: VMST Finance is a premium WordPress theme designed specifically for financial consultants, investment firms, wealth management companies, corporate advisors, and professional service businesses. Featuring a modern corporate design, responsive layout, SEO-friendly structure, and conversion-focused sections, the theme helps financial brands establish trust and credibility online. Built for performance and flexibility, VMST Finance delivers a professional digital presence suitable for both local and international financial organizations.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vmst-finance
*/

:root {
  --vmst-navy: #081a2f;
  --vmst-navy-soft: #102844;
  --vmst-gold: #d8b24a;
  --vmst-gold-strong: #f0c75e;
  --vmst-ink: #11243b;
  --vmst-body: #4a5b70;
  --vmst-line: #dce4ec;
  --vmst-surface: #f6f8fb;
  --vmst-white: #ffffff;
  --vmst-shadow: 0 20px 60px rgba(8, 26, 47, 0.12);
  --vmst-radius: 24px;
  --vmst-container: 1200px;
  --vmst-header-height: 84px;
  --vmst-transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  color: var(--vmst-body);
  background: var(--vmst-white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--vmst-white);
  clip: auto !important;
  clip-path: none;
  color: var(--vmst-navy);
  display: block;
  height: auto;
  left: 16px;
  line-height: normal;
  padding: 12px 16px;
  text-decoration: none;
  top: 16px;
  width: auto;
  z-index: 100000;
}

.vmst-site {
  overflow-x: clip;
}

.vmst-container {
  width: min(calc(100% - 32px), var(--vmst-container));
  margin: 0 auto;
}

.vmst-section {
  padding: 88px 0;
}

.vmst-section--tight {
  padding: 72px 0;
}

.vmst-section--dark {
  background:
    linear-gradient(135deg, rgba(216, 178, 74, 0.08), transparent 38%),
    linear-gradient(180deg, #091a2f 0%, #0e2740 100%);
  color: rgba(255, 255, 255, 0.8);
}

.vmst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--vmst-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vmst-eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.vmst-section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.vmst-section-heading h2,
.vmst-hero__content h1,
.vmst-cta__title {
  margin: 0 0 18px;
  color: var(--vmst-ink);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2rem, 3vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.vmst-section--dark .vmst-section-heading h2,
.vmst-section--dark .vmst-cta__title {
  color: var(--vmst-white);
}

.vmst-section-heading p,
.vmst-hero__content p,
.vmst-cta__text {
  margin: 0;
  font-size: 1.05rem;
}

.vmst-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 26, 47, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vmst-site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(7, 18, 32, 0.22);
}

.vmst-site-header__inner {
  min-height: var(--vmst-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.vmst-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--vmst-white);
  flex: 0 1 auto;
  min-width: 0;
}

.vmst-brand__image {
  width: 150px;
  max-width: 100%;
  flex-shrink: 0;
}

.vmst-brand__meta {
  display: none;
  min-width: 0;
  line-height: 1.25;
}

.vmst-brand__meta strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.vmst-brand__meta span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.vmst-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--vmst-white);
  border-radius: 50%;
  cursor: pointer;
}

.vmst-nav-toggle__line,
.vmst-nav-toggle__line::before,
.vmst-nav-toggle__line::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--vmst-transition), opacity var(--vmst-transition);
}

.vmst-nav-toggle__line {
  position: relative;
}

.vmst-nav-toggle__line::before,
.vmst-nav-toggle__line::after {
  content: "";
  position: absolute;
  left: 0;
}

.vmst-nav-toggle__line::before {
  top: -6px;
}

.vmst-nav-toggle__line::after {
  top: 6px;
}

.vmst-site-header.is-menu-open .vmst-nav-toggle__line {
  background: transparent;
}

.vmst-site-header.is-menu-open .vmst-nav-toggle__line::before {
  transform: translateY(6px) rotate(45deg);
}

.vmst-site-header.is-menu-open .vmst-nav-toggle__line::after {
  transform: translateY(-6px) rotate(-45deg);
}

.vmst-primary-nav {
  position: absolute;
  inset: 100% 0 auto;
  background: rgba(8, 26, 47, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0 24px;
  display: none;
}

.vmst-site-header.is-menu-open .vmst-primary-nav {
  display: block;
}

.vmst-primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vmst-primary-nav .menu {
  display: grid;
  gap: 8px;
}

.vmst-primary-nav a {
  display: block;
  color: var(--vmst-white);
  padding: 12px 16px;
  border-radius: 14px;
  transition: background var(--vmst-transition), color var(--vmst-transition);
}

.vmst-primary-nav a:hover,
.vmst-primary-nav a:focus {
  background: rgba(216, 178, 74, 0.12);
  color: var(--vmst-gold-strong);
}

.vmst-header-cta {
  display: none;
  white-space: nowrap;
}

.vmst-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-family: "Times New Roman", Times, serif;
  white-space: nowrap;
  transition:
    transform var(--vmst-transition),
    box-shadow var(--vmst-transition),
    background var(--vmst-transition),
    color var(--vmst-transition),
    border-color var(--vmst-transition);
}

.vmst-button:hover,
.vmst-button:focus {
  transform: translateY(-1px);
}

.vmst-button--primary {
  background: linear-gradient(135deg, var(--vmst-gold), var(--vmst-gold-strong));
  color: var(--vmst-navy);
  box-shadow: 0 14px 30px rgba(216, 178, 74, 0.28);
}

.vmst-button--secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--vmst-white);
}

.vmst-button--secondary-dark {
  border-color: rgba(17, 36, 59, 0.16);
  color: var(--vmst-ink);
  background: var(--vmst-white);
}

.vmst-hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    linear-gradient(180deg, rgba(8, 26, 47, 0.82) 0%, rgba(8, 26, 47, 0.72) 100%),
    linear-gradient(135deg, rgba(216, 178, 74, 0.2), transparent 40%),
    url("assets/images/hero-grid.svg") center/cover no-repeat;
  color: rgba(255, 255, 255, 0.8);
}

.vmst-hero__grid,
.vmst-about,
.vmst-contact {
  display: grid;
  gap: 32px;
}

.vmst-hero__content h1 {
  color: var(--vmst-white);
}

.vmst-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.vmst-hero__card {
  background: rgba(7, 20, 36, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--vmst-radius);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.vmst-hero__card h2,
.vmst-hero__card p {
  color: var(--vmst-white);
}

.vmst-hero__card p {
  color: rgba(255, 255, 255, 0.88);
}

.vmst-kpis {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.vmst-kpi {
  padding: 22px 20px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  min-width: 0;
}

.vmst-kpi strong {
  display: block;
  color: var(--vmst-gold-strong);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.vmst-kpi span {
  display: block;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: break-word;
}

.vmst-grid {
  display: grid;
  gap: 24px;
}

.vmst-grid--services,
.vmst-grid--reasons,
.vmst-grid--testimonials {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.vmst-card {
  background: var(--vmst-white);
  border: 1px solid var(--vmst-line);
  border-radius: var(--vmst-radius);
  padding: 28px;
  box-shadow: var(--vmst-shadow);
}

.vmst-card h3,
.vmst-process__step h3,
.vmst-testimonial h3 {
  margin: 0 0 14px;
  color: var(--vmst-ink);
  font-size: 1.2rem;
}

.vmst-card p,
.vmst-process__step p,
.vmst-testimonial p {
  margin: 0;
}

.vmst-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(216, 178, 74, 0.16), rgba(8, 26, 47, 0.08));
  color: var(--vmst-gold);
}

.vmst-icon svg {
  width: 28px;
  height: 28px;
}

.vmst-about__content {
  display: grid;
  gap: 22px;
}

.vmst-about__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.vmst-about__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.vmst-about__list li::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--vmst-gold);
}

.vmst-visual-panel {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(216, 178, 74, 0.28), transparent 34%),
    linear-gradient(180deg, var(--vmst-navy) 0%, #12365b 100%);
  border-radius: 32px;
  padding: 28px;
  color: var(--vmst-white);
  min-height: 100%;
  overflow: hidden;
}

.vmst-visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  pointer-events: none;
}

.vmst-visual-panel__content {
  position: relative;
  z-index: 1;
}

.vmst-process {
  display: grid;
  gap: 18px;
}

.vmst-process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.vmst-section--dark .vmst-process__step h3 {
  color: var(--vmst-white);
}

.vmst-section--dark .vmst-process__step p {
  color: rgba(255, 255, 255, 0.82);
}

.vmst-process__number {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vmst-gold);
  color: var(--vmst-navy);
  font-weight: 700;
}

.vmst-testimonial {
  position: relative;
  padding-top: 38px;
}

.vmst-testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 28px;
  color: rgba(216, 178, 74, 0.2);
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.vmst-testimonial__meta {
  margin-top: 18px;
  color: var(--vmst-gold);
  font-weight: 700;
}

.vmst-cta {
  border-radius: 36px;
  padding: 40px 28px;
  background:
    linear-gradient(135deg, rgba(216, 178, 74, 0.16), rgba(216, 178, 74, 0.04)),
    var(--vmst-white);
  border: 1px solid rgba(216, 178, 74, 0.2);
  box-shadow: var(--vmst-shadow);
}

.vmst-section--dark .vmst-cta .vmst-cta__title {
  color: var(--vmst-navy) !important;
}

.vmst-section--dark .vmst-cta .vmst-cta__text {
  color: var(--vmst-ink) !important;
}

.vmst-section--dark .vmst-cta .vmst-cta__text {
  color: rgba(255, 255, 255, 0.84);
}

.vmst-cta__inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.vmst-contact__card,
.vmst-contact-form {
  background: var(--vmst-white);
  border-radius: 28px;
  border: 1px solid var(--vmst-line);
  box-shadow: var(--vmst-shadow);
  padding: 28px;
}

.vmst-contact__details {
  display: grid;
  gap: 18px;
}

.vmst-contact__item strong {
  display: block;
  color: var(--vmst-ink);
  margin-bottom: 6px;
}

.vmst-form-grid {
  display: grid;
  gap: 16px;
}

.vmst-form-field {
  display: grid;
  gap: 8px;
}

.vmst-form-field label {
  color: var(--vmst-ink);
  font-weight: 700;
}

.vmst-form-field input,
.vmst-form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--vmst-line);
  border-radius: 18px;
  background: #fbfcfe;
  color: var(--vmst-ink);
}

.vmst-form-field input:focus,
.vmst-form-field textarea:focus {
  outline: 2px solid rgba(216, 178, 74, 0.35);
  border-color: rgba(216, 178, 74, 0.6);
}

.vmst-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
}

.vmst-notice--success {
  background: #edf9f1;
  color: #19693f;
}

.vmst-notice--error {
  background: #fdf0f0;
  color: #9b2c2c;
}

.vmst-map-placeholder {
  margin-top: 20px;
  border: 0;
  width: 100%;
  min-height: 280px;
  border-radius: 24px;
}

.vmst-site-footer {
  background: var(--vmst-navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
  border-top: 1px solid rgba(216, 178, 74, 0.16);
}

.vmst-site-footer__grid {
  display: grid;
  gap: 28px;
}

.vmst-site-footer__brand img {
  width: 180px;
}

.vmst-site-footer h3 {
  margin: 0 0 12px;
  color: var(--vmst-white);
  font-size: 1rem;
}

.vmst-site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vmst-site-footer a:hover,
.vmst-site-footer a:focus {
  color: var(--vmst-gold-strong);
}

.vmst-site-footer__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .vmst-section {
    padding: 110px 0;
  }

  .vmst-hero {
    padding: 110px 0 96px;
  }

  .vmst-hero__grid,
  .vmst-about,
  .vmst-contact,
  .vmst-cta__inner,
  .vmst-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vmst-grid--services,
  .vmst-grid--reasons,
  .vmst-grid--testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vmst-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vmst-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vmst-form-grid .vmst-form-field--full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .vmst-brand__meta {
    display: block;
    max-width: none;
  }

  .vmst-nav-toggle {
    display: none;
  }

  .vmst-primary-nav {
    position: static;
    display: block;
    background: transparent;
    padding: 0;
    border: 0;
  }

  .vmst-primary-nav .menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
  }

  .vmst-primary-nav a {
    padding: 10px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .vmst-header-cta {
    display: inline-flex;
    padding-inline: 20px;
    font-size: 0.95rem;
  }

  .vmst-site-header__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
  }

  .vmst-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(500px, 0.85fr);
    align-items: center;
  }

  .vmst-about {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: stretch;
  }

  .vmst-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vmst-grid--reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vmst-grid--testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vmst-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vmst-site-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  }
}

@media (min-width: 1024px) and (max-width: 1360px) {
  .vmst-site-header__inner {
    gap: 14px;
  }

  .vmst-brand__image {
    width: 126px;
  }

  .vmst-brand__meta strong {
    font-size: 0.8rem;
  }

  .vmst-brand__meta span {
    font-size: 0.62rem;
  }

  .vmst-site-header__nav {
    gap: 4px;
  }

  .vmst-primary-nav a {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .vmst-header-cta {
    min-height: 46px;
    padding-inline: 16px;
    font-size: 0.84rem;
  }
}

@media (min-width: 1024px) and (max-width: 1220px) {
  .vmst-brand__meta span {
    display: none;
  }

  .vmst-header-cta {
    padding-inline: 14px;
  }
}
