/* ==========================================================================
   Orange Medical — Site Stylesheet
   ========================================================================== */

:root {
  --orange: #ff7a1a;
  --orange-dark: #e0640a;
  --orange-light: #fff1e6;
  --ink: #1b1d21;
  --gray-800: #2b2e33;
  --gray-600: #5b6169;
  --gray-400: #9aa0a8;
  --gray-200: #e7e9ec;
  --gray-100: #f4f5f7;
  --gray-50: #fafafb;
  --white: #ffffff;
  --border: #e6e8eb;
  --shadow-sm: 0 1px 3px rgba(20, 22, 25, 0.06), 0 1px 2px rgba(20, 22, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 22, 25, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 22, 25, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 76px;
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Malgun Gothic',
    'Apple SD Gothic Neo', 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-800);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { background: var(--orange-light); color: var(--orange-dark); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-800);
}
.dropdown a:hover { background: var(--gray-100); color: var(--orange-dark); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gray-800);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color .15s, color .15s, background .15s;
}
.lang-switch:hover { border-color: var(--orange); color: var(--orange-dark); background: var(--orange-light); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    display: none;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .main-nav a.nav-link { padding: 14px 16px; font-size: 17px; border-radius: 10px; }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 14px;
    display: none;
    background: transparent;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 12px 14px; font-size: 15.5px; }
  .main-nav .mobile-cta { margin-top: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7f0 0%, #ffffff 65%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 76px;
  padding-bottom: 76px;
  min-height: 560px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.badge-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.badge-row .badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-600);
}
.badge-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* ---------- Feature strip ---------- */
.feature-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--orange-light);
  color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-item h3 { font-size: 16.5px; }
.feature-item p { font-size: 14.5px; color: var(--gray-600); }

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--gray-50); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p.lede { color: var(--gray-600); font-size: 16.5px; max-width: 560px; margin-top: 10px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p.lede { margin-left: auto; margin-right: auto; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card .thumb {
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--orange-dark);
}
.product-card h3 { font-size: 19px; }
.product-card p.desc { font-size: 14.5px; color: var(--gray-600); flex: 1; }
.product-card .card-link {
  margin-top: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card .card-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.product-card:hover .card-link svg { transform: translateX(3px); }

/* ---------- About teaser / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.stat-row { display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-size: 30px; color: var(--orange-dark); }
.stat-row .stat span { font-size: 13.5px; color: var(--gray-600); font-weight: 600; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-date { font-size: 13px; font-weight: 700; color: var(--gray-400); letter-spacing: 0.03em; }
.news-card h3 { font-size: 18px; margin: 10px 0 10px; }
.news-card p { font-size: 14.5px; color: var(--gray-600); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #ff8a2c, #ff6a00);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); max-width: 480px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-top: 10px; max-width: 480px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 26px; margin-bottom: 16px; background: var(--white); padding: 8px 12px; border-radius: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: rgba(255,255,255,0.62); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #fff7f0 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.page-header .eyebrow { margin-bottom: 12px; }
.page-header h1 { font-size: clamp(30px, 4vw, 44px); }
.page-header p.lede { color: var(--gray-600); font-size: 17px; max-width: 640px; margin-top: 14px; }
.breadcrumb { font-size: 13.5px; color: var(--gray-400); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--gray-600); font-weight: 600; }
.breadcrumb a:hover { color: var(--orange-dark); }

/* ---------- About page extras ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
}
.value-card .feature-icon { margin-bottom: 18px; }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--gray-600); }

.timeline { border-left: 2px solid var(--gray-200); padding-left: 28px; display: flex; flex-direction: column; gap: 30px; margin-top: 8px;}
.timeline .t-item { position: relative; }
.timeline .t-item::before {
  content: "";
  position: absolute; left: -34px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--orange-light);
}
.timeline .t-item b { display: block; color: var(--orange-dark); font-size: 14px; margin-bottom: 4px; }
.timeline .t-item p { color: var(--gray-600); font-size: 15px; }

/* ---------- Product detail page ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.product-detail:last-of-type { border-bottom: none; }
.product-detail .media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--gray-100);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.product-detail .media img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.product-detail .info h2 { font-size: 27px; margin-bottom: 8px; }
.product-detail .info .cat { color: var(--orange-dark); font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; display:block; }
.product-detail .info .quote {
  font-size: 17px;
  color: var(--gray-800);
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  margin: 18px 0 22px;
  font-weight: 600;
}
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; font-size: 14.5px; vertical-align: top; }
.spec-table th { width: 170px; color: var(--gray-600); font-weight: 600; }
.spec-table td { color: var(--ink); font-weight: 500; }
.product-detail .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.chip {
  font-size: 13px; font-weight: 600; color: var(--gray-800);
  background: var(--gray-100); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
  background: var(--white);
}
.contact-card .feature-icon { flex-shrink: 0; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--gray-600); }
.contact-card a:hover { color: var(--orange-dark); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 380px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--gray-50);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--gray-800); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--gray-400); margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-media { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; padding: 48px 0; }
  .product-detail .media { position: static; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 34px; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1; }
}
