/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f5f5f5;
  --bg-alt: #ebebeb;
  --footer-bg: #e0e0e0;
  --gold: #EF9F27;
  --gold-hover: #d88d1f;
  --text: #1a1a1a;
  --text-dim: #666666;
  --heading: #111111;
  --card-bg: #ffffff;
  --border: #d9d9d9;
  --nav-bg: rgba(245, 245, 245, 0.92);
  --step-num: #e8e8e8;
  --contact-icon-bg: #f0f0f0;
  --table-hover: #f0f0f0;
  --radius-card: 0;
  --radius-btn: 0;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --bg-alt: #111111;
  --footer-bg: #080808;
  --gold: #EF9F27;
  --gold-hover: #d88d1f;
  --text: #e0e0e0;
  --text-dim: #888888;
  --heading: #ffffff;
  --card-bg: #161616;
  --border: #222222;
  --nav-bg: rgba(15, 15, 15, 0.92);
  --step-num: #1a1a1a;
  --contact-icon-bg: #1a1a1a;
  --table-hover: #1a1a1a;
  --radius-card: 0;
  --radius-btn: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* ===== Screen Reader Only ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ===== Focus Styles ===== */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Remove outline for mouse clicks */
:focus:not(:focus-visible) {
  outline: none;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.logo-en {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.3px;
}

.logo-np {
  font-size: 12px;
  color: var(--text-dim);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

/* ===== Language Toggle ===== */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2px;
  cursor: pointer;
  gap: 0;
}

.lang-opt {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.2s;
  line-height: 1;
}

.lang-opt.active {
  background: var(--gold);
  color: #000;
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-dim);
  transition: all 0.2s;
}

.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: url('images/banner.png') center calc(100% + 40px) / contain no-repeat, var(--bg);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 30%, transparent 50%, var(--bg) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: #000;
}

.btn-gold:hover {
  background: var(--gold-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
  width: 100%;
  margin-top: 8px;
}

/* ===== Section ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 56px;
}

/* ===== Equipment Grid ===== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eq-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.eq-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.eq-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eq-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.eq-avail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.green {
  background: #22c55e;
}

.eq-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.eq-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.eq-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.eq-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

/* ===== Rates Table ===== */
.rates-table-wrap {
  overflow-x: auto;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.rates-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.rates-table td {
  padding: 16px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.rates-table tbody tr:last-child td {
  border-bottom: none;
}

.rates-table tbody tr {
  background: var(--card-bg);
  transition: background 0.15s;
}

.rates-table tbody tr:hover {
  background: var(--table-hover);
}

.rate-price {
  font-weight: 700;
  color: var(--gold);
}

.rates-note {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 24px;
}

/* ===== Steps / How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.step-num {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 96px;
  font-weight: 900;
  color: var(--step-num);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===== Contact Grid ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--contact-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.contact-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Social Links ===== */
.social-section {
  margin-top: 48px;
  text-align: center;
}

.social-label {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link-sm {
  padding: 0;
  width: 36px;
  height: 36px;
  justify-content: center;
  font-size: 0;
}

.social-link-sm span {
  display: none;
}

.social-link-sm svg {
  width: 18px;
  height: 18px;
}

.footer-np {
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-right {
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
  }

  .hero {
    padding: 120px 0 220px;
    min-height: auto;
    background-size: 150%;
    background-position: center bottom;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .equipment-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
