/* ── Cristal Instruments — Shared Styles ── */

:root {
  --blue: #0a3d62;
  --blue-d: #072b46;
  --blue-l: #1763a0;
  --red: #c0392b;
  --red-d: #962a1f;
  --ink: #1a242f;
  --text: #3a4654;
  --muted: #6b7889;
  --line: #dfe4ec;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --bg-3: #eef2f7;
  --yellow: #f4b400;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --display: "Barlow Condensed", "Helvetica Neue", sans-serif;
  --body: "Barlow", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  border-radius: 10px;
}
::selection { background: var(--blue); color: #fff; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .wrap { padding: 0 18px; } }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.kicker {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
  margin-bottom: 14px;
  position: relative;
  padding-left: 34px;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}
.kicker.light { color: #ffd166; }
.kicker.light::before { background: #ffd166; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 2px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
  border-radius: 10px;
}
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue); }

/* ── TOPBAR ── */
.topbar { background: var(--blue-d); color: #cdd6e3; font-size: 13px; }
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar .info { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar .info a,
.topbar .info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.topbar .info a:hover { color: #fff; }
.topbar .info svg { color: var(--yellow); }
.topbar .right { display: flex; align-items: center; gap: 20px; }
.topbar .socials { display: flex; gap: 10px; }
.topbar .socials a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: all .2s;
  border-radius: 999px;
}
.topbar .socials a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-d);
}
.topbar .iso { font-weight: 600; color: #fff; letter-spacing: .06em; font-size: 12px; }

/* ── NAV ── */
.nav {
  background: #fff;
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.header-logo img { height: 70px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.menu a:hover { color: var(--red); }
.menu a.active { color: var(--blue); }
.menu a.active::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--red);
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.search-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all .2s;
  border-radius: var(--radius-sm);
}
.search-btn:hover { border-color: var(--blue); color: var(--blue); }
.mobile-toggle { display: none; }
@media (max-width: 1020px) {
  .nav .wrap { flex-wrap: wrap; }
  .menu {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 14px;
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; border-top: 1px solid var(--line); }
  .menu a.active::after { display: none; }
  .mobile-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
  }
}
@media (max-width: 640px) { .nav-right .btn { display: none; } }
@media (max-width: 768px) { .header-logo img { height: 40px; } }

/* ── INNER PAGE HERO (base) ── */
.page-hero {
  position: relative;
  background: var(--blue-d);
  color: #fff;
  padding: 70px 0 80px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .12;
}
.page-hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(192, 57, 43, .2) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255, 255, 255, .55); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; opacity: .4; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: #ffd166; }
.page-hero .ph-sub {
  font-size: 17px;
  color: #a8b8cc;
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 0;
}
.ph-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  flex-wrap: wrap;
}
.ph-stat b {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}
.ph-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #7a9ab8;
  margin-top: 4px;
  display: block;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--red);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 40px, rgba(0, 0, 0, .04) 40px 41px);
}
.cta-band .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 38px);
  text-transform: uppercase;
  font-family: var(--display);
  font-weight: 800;
}
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 15px; margin-top: 10px; }
.cta-band .row { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band .row { justify-content: flex-start; } }

/* ── FOOTER ── */
footer { background: #f2f5f8; color: var(--text); padding: 0; border-top: 4px solid var(--red); }
.foot-top { background: var(--blue); padding: 12px 0; }
.foot-top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-certs { display: flex; align-items: center; flex-wrap: wrap; }
.foot-cert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, .15);
}
.foot-cert:first-child { padding-left: 0; }
.foot-cert:last-child { border-right: 0; }
.foot-cert svg { color: #ffd166; flex: none; }
.foot-tagline { font-size: 12px; color: rgba(255, 255, 255, .42); font-style: italic; white-space: nowrap; }
@media (max-width: 760px) {
  .foot-tagline { display: none; }
  .foot-cert { padding: 4px 12px; }
}
@media (max-width: 520px) { .foot-top { display: none; } }
.foot-main { padding: 56px 0 48px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .foot-logo { margin-bottom: 16px; }
.foot-brand .foot-logo img { height: 64px; width: auto; }
.foot-brand p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin: 0 0 20px; }
.foot-socials { display: flex; gap: 9px; flex-wrap: wrap; }
.foot-socials a {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all .2s;
  border-radius: var(--radius-sm);
}
.foot-socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
footer h5 {
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 20px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
  letter-spacing: .04em;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  font-size: 13.5px;
  color: var(--muted);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
footer ul a:hover { color: var(--red); padding-left: 3px; }
footer ul a::before{content:"›";color:var(--red);font-weight:700;font-size:15px;line-height:1}
.foot-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.foot-contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.fci-ic {
  width: 34px;
  height: 34px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
}
.fci-k {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 2px;
}
.fci-v { font-size: 12.5px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.fci-v a:hover { color: var(--red); }
.foot-bar { border-top: 1px solid var(--line); background: #e5e9ef; padding: 15px 0; }
.foot-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-bar-copy { font-size: 12.5px; color: var(--muted); }
.foot-bar-copy strong { color: var(--ink); font-weight: 600; }
.foot-back-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
}
.foot-back-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── UTILS ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
