:root {
  --bg: #f5f7fb;
  --bg-strong: #0d355a;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #12263a;
  --text-muted: #4f5f72;
  --brand: #0f5e9c;
  --brand-dark: #0b4a7b;
  --accent: #16a34a;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(9, 30, 66, 0.12);
  --container: min(1140px, 94vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.is-scroll-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #0b2b47;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
}

.skip-link:focus {
  left: 0.8rem;
}

.announcement-bar {
  background: linear-gradient(90deg, #092138, #0f5e9c);
  color: #d8ecff;
  font-size: 0.95rem;
}

.announcement-bar .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-link {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-weight: 600;
}

.top-ad-wrap {
  background: #ffffff;
  border-bottom: 1px solid #d9e3ef;
}

.top-ad-wrap .container {
  padding-top: 0.45rem;
  padding-bottom: 0.6rem;
}

.top-ad-header {
  color: #5f7083;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.top-ad-unit {
  min-height: 90px;
  background: #f4f8fd;
  border: 1px dashed #cad8e7;
  border-radius: 10px;
}

.top-ad-wrap.is-ready .top-ad-unit {
  background: transparent;
  border-color: transparent;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d9e3ef;
}

.nav-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--brand-dark);
}

.brand img {
  border-radius: 12px;
}

.brand-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-visits {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #33597e;
  font-size: 0.82rem;
  font-weight: 700;
  background: #eaf2fb;
  border: 1px solid #cddff2;
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  line-height: 1;
}

.brand-visits svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.brand-visits strong {
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand-dark);
  background: #e6f1fb;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #e6eff9;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #12314d;
  margin: 5px 0;
}

main {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(11, 42, 71, 0.9), rgba(15, 94, 156, 0.82)), url('/assets/images/branding/tc.jpg') center/cover no-repeat;
  color: #f4f9ff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
  min-height: clamp(260px, 30vw, 380px);
  margin-block: 1.1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.hero p {
  max-width: 860px;
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: #d8ebff;
  line-height: 1.55;
}

.section {
  margin-block: 1.2rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 580px;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.95rem;
  grid-auto-rows: 1fr;
}

.service-card {
  background: linear-gradient(165deg, var(--surface), var(--surface-soft));
  border-radius: var(--radius);
  border: 1px solid #d8e5f5;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  padding: 0.95rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 204px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(14, 36, 63, 0.16);
}

.service-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.service-card__head img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
}

.service-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.card-badge {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #dbfce7;
  color: #166534;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.info-block {
  background: var(--surface);
  border: 1px solid #dde7f5;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  padding: 1rem;
  line-height: 1.6;
}

.info-block p {
  margin-top: 0;
  color: var(--text-muted);
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.95rem;
}

.info-grid .info-block h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #0d355a;
  font-size: 1.1rem;
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.action-button {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font-weight: 700;
  text-align: center;
}

.action-button.alt {
  background: linear-gradient(145deg, #1f7f4a, #18623a);
}

.site-footer {
  margin-top: 2rem;
  background: #0c243b;
  color: #d5e8fc;
}

.footer-grid {
  min-height: 220px;
  display: grid;
  gap: 1.2rem;
  align-content: center;
  padding-block: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.site-footer h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer .muted {
  color: #9fbbd8;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.contact-list a {
  color: #d7ecff;
}

.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 8, 15, 0.92);
  display: none;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.image-overlay.open {
  display: flex;
}

.image-overlay img {
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
}

.overlay-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.overlay-actions button,
.overlay-actions a {
  border: 0;
  text-decoration: none;
  color: #08223a;
  background: #f8fbff;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(5, 16, 30, 0.74);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.consent-modal.open {
  display: flex;
}

.consent-modal__card {
  width: min(680px, 94vw);
  background: #ffffff;
  border: 1px solid #dbe6f4;
  border-radius: 16px;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.24);
  padding: 1.1rem;
}

.consent-modal__card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #0c2f4f;
}

.consent-modal__card p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 0.8rem 0;
}

.consent-btn {
  border: 0;
  border-radius: 11px;
  padding: 0.72rem 0.8rem;
  cursor: pointer;
  font-weight: 700;
  font: inherit;
}

.consent-btn--primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.consent-btn--secondary {
  background: #ecf2f9;
  color: #1b3550;
}

.consent-modal__link {
  color: var(--brand-dark);
  font-weight: 600;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 3vw;
    right: 3vw;
    top: 72px;
    display: none;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #d9e3ef;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 14px 30px rgba(16, 35, 61, 0.15);
  }

  .site-nav.open {
    display: flex;
  }

  .announcement-bar .container {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 0.4rem;
  }
}

@media (max-width: 540px) {
  .service-card {
    min-height: 190px;
  }

  .brand-title-wrap {
    gap: 0.45rem;
  }

  .brand-visits {
    font-size: 0.76rem;
    padding: 0.14rem 0.4rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .consent-modal__card {
    padding: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
