:root {
  --red: #ff0000;
  --red-dark: #d10000;
  --text: #686868;
  --heading: #363636;
  --muted: #808080;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.iti-home {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.2; font-weight: 800; }
p { margin: 0 0 14px; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 40px;
  padding: 11px 20px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { background: var(--red-dark); color: #fff; }
.btn svg { width: 16px; height: 16px; }

.site-head { position: sticky; top: 0; z-index: 40; background: #fff; }
.topbar { background: #f5f5f5; border-bottom: 1px solid #ececec; }
.topbar-inner, .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-inner { min-height: 52px; }
.contact-info { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 8px; color: #222; font-weight: 700; font-size: 15px; }
.search-wrap { position: relative; width: min(280px, 100%); }
.search-wrap input {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #fff;
  border-radius: 30px;
  padding: 9px 40px 9px 16px;
  outline: none;
}
.search-wrap .search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.search-results {
  display: none;
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  z-index: 50;
  max-height: 280px;
  overflow: auto;
  padding: 8px 0;
}
.search-results a { display: block; padding: 8px 14px; color: #444; font-weight: 700; }
.search-results a:hover { background: #fff1f1; color: var(--red); }
.header-inner { min-height: 86px; }
.logo img { height: 68px; width: auto; max-width: 240px; }
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cta { white-space: nowrap; flex: 0 0 auto; }
.header-cta svg, .mobile-cta svg { width: 16px; height: 16px; }
.nav { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 9px;
  color: #808080;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.nav > li > a:hover, .nav > li:hover > a, .nav > li.active > a { color: var(--red); }
.caret { font-size: 9px; color: #9a9a9a; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  padding: 8px 0;
  z-index: 30;
}
.dropdown a { display: block; padding: 8px 14px; color: #555; font-weight: 700; font-size: 14px; }
.dropdown a:hover { color: var(--red); background: #fff5f5; }
.nav > li:hover > .dropdown { display: block; }
.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  border: 0; background: transparent; cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; height: 3px; margin: 5px 0; background: var(--red); border-radius: 3px; }
.mobile-cta { display: none; }
.nav > li.mobile-only { display: none; }

.hero { position: relative; overflow: hidden; background: #222; color: #fff; min-height: 560px; }
.hero-track { display: flex; min-height: 560px; transition: transform .7s ease; }
.hero-slide {
  flex: 0 0 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.45); }
.hero-content { position: relative; z-index: 1; padding: 70px 0 110px; max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 58px); }
.hero p { color: #fff; font-size: 18px; max-width: 640px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 78px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.75); cursor: pointer; }
.hero-dots button.active { background: var(--red); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

.ticker { background: var(--red); color: #fff; overflow: hidden; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tick 28s linear infinite; padding: 12px 0; font-weight: 800; }
.ticker a { color: #fff; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 72px 0; }
.section h2 { color: var(--red); font-size: clamp(30px, 4vw, 42px); }
.center { text-align: center; }
.about-grid, .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.about-photo { border-radius: 16px; min-height: 280px; background: #ddd center/cover no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.08); }

.trades { background: #d1d5db; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.trade {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}
.trade-photo { height: 160px; background: #333 center/cover no-repeat; position: relative; }
.trade-photo h3 {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  color: #fff; font-size: 18px; margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.trade .btn { margin: 14px; }

.stats { background: var(--red); color: #fff; }
.stats h2, .stats p { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; margin-top: 18px; }
.stats-grid h3 { color: #fff; font-size: 40px; margin: 0; }

.info-grid { display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: 18px; }
.info-card, .person {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 22px;
}
.info-card h3, .person h3 { color: var(--heading); font-size: 20px; }
.cm { text-align: center; }
.cm img { width: 120px; height: 140px; object-fit: cover; margin: 0 auto 10px; border-radius: 12px; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }

.links { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.links a {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  display: grid;
  place-items: center;
  min-height: 72px;
}
.links img { max-height: 52px; width: auto; margin: 0 auto; }

.cta {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: #222 center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.5); }
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); }

.site-footer { background: #e9e9e9; color: #686868; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.1fr; gap: 24px; }
.site-footer h4 { color: #363636; text-transform: uppercase; font-size: 16px; }
.site-footer a { color: #686868; }
.site-footer a:hover { color: var(--red); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer strong { color: #363636; }
.copy { text-align: center; padding: 16px 0 18px; color: #686868; font-size: 14px; }
.to-top {
  position: fixed; right: 16px; bottom: 16px;
  width: 42px; height: 42px; border: 0;
  background: var(--red); color: #fff; font-size: 20px; cursor: pointer; z-index: 40;
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; order: 3; margin-left: auto; }
  .header-inner { position: relative; }
  .header-right { order: 2; width: 0; overflow: visible; position: static; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    max-height: 70vh;
    overflow: auto;
  }
  .nav.open { display: flex; }
  .dropdown { position: static; box-shadow: none; display: none; padding-left: 8px; }
  .nav > li.open > .dropdown { display: block; }
  .mobile-cta { display: inline-flex; margin: 8px 12px; }
  .nav > li.mobile-only { display: block; }
  .card-grid, .people { grid-template-columns: 1fr 1fr; }
  .about-grid, .split, .info-grid, .footer-grid { grid-template-columns: 1fr; }
  .links { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
.page-banner {
  background: linear-gradient(rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0.5)), url("../images/banner5.jpg") center/cover no-repeat;
  padding: 64px 0;
  text-align: center;
}
.page-banner h1 { color: #fff; margin: 0; font-size: clamp(28px, 4vw, 46px); }
.admin-login { padding: 56px 0 72px; background: #f7f7f7; }
.login-card {
  width: min(460px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 32px 28px;
}
.login-card h2 { color: var(--red); text-align: center; font-size: 28px; }
.login-card .lead { text-align: center; color: var(--text); margin-bottom: 22px; }
.login-card label { display: block; font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.login-card .field { margin-bottom: 16px; }
.login-card .input-wrap { position: relative; }
.login-card .input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
.login-card input[type="text"],
.login-card input[type="password"] {
  width: 100%;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  font: inherit;
  color: var(--heading);
  outline: none;
  background: #fff;
}
.login-card input:focus { border-color: var(--red); }
.login-card .login-error {
  background: #fff1f1;
  color: var(--red-dark);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 700;
}
.login-card .btn { width: 100%; margin-top: 6px; }
@media (max-width: 700px) {
  .page-banner { padding: 40px 0; }
  .login-card { padding: 24px 18px; }
  .topbar-inner { flex-direction: column; align-items: stretch; padding: 10px 0; }
  .contact-info { justify-content: center; }
  .search-wrap { width: 100%; }
  .hero, .hero-track, .hero-slide { min-height: 480px; }
  .hero-content, .hero h1, .hero p { text-align: center; }
  .hero-actions { display: flex; justify-content: center; flex-wrap: wrap; }
  .logo img { height: 52px; }
  .card-grid, .people, .info-grid, .links, .stats-grid { grid-template-columns: 1fr; }
}
