/* ============================================================
   Tara Meridian Global Co., Ltd. — landing styles
   Light, modern aesthetic.
   Palette sampled from logo PNGs:
     emerald  #116e44   olive  #8f8d34   gold  #c49a2e
     slate    #4d7084 (secondary)
   ============================================================ */

:root {
  --emerald:    #137a4b;
  --olive:      #8f8d34;
  --gold:       #c89a2c;
  --slate:      #4d7084;

  --grad: linear-gradient(100deg, var(--emerald) 0%, var(--olive) 52%, var(--gold) 100%);

  --bg:        #ffffff;
  --bg-soft:   #f6f8f7;
  --surface:   #ffffff;
  --line:      #e7eae9;
  --line-soft: #eef1f0;

  --text:      #1b2128;
  --text-soft: #5a636d;
  --text-mut:  #8b949e;

  --maxw: 1120px;
  --radius: 18px;
  --shadow:  0 12px 34px rgba(20, 40, 35, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.header-logo img { height: 38px; width: auto; display: block; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}
.header-nav a { color: var(--text-soft); transition: color 0.2s ease; }
.header-nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--text);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: #000; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(19, 122, 75, 0.08), transparent 55%),
    var(--bg);
}
.hero-glow {
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: 720px;
  background:
    radial-gradient(closest-side, rgba(200, 154, 44, 0.20), transparent 70%),
    radial-gradient(closest-side, rgba(19, 122, 75, 0.18), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 80px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-mark {
  width: clamp(160px, 26vw, 240px);
  height: auto;
  margin-bottom: 36px;
  filter: drop-shadow(0 18px 44px rgba(19, 122, 75, 0.22));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-eyebrow {
  margin: 0 0 22px;
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
}
.hero-title {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text);
}
.hero-tagline {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(19, 122, 75, 0.26);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.btn-ghost:hover { background: var(--bg-soft); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 700px; margin: 0 auto 64px; text-align: center; }
.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.section-lede {
  margin: 18px auto 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 4px; width: 100%;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 22px 44px rgba(20, 40, 35, 0.12);
}
.card:hover::before { opacity: 1; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 1.55rem;
  color: #fff;
  background: var(--grad);
  margin-bottom: 20px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
}
.card p { margin: 0; color: var(--text-soft); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(77, 112, 132, 0.07), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-copy .section-kicker,
.contact-copy .section-title { text-align: left; }
.contact-copy .section-lede { margin-left: 0; text-align: left; }
.contact-details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-item { margin-bottom: 26px; }
.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-mut);
  margin-bottom: 7px;
}
.contact-value {
  font-style: normal;
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.55;
}
a.contact-value {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.contact-btn { margin-top: 6px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  text-align: center;
  padding: 54px 0;
}
.footer-name { margin: 0 0 6px; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.footer-meta { margin: 0 0 18px; font-size: 0.92rem; color: var(--text-soft); }
.footer-copy { margin: 0; font-size: 0.84rem; color: var(--text-mut); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .hero-inner { padding: 56px 24px 84px; }
  .cards { grid-template-columns: 1fr; }
  .header-nav { gap: 14px; }
  .header-logo span { display: none; }
}
