/* ============================================
   Check Medal — Landing Page
   Theme: Premium gold + dark navy + warm white
   Font: Prompt (all weights)
   ============================================ */

:root {
  --primary: #C8961E;       /* premium gold */
  --primary-dark: #9C7113;
  --primary-light: #E8C76B;
  --secondary: #1A1A2E;     /* dark navy */
  --accent: #EE4439;        /* Race Up red */
  --bg: #FFFFFF;
  --bg-soft: #FAF7F1;       /* warm cream */
  --bg-dark: #0F0F1E;
  --text: #1A1A2E;
  --text-soft: #4A4A5E;
  --text-mute: #8B8B9C;
  --border: #E8E4DA;
  --shadow-sm: 0 2px 8px rgba(26,26,46,.06);
  --shadow-md: 0 8px 24px rgba(26,26,46,.10);
  --shadow-lg: 0 16px 48px rgba(26,26,46,.14);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --transition: 0.25s cubic-bezier(.4,.0,.2,1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Prompt', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button { cursor: pointer; font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: 'Prompt', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--secondary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--text-soft); }

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

.eyebrow {
  display: inline-block;
  font-family: 'Prompt', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: .25rem 0;
  border-bottom: 2px solid var(--primary-light);
}

.accent-text { color: var(--primary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200,150,30,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200,150,30,.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,.92);
  color: var(--secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  color: var(--secondary);
  font-size: .98rem;
  position: relative;
  padding: .25rem 0;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { padding: .6rem 1.4rem !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--secondary);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
  overflow: hidden;
}
.hero-bg-decor {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,150,30,.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  margin-bottom: 1.2rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-medal {
  max-width: 460px;
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(26,26,46,.25));
  animation: float 6s ease-in-out infinite;
}
.float-deco {
  position: absolute;
  opacity: .5;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.deco-1 { top: 10%; left: 5%; width: 100px; animation-delay: -2s; }
.deco-2 { bottom: 15%; right: 5%; width: 80px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

/* ===== Stats ===== */
.stats-bar {
  background: var(--secondary);
  color: #fff;
  padding: 50px 0;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light), var(--primary));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-family: 'Prompt', sans-serif;
  font-weight: 400;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
}

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 { margin-bottom: 1rem; }
.about-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== Section Head ===== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head h2 { margin-bottom: .6rem; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mute);
  margin: 0;
}

/* ===== Products ===== */
.products {
  padding: 100px 0;
  background: var(--bg-soft);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 { margin-bottom: .2rem; }
.product-en {
  font-family: 'Prompt', sans-serif;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .8rem;
}
.product-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 1rem;
}
.product-body p { flex: 1; font-size: .95rem; }
.card-cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: all var(--transition);
}
.card-cta:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateX(4px);
}

/* ===== Process ===== */
.process {
  padding: 100px 0;
  background: #fff;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step-card {
  position: relative;
  padding: 2rem 1.6rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.step-card:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1rem;
}
.step-icon svg { width: 26px; height: 26px; }
.step-num {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-family: 'Prompt', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
  opacity: .5;
  line-height: 1;
}
.step-card h4 { margin-bottom: .4rem; }
.step-card p { margin: 0; font-size: .92rem; color: var(--text-soft); }

/* ===== Gallery ===== */
.gallery {
  padding: 100px 0;
  background: var(--bg-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  background: #f0f0f0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '+';
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background: #fff;
}
.testi-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  min-height: 220px;
}
.testi-slide {
  display: none;
  padding: 2rem;
  animation: fadeIn .5s ease;
}
.testi-slide.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quote {
  font-family: 'Prompt', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--secondary);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.who {
  font-size: .95rem;
  color: var(--text-mute);
}
.who strong { color: var(--primary); font-family: 'Prompt', sans-serif; }
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}
.testi-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  transition: all var(--transition);
}
.testi-dots button.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ===== Cross CTA ===== */
.cross-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #2A2A4A 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cross-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,150,30,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.cross-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cross-text h2 { color: #fff; margin-bottom: 1rem; }
.cross-text p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.cross-text strong { color: var(--primary-light); }

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--bg-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: .8rem; }
.contact-lead {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.ci-label {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  color: var(--text-mute);
  font-size: .9rem;
  letter-spacing: .04em;
}

.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 1.5rem; }
.form-row {
  margin-bottom: 1.1rem;
}
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row label {
  display: block;
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-row label span { color: var(--accent); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,150,30,.12);
}
.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--text-mute);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 50px;
}
.foot-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: .04em;
}
.foot-col a {
  display: block;
  color: rgba(255,255,255,.7);
  padding: .3rem 0;
  font-size: .95rem;
}
.foot-col a:hover { color: var(--primary-light); }
.foot-col p { margin: .3rem 0; font-size: .92rem; color: rgba(255,255,255,.7); }
.foot-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.social {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  font-family: 'Prompt', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
}
.social a:hover {
  background: var(--primary);
  color: #fff;
}
.copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn .25s ease;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,.2); }

/* ===== Floating Chat ===== */
.floating-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A886CD 0%, #6B4F9C 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(168,134,205,.45);
  z-index: 999;
  transition: all var(--transition);
}
.floating-chat:hover {
  transform: scale(1.08);
  color: #fff;
}
.floating-chat svg { width: 28px; height: 28px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { padding: 110px 0 60px; }
  .hero-grid,
  .about-grid,
  .cross-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: 360px; }
  .hero-medal { max-width: 320px; }

  .product-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 100px 0 50px; }
  .hero-text h1 { font-size: 2rem; }
  .lead { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

  .main-nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform var(--transition);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-top: .5rem; text-align: center; }

  .product-grid,
  .process-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row.two { grid-template-columns: 1fr; }
  .contact-form { padding: 1.6rem; }

  .about, .products, .process, .gallery, .testimonials, .cross-cta, .contact {
    padding: 60px 0;
  }
  .quote { font-size: 1.1rem; }
  .contact-list li { grid-template-columns: 80px 1fr; }
}
                        