:root {
  --navy: #0d2165;
  --blue: #1a3a8f;
  --teal: #2dbdaa;
  --teal-light: #e0f5f3;
  --blue-light: #e8eef8;
  --white: #ffffff;
  --gray: #5a6a85;
  --border: #c8e8e4;
  --text: #0d2165;
  --bg: #f4fbfa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); padding-top: 68px; }

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 68px;
}
.logo { text-decoration: none; }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 0 16px; height: 68px; line-height: 68px;
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--gray);
  transition: color 0.2s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--blue); }
.nav-links > li > a.active { border-bottom: 2px solid var(--teal); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: 68px; left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 0; min-width: 220px;
  box-shadow: 0 12px 32px rgba(13,33,101,0.1); list-style: none; z-index: 300;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 9px 18px;
  font-size: 13px; color: var(--gray); text-decoration: none;
  transition: all 0.15s;
}
.dropdown li a:hover { background: var(--teal-light); color: var(--blue); }

.hamburger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--navy); }
.nav-cta {
  background: var(--blue); color: white; padding: 10px 20px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--navy); }

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #e8eef8 0%, #e0f5f3 100%);
  padding: 3rem 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 0.8rem; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy); margin-bottom: 0.5rem;
}
.page-header p { font-size: 15px; color: var(--gray); max-width: 600px; line-height: 1.6; }

/* SECTION */
.section { padding: 60px 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem;
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--navy); margin-bottom: 0.8rem;
}

/* FOOTER */
footer { background: #060f24; color: rgba(255,255,255,0.6); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
footer h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 1rem; }
footer p, footer a { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.5); text-decoration: none; display: block; }
footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.2rem; font-size: 12px; text-align: center; }

/* CARDS */
.card {
  background: white; border-radius: 14px;
  border: 1px solid var(--border); padding: 1.5rem;
  transition: all 0.2s;
}
.card:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(13,33,101,0.08); transform: translateY(-2px); }

/* TEST ITEM */
.test-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px;
  transition: all 0.15s; gap: 12px;
}
.test-item:hover { border-color: var(--teal); background: var(--teal-light); }
.test-item .tname { font-size: 13px; color: var(--text); font-weight: 500; flex: 1; }
.test-item .tprice { font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.test-item .tcall { font-size: 12px; color: var(--gray); white-space: nowrap; }

/* BTN */
.btn-primary {
  background: var(--blue); color: white; padding: 12px 24px;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  text-decoration: none; display: inline-block; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); }
.btn-teal {
  background: var(--teal); color: white; padding: 12px 24px;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  text-decoration: none; display: inline-block; transition: all 0.2s;
}
.btn-teal:hover { background: #25a898; }
.btn-outline {
  background: white; color: var(--blue); padding: 11px 22px;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--border); transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--teal); background: var(--teal-light); }

/* CATEGORY BADGE */
.cat-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--blue-light); color: var(--blue);
}
.cat-badge.teal { background: var(--teal-light); color: #1a6b62; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: white;
    border-bottom: 1px solid var(--border); padding: 1rem 0; gap: 0;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { height: auto; line-height: 1.5; padding: 10px 2rem; }
  .dropdown { position: static; box-shadow: none; border: none; border-radius: 0; background: var(--bg); }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { display: none; }
}
