/* =========================================================
   NUSCH.SK — Statická duplikácia
   Národný ústav srdcových a cievnych chorôb, a.s.
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.857;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #2B46A2; text-decoration: none; transition: color .3s; }
a:hover { color: #D32821; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: #000; }
h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
  background: #2B46A2;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a { color: #fff; }
.top-bar a:hover { color: #ffd; opacity: .85; }

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar__phone svg { width: 14px; height: 14px; fill: #fff; }

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__hours {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar__hours svg { width: 14px; height: 14px; fill: #fff; }

.top-bar__socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-bar__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: transform .2s, opacity .2s;
}

.top-bar__socials a:hover { transform: scale(1.15); opacity: .85; }
.top-bar__socials svg { width: 16px; height: 16px; fill: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  background: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: box-shadow .3s;
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  height: 60px;
  width: auto;
}

.header__tagline {
  font-size: 12px;
  color: #2B46A2;
  font-weight: 500;
  line-height: 1.4;
  max-width: 200px;
  flex-shrink: 0;
}

.header__search {
  margin-left: auto;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .3s;
}

.search-form:focus-within { border-color: #2B46A2; }

.search-form input {
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 200px;
  background: transparent;
}

.search-form button {
  background: linear-gradient(180deg, #D6261C 0%, #9D1810 100%);
  border: none;
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity .3s;
}

.search-form button:hover { opacity: .85; }
.search-form button svg { width: 16px; height: 16px; fill: #fff; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav { flex: 1; }

.nav__list {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #2B46A2;
  white-space: nowrap;
  transition: color .3s, background .3s;
}

.nav__link:hover,
.nav__item:hover > .nav__link,
.nav__item--active > .nav__link {
  color: #D32821;
}

/* Dropdown arrow */
.nav__link--has-children::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform .3s;
}

.nav__item:hover > .nav__link--has-children::after {
  transform: rotate(180deg);
}

/* Level 1 dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #B21B1B;
  border-radius: 0 0 10px 10px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s, visibility .25s, transform .25s;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.nav__item:hover > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: background .2s, color .2s;
}

.nav__dropdown a:hover {
  background: #2B46A2;
  color: #fff;
}

/* Level 2 sub-dropdown */
.nav__sub-item {
  position: relative;
}

.nav__sub-item > a::after {
  content: '›';
  float: right;
  font-size: 16px;
  opacity: .7;
}

.nav__sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 240px;
  background: #9D1810;
  border-radius: 0 10px 10px 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity .25s, visibility .25s, transform .25s;
  z-index: 101;
  box-shadow: 4px 8px 24px rgba(0,0,0,.2);
}

.nav__sub-item:hover > .nav__sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav__sub-dropdown a::after { display: none; }

/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #2B46A2;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #1a2a4a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 50, .55);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 60px 20px;
  color: #fff;
}

.hero__title {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
.section {
  padding: 60px 0;
}

.section--gray { background: #f5f5f5; }
.section--blue { background: #2B46A2; color: #fff; }
.section--blue h2,
.section--blue h3,
.section--blue a { color: #fff; }

.section__title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #2B46A2;
}

.section__title--white { color: #fff; }

.section__subtitle {
  text-align: center;
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: -20px auto 40px;
}

/* Red divider under titles */
.section__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #D6261C, #9D1810);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* =========================================================
   PRAKTICKÉ INFO KARTY
   ========================================================= */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 6px 6px 9px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 16px rgba(0,0,0,.25);
}

.info-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card__icon svg,
.info-card__icon img {
  width: 56px;
  height: 56px;
}

.info-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #2B46A2;
}

.info-card__text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.info-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   NOVINKY / NEWS CARDS
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 6px 6px 9px rgba(0,0,0,.2);
  background: #fff;
  transition: transform .3s, box-shadow .3s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 16px rgba(0,0,0,.25);
}

.news-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #e0e0e0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__category {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #D32821;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.news-card__body {
  padding: 20px;
}

.news-card__date {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card__title a { color: inherit; }
.news-card__title a:hover { color: #D32821; }

.news-card__excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

/* =========================================================
   PROMO BANNERS
   ========================================================= */
.promo-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-banner {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: flex-end;
  box-shadow: 6px 6px 9px rgba(0,0,0,.2);
  transition: transform .3s;
}

.promo-banner:hover { transform: translateY(-4px); }

.promo-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.promo-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 70%);
  z-index: 2;
}

.promo-banner__content {
  position: relative;
  z-index: 3;
  padding: 20px;
  color: #fff;
}

.promo-banner__title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

/* =========================================================
   STATS / COUNTER
   ========================================================= */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: 48px;
  font-weight: 600;
  color: #2B46A2;
  line-height: 1.2;
}

.stat__label {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background .3s, transform .2s, box-shadow .3s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: #2B46A2;
  color: #fff;
}
.btn--primary:hover { background: #1e3580; color: #fff; box-shadow: 0 4px 12px rgba(43,70,162,.4); }

.btn--red {
  background: linear-gradient(180deg, #D6261C 0%, #9D1810 100%);
  color: #fff;
}
.btn--red:hover { opacity: .9; color: #fff; box-shadow: 0 4px 12px rgba(211,40,33,.4); }

.btn--outline {
  background: transparent;
  border: 2px solid #2B46A2;
  color: #2B46A2;
}
.btn--outline:hover { background: #2B46A2; color: #fff; }

.btn--white {
  background: #fff;
  color: #2B46A2;
}
.btn--white:hover { background: #f0f0f0; color: #2B46A2; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 0 0;
  font-size: 14px;
}

.footer a { color: #ccc; }
.footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__heading {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer__address p {
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer__address strong { color: #fff; }

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__links a::before {
  content: '›';
  color: #D32821;
  font-weight: 600;
}

.footer__contact-media p {
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer__availability {
  margin-top: 16px;
}

.footer__availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(43,70,162,.3);
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer__availability-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.footer__phone {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.footer__email {
  color: #aaa;
}

/* Certifikácie */
.footer__certs {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
}

.footer__certs-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__cert {
  background: rgba(255,255,255,.08);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #aaa;
}

/* Social icons footer */
.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transition: background .3s, transform .2s;
}

.footer__socials a:hover {
  background: #2B46A2;
  transform: scale(1.1);
}

.footer__socials svg { width: 18px; height: 18px; fill: #fff; }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: #888;
}

.footer__bottom a { color: #aaa; }
.footer__bottom a:hover { color: #D32821; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: #2B46A2;
  padding: 40px 0;
  text-align: center;
}

.page-hero__title {
  color: #fff;
  font-size: 36px;
  font-weight: 600;
}

.page-hero__breadcrumb {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-top: 8px;
}

.page-hero__breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero__breadcrumb a:hover { color: #fff; }

/* =========================================================
   CONTENT PAGES
   ========================================================= */
.page-content {
  padding: 50px 0;
}

.page-content h2 {
  font-size: 28px;
  color: #2B46A2;
  margin: 32px 0 16px;
}

.page-content h3 {
  font-size: 22px;
  color: #2B46A2;
  margin: 24px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content ul {
  margin: 12px 0 20px 20px;
  list-style: disc;
}

.page-content ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.page-content ol {
  margin: 12px 0 20px 20px;
  list-style: decimal;
}

.page-content ol li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.page-content table th,
.page-content table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.page-content table th {
  background: #2B46A2;
  color: #fff;
  font-weight: 600;
}

.page-content table tr:hover { background: #f9f9f9; }

/* =========================================================
   CARD GRID (for listings: kliniky, oddelenia, ambulancie)
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 6px 6px 9px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 16px rgba(0,0,0,.25);
}

.card__title {
  font-size: 18px;
  font-weight: 600;
  color: #2B46A2;
  margin-bottom: 8px;
}

.card__text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card__link {
  font-size: 14px;
  font-weight: 600;
  color: #D32821;
}

.card__link:hover { color: #9D1810; }

/* =========================================================
   PEOPLE GRID (predstavitelia, vedecká rada)
   ========================================================= */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.person-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 6px 6px 9px rgba(0,0,0,.2);
  text-align: center;
  transition: transform .3s;
}

.person-card:hover { transform: translateY(-4px); }

.person-card__photo {
  height: 220px;
  overflow: hidden;
  background: #e0e0e0;
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__info {
  padding: 20px;
}

.person-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #2B46A2;
  margin-bottom: 4px;
}

.person-card__role {
  font-size: 13px;
  color: #777;
}

/* =========================================================
   CONTACT INFO
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-block {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 6px 6px 9px rgba(0,0,0,.2);
}

.contact-block__title {
  font-size: 20px;
  font-weight: 600;
  color: #2B46A2;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #D32821;
}

.contact-block p {
  margin-bottom: 8px;
}

.contact-block strong { color: #000; }

/* =========================================================
   FORM STYLES
   ========================================================= */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #fff;
  transition: border-color .3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #2B46A2;
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* =========================================================
   ARTICLE (novinky detail)
   ========================================================= */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: #888;
}

.article__category {
  background: #D32821;
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}

.article__featured-image {
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
}

.article__featured-image img {
  width: 100%;
}

.article__content h2 { font-size: 24px; margin: 28px 0 12px; }
.article__content h3 { font-size: 20px; margin: 24px 0 10px; }
.article__content p { margin-bottom: 16px; line-height: 1.8; }
.article__content ul { margin: 12px 0 20px 20px; list-style: disc; }
.article__content li { margin-bottom: 6px; }
.article__content img { border-radius: 10px; margin: 20px 0; }

.article__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* =========================================================
   NEWS LISTING
   ========================================================= */
.news-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ddd;
  transition: background .3s, border-color .3s;
}

.pagination a:hover { background: #f0f0f0; border-color: #2B46A2; }

.pagination .active {
  background: #2B46A2;
  color: #fff;
  border-color: #2B46A2;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #2B46A2;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .3s;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: #D32821; }
.back-to-top svg { width: 20px; height: 20px; fill: #fff; }

/* =========================================================
   AOS — Animate On Scroll (lightweight)
   ========================================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-in"] { transform: none; }
[data-aos="zoom-in"] { transform: scale(.95); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* =========================================================
   RESPONSIVE — Tablet (≤ 921px)
   ========================================================= */
@media (max-width: 921px) {
  .header .container {
    flex-wrap: wrap;
  }

  .header__tagline { display: none; }
  .header__search { order: 3; width: 100%; margin: 8px 0 0; }
  .search-form { width: 100%; }
  .search-form input { width: 100%; }

  .mobile-toggle { display: block; margin-left: auto; }

  .nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    transition: right .3s;
    box-shadow: -4px 0 20px rgba(0,0,0,.2);
    padding: 60px 0 20px;
  }

  .nav.open { right: 0; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link { padding: 12px 20px; font-size: 15px; }

  .nav__dropdown,
  .nav__sub-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    display: none;
    background: #D32821;
  }

  .nav__dropdown.open,
  .nav__sub-dropdown.open { display: block; }

  .nav__sub-dropdown { background: #9D1810; }

  .nav__link--has-children::after {
    float: right;
    margin-top: 2px;
  }

  .nav__item:hover > .nav__dropdown,
  .nav__sub-item:hover > .nav__sub-dropdown {
    display: none;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* =========================================================
   RESPONSIVE — Mobile (≤ 767px)
   ========================================================= */
@media (max-width: 767px) {
  h1 { font-size: 28px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }

  .section { padding: 40px 0; }
  .section__title { font-size: 26px; margin-bottom: 24px; }

  .hero { min-height: 350px; }
  .hero__title { font-size: 24px; }
  .hero__content { padding: 40px 16px; }

  .info-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .info-card { padding: 20px 16px; }
  .info-card__icon { width: 48px; height: 48px; }
  .info-card__icon svg, .info-card__icon img { width: 40px; height: 40px; }

  .news-grid,
  .news-listing { grid-template-columns: 1fr; }

  .promo-banners { grid-template-columns: 1fr; }
  .promo-banner { height: 180px; }

  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .stats { gap: 30px; }
  .stat__number { font-size: 36px; }

  .page-hero__title { font-size: 26px; }

  .top-bar__hours { display: none; }
  .top-bar__right { gap: 10px; }
}

@media (max-width: 480px) {
  .info-cards { grid-template-columns: 1fr; }
  .top-bar__socials { gap: 6px; }
  .top-bar__socials a { width: 24px; height: 24px; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .top-bar, .header, .footer, .back-to-top, .mobile-toggle { display: none; }
  .hero { min-height: auto; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
}
