/* ── Design tokens ───────────────────────────────────────────────── */
:root {
  --bg:           #f5f6fa;
  --surface:      #ffffff;
  --surface-2:    #f0f2f8;
  --border:       #e2e6f0;
  --text:         #0f172a;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;
  --primary:      #1a56db;
  --primary-dark: #1244b5;
  --primary-bg:   #eff4ff;
  --wa:           #25d366;
  --wa-dark:      #1aad54;
  --accent:       #f59e0b;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-sm:    0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:       0 4px 16px rgba(15,23,42,.08), 0 1px 4px rgba(15,23,42,.04);
  --shadow-lg:    0 12px 40px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-icon { font-size: 1.3rem; }

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-hours {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: none;
}

@media (min-width: 600px) { .nav-hours { display: inline; } }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-sm  { height: 36px; padding: 0 16px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-lg  { height: 52px; padding: 0 28px; font-size: 1rem; border-radius: var(--radius); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,86,219,.28);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 14px rgba(26,86,219,.36); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,211,102,.30);
}
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 4px 14px rgba(37,211,102,.38); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: var(--surface-2); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #1a56db 0%, #1e3a8a 100%);
  padding: 72px 24px 64px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 16px;
}

.hero-inner > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}

.hero-meta-item { display: flex; align-items: center; gap: 5px; }
.hero-meta-sep  { opacity: .4; padding: 0 4px; }

.hero-updated {
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
}

/* ── Main layout ─────────────────────────────────────────────────── */
.main-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ── Rates table ─────────────────────────────────────────────────── */
.rates-section {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}

.rates-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.rates-table thead {
  background: var(--surface-2);
}

.rates-table th {
  padding: 13px 20px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.th-sub {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light);
  margin-left: 4px;
}

.th-currency { width: 220px; }
.th-action   { width: 60px; }

.rates-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}

.rates-table tbody tr:last-child { border-bottom: none; }
.rates-table tbody tr:hover { background: var(--primary-bg); }

.rates-table td {
  padding: 16px 20px;
  vertical-align: middle;
}

/* currency cell */
.td-currency {
  display: flex;
  align-items: center;
  gap: 14px;
}

.currency-flag {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.currency-name { font-weight: 700; font-size: 1rem; }
.currency-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

/* rate chips */
.rate-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.rate-chip-sell {
  background: #f0fdf4;
  color: #16a34a;
}

.rate-chip-unit {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: .7;
}

.wa-row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background .12s, transform .1s;
}
.wa-row-btn:hover { background: var(--wa-dark); transform: scale(1.08); }

/* skeleton */
.skeleton-row td { padding: 20px; }
.skeleton {
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* CTA bar below table */
.rates-cta-bar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #eff4ff, #f0fdf4);
  border-radius: var(--radius-lg);
  border: 1px solid #c7d7fd;
}

.rates-cta-bar span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── Bottom two-col grid ──────────────────────────────────────────── */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

@media (max-width: 860px) { .bottom-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ── Contact links ───────────────────────────────────────────────── */
.contact-links { display: flex; flex-direction: column; gap: 12px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color .15s, background .15s, box-shadow .15s;
  cursor: pointer;
}

.contact-link:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
  box-shadow: var(--shadow-sm);
}

.contact-link-wa:hover { border-color: var(--wa); background: #f0fdf4; }

.cl-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.cl-icon-wa {
  background: var(--wa);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.cl-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cl-text strong { font-size: 0.9rem; font-weight: 700; }
.cl-text span   { font-size: 0.82rem; color: var(--text-muted); }

.cl-arrow {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: transform .15s;
}
.contact-link:hover .cl-arrow { transform: translateX(3px); }

/* ── Inquiry form ────────────────────────────────────────────────── */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

textarea { resize: vertical; }

.label-full { width: 100%; }

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-status {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.5);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

.footer-inner span:first-child { color: rgba(255,255,255,.8); font-weight: 600; }

.footer-map-link { color: rgba(255,255,255,.5); transition: color .15s; }
.footer-map-link:hover { color: rgba(255,255,255,.85); }

.info-value-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; opacity: .9; font-size: 0.85rem; line-height: 1.4; }
.info-value-link:hover { opacity: 1; }
