/*
Theme Name: DTV Thailand Premium
Theme URI: https://example.com
Author: DTV Thailand
Author URI: https://example.com
Description: Premium one-page WordPress theme for DTV Thailand visa assistance. Dark navy and gold luxury design. Fully responsive.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dtv-thailand-premium
Tags: one-page, business, custom-colors, custom-logo, full-width-template
*/

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --navy:   #061522;
  --navy2:  #071b2c;
  --navy3:  #0b2338;
  --gold:   #d9a64a;
  --gold2:  #f4c36c;
  --cream:  #fbf7ef;
  --paper:  #ffffff;
  --line:   #eadcc6;
  --text:   #101b2b;
  --muted:  #607083;
  --soft:   #f7f2e9;
  --shadow: 0 24px 60px rgba(5,21,34,.13);
  --serif:  Georgia, 'Times New Roman', serif;
  --sans:   Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 14px;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: min(1380px, calc(100% - 96px));
  margin: 0 auto;
}
.section { padding: 96px 0; }

/* ─── UTILITY ────────────────────────────────────────────── */
.small-label {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border-radius: 7px;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 900;
  text-transform: uppercase;
  transition: .2s;
  border: none;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #081827;
  box-shadow: 0 12px 28px rgba(217,166,74,.25);
}
.btn-gold:hover { background: linear-gradient(135deg, #ffd27a, var(--gold2)); }
.btn-dark {
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
}
.btn-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-white {
  background: white;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-white:hover { border-color: var(--gold); }

/* ─── ICON CIRCLES ───────────────────────────────────────── */
.icon {
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 17px;
  flex: 0 0 auto;
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 32px 0;
}
.nav-inner {
  width: min(1480px, calc(100% - 80px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.brand-mark {
  width: 62px;
  height: 62px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 28px;
  font-family: var(--serif);
  line-height: 1;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: .88;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  list-style: none;
}
.nav-links a { color: rgba(255,255,255,.8); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav .btn { padding: 16px 24px; color: #061522; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 760px;
  background-image:
    linear-gradient(90deg,
      rgba(4,16,28,.97) 0%,
      rgba(4,16,28,.82) 34%,
      rgba(4,16,28,.22) 62%,
      rgba(4,16,28,.08) 100%),
    url('assets/hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 150px 0 76px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  background: linear-gradient(0deg, rgba(4,16,28,.82), rgba(4,16,28,0));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 58vw);
  padding-top: 34px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(54px, 5.4vw, 92px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 24px 0 26px;
}
.hero h1 span { color: var(--gold2); }
.hero > .container > .hero-content > p {
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255,255,255,.9);
  max-width: 720px;
  margin: 0 0 38px;
}
.hero-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 760px;
  margin: 0 0 44px;
}
.hero-icon {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* ─── TRUST BAR ──────────────────────────────────────────── */
.trustbar {
  background: #061522;
  color: #fff;
  border-top: 1px solid rgba(217,166,74,.55);
  border-bottom: 1px solid rgba(217,166,74,.25);
}
.trust-grid {
  width: min(1480px, calc(100% - 80px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.trust-item {
  padding: 30px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 1px solid rgba(255,255,255,.12);
}
.trust-item:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.trust-item .icon { width: 38px; height: 38px; border-radius: var(--radius); }
.trust-item h4 { margin: 0 0 4px; font-size: 15px; }
.trust-item p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.35; }

/* ─── INTRO / WHAT IS DTV ────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.55fr;
  gap: 70px;
  align-items: start;
}
.intro-copy h2,
.dark-copy h2,
.process h2,
.packages h2,
.faq h2 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 12px 0 24px;
}
.intro-copy p { font-size: 18px; color: var(--muted); margin: 0 0 34px; }
.check-list { display: grid; gap: 15px; }
.check-list li {
  list-style: none;
  display: flex;
  gap: 14px;
  color: #4f5e70;
  font-size: 17px;
}
.check-list li::before { content: '✓'; color: var(--gold); font-weight: 900; }

/* ─── CATEGORY CARDS ─────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.cat-img {
  height: 220px;
  background: url('assets/hero.png') center / cover;
  position: relative;
}
.cat-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,21,34,0), rgba(6,21,34,.45));
}
.cat-num {
  position: absolute;
  left: 22px;
  top: 22px;
  background: #071b2c;
  color: #fff;
  border-radius: 8px;
  padding: 8px 11px;
  font-weight: 900;
  z-index: 1;
}
.cat-body { padding: 30px 32px 34px; }
.category-card h3 {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.05;
  margin: 0 0 14px;
}
.category-card p { color: #526172; margin: 0 0 20px; }
.category-card ul {
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 9px;
}
.category-card li {
  list-style: none;
  color: #48586a;
  font-size: 15px;
  display: flex;
  gap: 10px;
}
.category-card li::before { content: '✓'; color: var(--gold); font-weight: 900; }
.learn {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #b6791d;
  font-weight: 900;
  margin-top: auto;
  display: block;
}

/* ─── WHY US / DARK SECTION ──────────────────────────────── */
.dark-section {
  background: linear-gradient(135deg, #061522, #071d31);
  color: #fff;
  padding: 86px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  align-items: center;
}
.dark-copy p { color: rgba(255,255,255,.76); font-size: 18px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  padding: 35px 30px;
  min-height: 205px;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature .icon { border-radius: var(--radius); margin-bottom: 18px; }
.feature h3 { margin: 0 0 10px; font-size: 17px; }
.feature p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; }

/* ─── PROCESS ────────────────────────────────────────────── */
.process {
  text-align: center;
  background: #fff;
}
.process .small-label,
.packages .small-label { text-align: center; display: block; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 56px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 43px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(217,166,74,.3), var(--gold));
}
.step { position: relative; padding: 0 16px; }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
}
.step-icon {
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #071b2c;
  background: #fff;
}
.step h3 { font-size: 16px; margin: 0 0 10px; }
.step p { font-size: 14px; color: #68788a; margin: 0; }

/* ─── PACKAGES / PRICING ─────────────────────────────────── */
.packages {
  background: var(--soft);
  padding: 90px 0;
}
.packages h2 { text-align: center; }
.package-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr .92fr;
  gap: 28px;
  margin-top: 44px;
}
.price-card,
.note-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 38px;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.dark {
  background: linear-gradient(145deg, #061522, #071d31);
  color: #fff;
  border-color: rgba(217,166,74,.65);
}
.badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: #071827;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.price-card .subtitle {
  font-weight: 800;
  font-size: 13px;
  color: #b7791f;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.price-card.dark .subtitle { color: var(--gold2); }
.price-card p,
.note-card p { color: #647386; margin: 0 0 24px; }
.price-card.dark p { color: rgba(255,255,255,.72); }
.price {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  margin: 26px 0 18px;
}
.price-card ul,
.note-card ul {
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.price-card li,
.note-card li {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #526172;
}
.price-card.dark li { color: rgba(255,255,255,.83); }
.price-card li::before,
.note-card li::before { content: '✓'; color: var(--gold); font-weight: 900; }
.note-img {
  height: 150px;
  border-radius: 11px;
  background: url('assets/hero.png') center / cover;
  margin-top: 28px;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { padding: 80px 0; background: #fff; }
.faq h2 { text-align: center; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin-top: 36px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #243145;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--gold); }
.faq-item span { color: var(--gold); font-size: 22px; font-weight: 300; margin-left: 12px; flex-shrink: 0; }
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 9px 9px;
  background: #fff;
}
.faq-item.open + .faq-answer { display: block; }

/* ─── FINAL CTA ──────────────────────────────────────────── */
.final-cta {
  background-image:
    linear-gradient(90deg, rgba(6,21,34,.96), rgba(6,21,34,.55)),
    url('assets/hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 58px 0;
}
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.final-inner h2 {
  font-family: var(--serif);
  font-size: 38px;
  margin: 0 0 5px;
}
.final-inner p { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #061522;
  color: #fff;
  padding: 58px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 38px;
}
.footer h4 {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer p,
.footer a { color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.9; }
.footer a:hover { color: var(--gold); }
.copyright {
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ─── WORDPRESS CORE CLASSES ─────────────────────────────── */
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .container { width: min(100% - 40px, 900px); }
  .hero-content { width: 100%; }
  .hero { background-position: center right; }
  .hero h1 { font-size: 58px; }
  .hero-icons,
  .trust-grid,
  .category-grid,
  .features-grid,
  .steps,
  .package-grid,
  .faq-grid,
  .footer-grid,
  .intro-grid,
  .why-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 1px solid rgba(255,255,255,.12); }
  .category-card { min-height: auto; }
  .final-inner { flex-direction: column; text-align: center; }
  .feature { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .steps::before { display: none; }
}

@media (max-width: 640px) {
  .nav-inner { width: calc(100% - 32px); }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 48px; height: 48px; }
  .nav .btn { display: none; }
  .hero { min-height: 720px; padding-top: 120px; }
  .hero h1 { font-size: 44px; }
  .hero > .container > .hero-content > p { font-size: 16px; }
  .hero-icons { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section { padding: 64px 0; }
  .intro-copy h2,
  .dark-copy h2,
  .process h2,
  .packages h2,
  .faq h2 { font-size: 36px; }
  .price-card, .note-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
}
