* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fira Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #f5f5f5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* ======================== */
/* CONTACT BAR              */
/* ======================== */
.header-full-wrap {
  width: 100%;
  background: #ffffff;
}

.contact-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 10px 30px;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  flex-wrap: wrap;
  max-width: 1220px;
  margin: 0 auto;
}

.logo-container img {
  height: 70px;
  width: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

.address-icon {
  color: #d32f2f;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.phone-icon {
  color: #d32f2f;
  font-size: 16px;
  width: 16px;
  text-align: center;
}

.contact-info .phone-text,
.contact-info .phone-text:link,
.contact-info .phone-text:visited,
.contact-info .phone-text:hover,
.contact-info .phone-text:active,
.contact-info .phone-text:focus {
  color: #333 !important;
  text-decoration: none !important;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f0f0f0;
  color: #555 !important;
  text-decoration: none;
  font-size: 17px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1.5px solid #d9d9d9;
  position: relative;
  overflow: hidden;
}

.social:hover {
  color: #fff !important;
  border-color: transparent;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ======================== */
/* HERO                     */
/* ======================== */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 60, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  z-index: 2;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 25px;
  opacity: 0.95;
}

.hero-btn {
  display: inline-block;
  padding: 12px 35px;
  background: #ffffff;
  color: #274b87;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .hero {
    height: 280px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* ======================== */
/* MENU PREMIUM             */
/* ======================== */
.menu-premium-wrap {
  width: 100%;
  background: #274b87;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.menu-premium {
  background: #274b87;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.menu-premium,
.menu-premium * {
  box-shadow: none !important;
}

.menu-premium ul {
  list-style: none;
  margin: 0 auto !important;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #274b87;
  border: none !important;
  max-width: 1220px;
}

.menu-premium ul li {
  position: relative;
  margin: 0;
  padding: 0;
}

.menu-premium ul li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  background: transparent;
}

.menu-premium ul li > a i {
  font-size: 14px;
  opacity: 0.9;
}

.menu-premium ul li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 10px;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.menu-premium ul li:hover > a {
  background: rgba(255, 255, 255, 0.08);
}

.menu-premium ul li:hover > a::after {
  transform: scaleX(1);
}

.menu-premium .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: none !important;
  border: 1px solid #e7edf5;
}

.menu-premium ul li:hover .dropdown,
.menu-premium ul li.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-premium .dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: #24364f !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.25s ease;
  background: #ffffff;
}

.menu-premium .dropdown a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: #274b87;
  opacity: 0.75;
}

.menu-premium .dropdown a:hover {
  background: #f4f7fb;
  padding-left: 24px;
  color: #274b87 !important;
}

/* ======================== */
/* MAIN CONTENT             */
/* ======================== */
.main-content {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 30px;
  min-height: calc(100vh - 200px);
}

.page-title {
  font-size: 36px;
  color: #274b87;
  margin-bottom: 20px;
  text-align: center;
}

.page-subtitle {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 28px;
  color: #274b87;
  margin-bottom: 15px;
}

.section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
  font-size: 20px;
  color: #274b87;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: #666;
}

/* ======================== */
/* GALLERY                  */
/* ======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4/3;
  background: #e0e0e0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ======================== */
/* DOCUMENT PAGES           */
/* ======================== */
.inst-hero {
  position: relative;
  background: linear-gradient(135deg, #1a2a50 0%, #274b87 50%, #1a2a50 100%);
  background-size: cover;
  background-position: center;
  padding: 80px 30px 70px;
  text-align: center;
  overflow: hidden;
}

.inst-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
}

.inst-hero-inner {
  position: relative;
  z-index: 1;
}

.inst-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.15);
  padding: 6px 18px;
  border-radius: 2px;
}

.inst-hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.inst-hero-line {
  width: 60px;
  height: 3px;
  background: #fff;
  margin: 0 auto 18px;
  opacity: .4;
}

.inst-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.inst-section {
  padding: 50px 30px;
}

.inst-section--light {
  background: #f4f6fb;
}

.inst-section--dark {
  background: #6b6b6b;
}

.inst-section--accent {
  background: #5a5a5a;
}

.inst-container {
  max-width: 900px;
  margin: 0 auto;
}

.inst-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: start;
}

.inst-block-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(39,75,135,.1);
  line-height: 1;
  font-family: 'Fira Sans', sans-serif;
}

.inst-section--dark .inst-block-num,
.inst-section--accent .inst-block-num {
  color: rgba(255,255,255,.1);
}

.inst-block--light .inst-block-num {
  color: rgba(255,255,255,.15);
}

.inst-block-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #274b87;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.inst-section--dark .inst-block-body h2,
.inst-section--accent .inst-block-body h2 {
  color: #fff;
}

.inst-block-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.inst-section--dark .inst-block-body p,
.inst-section--accent .inst-block-body p {
  color: rgba(255,255,255,.8);
}

@media (max-width: 700px) {
  .inst-hero h1 {
    font-size: 30px;
  }
  .inst-block {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }
  .inst-block-num {
    font-size: 32px;
  }
}

.inst-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.inst-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Fira Sans', sans-serif;
}

.inst-btn-primary {
  background: #274b87;
  color: #fff;
}

.inst-btn-primary:hover {
  background: #1a2a50;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39,75,135,.3);
}

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

.inst-btn-outline:hover {
  background: #fff;
  color: #1a2a50;
  transform: translateY(-2px);
}

.inst-btn-white {
  background: #fff;
  color: #1a2a50;
  border: 2px solid #fff;
}

.inst-btn-white:hover {
  background: #d32f2f;
  color: #fff;
  border-color: #d32f2f;
  transform: translateY(-2px);
}

.pdf-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pdf-modal-overlay.active {
  display: flex;
}

.pdf-modal {
  background: #fff;
  width: 100%;
  max-width: 900px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #1a2a50;
  color: #fff;
}

.pdf-modal-header h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.pdf-modal-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.pdf-modal-close:hover {
  background: rgba(255,255,255,.3);
}

.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 700px) {
  .inst-actions {
    flex-direction: column;
    align-items: center;
  }
  .pdf-modal {
    height: 90vh;
  }
}

/* ======================== */
/* CONTACT PAGE             */
/* ======================== */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, #1a2a50 0%, #274b87 60%, #3a6bbf 100%);
  padding: 70px 30px;
  text-align: center;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="80" cy="15" r="1.2" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="0.8" fill="rgba(255,255,255,0.04)"/><circle cx="90" cy="70" r="1.3" fill="rgba(255,255,255,0.03)"/></svg>');
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-hero p {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin: 0 auto;
}

.contact-info-strip {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf2;
  margin: 0 0 40px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.contact-info-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid #f0f0f0;
  transition: background 0.3s ease;
}

.contact-strip-item:last-child {
  border-right: none;
}

.contact-strip-item:hover {
  background: #f4f6fb;
}

.contact-strip-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(39,75,135,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #274b87;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-strip-item:hover .contact-strip-icon {
  background: #d32f2f;
  color: #fff;
  transform: scale(1.08);
}

.contact-strip-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 2px;
}

.contact-strip-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form-wrap {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  overflow: hidden;
}

.contact-form-header {
  background: linear-gradient(135deg, #274b87, #1a2a50);
  padding: 28px 30px;
  color: #fff;
}

.contact-form-header h2 {
  font-size: 22px;
  margin-bottom: 4px;
  color: #fff;
}

.contact-form-header p {
  font-size: 14px;
  opacity: .8;
  margin: 0;
}

.contact-form {
  padding: 30px;
  max-width: 100%;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  font-size: 13px;
}

.contact-form label i {
  color: #274b87;
  margin-right: 4px;
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e8ecf2;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Fira Sans', sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #274b87;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(39,75,135,.1);
}

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

.contact-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #274b87, #1a2a50);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Fira Sans', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39,75,135,.35);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  position: relative;
  flex: 1;
  min-height: 300px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
  display: block;
}

.map-open-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #274b87;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.map-open-btn:hover {
  background: #1a2a50;
  transform: translateY(-2px);
}

.contact-social-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  padding: 24px 28px;
  text-align: center;
}

.contact-social-box h3 {
  font-size: 15px;
  color: #333;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cs-link {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

.cs-fb { background: #1877f2; }
.cs-ig { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.cs-yt { background: #ff0000; }

.cs-link:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

@media (max-width: 900px) {
  .contact-info-strip {
    grid-template-columns: 1fr 1fr;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
  .contact-strip-item {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  .contact-strip-item:nth-child(odd) {
    border-right: 1px solid #f0f0f0;
  }
}

@media (max-width: 600px) {
  .contact-info-strip {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .contact-strip-item {
    border-right: none;
  }
}

/* ======================== */
/* NEWS SECTION             */
/* ======================== */
.news-section {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  overflow: visible;
}

.news-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 20px 40px;
  overflow: visible;
}

.news-section-title {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: visible;
}

.news-featured {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ddd;
  padding: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 8px;
}

.news-featured:hover {
  background: #1a2a50;
}

.news-featured:hover .news-title {
  color: #fff;
}

.news-featured:hover .news-excerpt {
  color: #ccc;
}

.news-featured:hover .news-link {
  color: #fff;
}

.news-featured-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 8px;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-featured:hover .news-featured-img img {
  transform: scale(1.03);
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #274b87;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
}

.news-featured-body {
  padding: 20px 0 0;
}

.news-title {
  font-family: 'Fira Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 8px 0 10px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.news-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 12px;
  transition: color 0.3s ease;
}

.news-link {
  font-size: 13px;
  font-weight: 700;
  color: #274b87;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.news-link:hover {
  text-decoration: underline;
}

.news-link-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  background: #e53935;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.news-link-btn:hover {
  background: #c62828;
  transform: translateY(-1px);
}

.news-list {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.news-item:hover { background: #1a2a50; }
.news-item:hover .news-title { color: #fff; }
.news-item:hover .news-excerpt { color: #ccc; }
.news-item:hover .news-link { color: #fff; }
.news-item:first-child { padding-top: 16px; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }

.news-item-img {
  width: 120px;
  min-width: 120px;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
}

.news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.news-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item-body .news-title { font-size: 16px; margin: 4px 0 6px; }

.news-item-body .news-excerpt {
  font-size: 13px;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 980px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { border-right: none; border-bottom: 1px solid #ddd; padding-right: 0; padding-bottom: 24px; margin-bottom: 24px; }
  .news-list { padding-left: 0; }
}

@media (max-width: 600px) {
  .news-item { flex-direction: column; gap: 10px; }
  .news-item-img { width: 100%; height: 160px; }
}

/* ======================== */
/* YOUTUBE CAROUSEL         */
/* ======================== */
.yt-carousel-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 20px;
  position: relative;
  padding-top: 380px;
}

.yt-section-title {
  text-align: center;
  margin-bottom: 30px;
}

.yt-kicker {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 8px;
  font-weight: 600;
}

.yt-section-title h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #111;
}

.yt-section-title p {
  margin-top: 10px;
  font-size: 16px;
  color: #666;
}

.yt-carousel-header {
  text-align: center;
  margin-bottom: 25px;
}

.yt-carousel-header a {
  background: #ff0000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}

.yt-carousel-header a:hover {
  background: #cc0000;
}

.yt-carousel-wrapper {
  overflow: hidden;
}

.yt-carousel {
  overflow: hidden;
  width: 100%;
}

.yt-track {
  display: flex;
  gap: 20px;
  width: max-content;
  transition: transform 0.6s ease;
}

.yt-carousel:hover .yt-track {
  animation-play-state: paused;
}

.yt-item {
  min-width: 280px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.yt-item-img {
  position: relative;
  overflow: hidden;
  height: 158px;
}

.yt-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yt-item:hover .yt-item-img img {
  transform: scale(1.06);
}

.yt-item-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yt-item:hover .yt-item-img::after {
  opacity: 1;
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.yt-item:hover .yt-play-btn {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

.yt-item p {
  color: #1a1a1a;
  padding: 14px 16px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
  .yt-item {
    min-width: 240px;
  }

  .yt-section-title h2 {
    font-size: 28px;
  }
}

/* ======================== */
/* NEWS MODAL               */
/* ======================== */
.news-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.news-modal-overlay.active {
  display: flex;
}

.news-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  transition: color 0.2s ease;
}

.news-modal-close:hover {
  color: #111;
}

.news-modal-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.news-modal-body {
  padding: 30px;
}

.news-modal-body h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px;
  line-height: 1.3;
  padding-right: 30px;
}

.news-modal-body p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin: 0;
}

/* ======================== */
/* VIDEO MODAL              */
/* ======================== */
.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video-modal-overlay.active {
  display: flex;
}

.video-modal {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  animation: modalIn 0.3s ease;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 1;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: #ff0000;
}

.video-modal-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.video-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 600px) {
  .video-modal {
    max-width: 100%;
    border-radius: 0;
  }
}

/* ======================== */
/* OLDER NEWS               */
/* ======================== */
.news-older-section {
  background: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.news-older-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 30px 20px 40px;
}

.news-older-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.news-older-header h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.news-older-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.news-older-item {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-older-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.news-older-item-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-older-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-older-item:hover .news-older-item-img img {
  transform: scale(1.05);
}

.news-older-item-body {
  padding: 14px;
}

.news-older-item-body h3 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.35;
}

.news-older-item-body .news-link {
  font-size: 12px;
}

@media (max-width: 980px) {
  .news-older-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-older-grid {
    grid-template-columns: 1fr;
  }

  .news-modal {
    max-height: 90vh;
  }

  .news-modal-body {
    padding: 20px;
  }

  .news-modal-body h2 {
    font-size: 20px;
  }
}

/* ======================== */
/* SOCIAL FEED OVERLAY      */
/* ======================== */
.lf-social-overlay {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  padding: 30px;
  z-index: 10;
}

.lf-social-header {
  text-align: center;
  margin-bottom: 24px;
}

.lf-social-kicker {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  font-weight: 700;
  margin-bottom: 8px;
}

.lf-social-header h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  color: #111;
  font-weight: 800;
}

.lf-social-header p {
  max-width: 760px;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.lf-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.lf-social-card {
  background: transparent;
}

.lf-social-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.lf-social-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}

.lf-social-icon svg {
  width: 28px;
  height: 28px;
}

.lf-social-icon.facebook {
  background: rgba(24, 119, 242, 0.9);
}

.lf-social-icon.instagram {
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 22%, #d62976 48%, #962fbf 74%, #4f5bd5 100%);
}

.lf-social-card-top h3 {
  margin: 0 0 5px;
  font-size: 24px;
  line-height: 1.2;
  color: #111;
  font-weight: 700;
}

.lf-social-card-top p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.lf-social-feed-box {
  border-top: 1px solid #ececec;
  padding-top: 18px;
}

.lf-social-feed-box iframe {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 980px) {
  .lf-social-grid {
    grid-template-columns: 1fr;
  }

  .lf-social-overlay {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 20px;
  }

  .yt-carousel-section {
    padding-top: 30px;
  }
}

@media (max-width: 767px) {
  .lf-social-header h2 {
    font-size: 29px;
  }

  .lf-social-card-top h3 {
    font-size: 21px;
  }
}

/* ======================== */
/* FOOTER                   */
/* ======================== */
.footer-lf {
  background: linear-gradient(135deg, #1a2a50 0%, #274b87 50%, #1a2a50 100%);
  color: #ffffff;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  padding: 50px 20px 0;
  position: relative;
}

.footer-lf::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.03) 0%, transparent 70%);
  animation: footer-shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footer-shimmer {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
}

.footer-lf .footer-container {
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
}

.footer-logo img {
  max-width: 200px;
  filter: brightness(0) invert(1);
  margin-bottom: 15px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.footer-logo img:hover {
  transform: scale(1.08);
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255,255,255,.3));
}

.footer-logo p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-lf h4 {
  font-size: 15px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffffff !important;
  position: relative;
  padding-bottom: 8px;
}

.footer-lf h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7eb3ff, transparent);
  transition: width 0.4s ease;
}

.footer-lf h4:hover::after {
  width: 100%;
}

.footer-lf a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.85;
  transition: all 0.3s ease;
  padding: 4px 0 4px 0;
  border-left: 2px solid transparent;
  position: relative;
}

.footer-lf a:hover {
  opacity: 1;
  padding-left: 10px;
  border-left-color: #7eb3ff;
  color: #7eb3ff;
  text-shadow: 0 0 8px rgba(126,179,255,.3);
}

.footer-contact p {
  font-size: 14px;
  margin: 8px 0;
  opacity: 0.9;
  transition: all 0.3s ease;
  padding: 4px 0;
  border-left: 2px solid transparent;
}

.footer-contact p:hover {
  padding-left: 8px;
  border-left-color: rgba(255,255,255,.4);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.fsi {
  display: inline-flex !important;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  font-size: 17px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 !important;
  margin: 0 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  border-left: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.fsi:hover {
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  padding: 0 !important;
  border-left: none !important;
  text-shadow: none !important;
}
  opacity: 1 !important;
}

.fsi-fb:hover { background: #1877f2; }
.fsi-ig:hover { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.fsi-yt:hover { background: #ff0000; }

.footer-credits {
  text-align: center;
  padding: 12px 0;
  font-size: 12px;
  opacity: 0.6;
}

.footer-credits a {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 4px;
}

.footer-credits img {
  height: 18px;
  width: auto;
  margin-left: 6px;
}

@media (max-width: 980px) {
  .footer-lf .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-lf .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ======================== */
/* RESPONSIVE               */
/* ======================== */
@media (max-width: 980px) {
  .menu-premium ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .menu-premium ul li {
    width: 100%;
  }

  .menu-premium ul li > a {
    justify-content: center;
  }

  .menu-premium .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    display: none;
  }

  .menu-premium ul li:hover .dropdown {
    display: block;
  }
}

@media (max-width: 768px) {
  .contact-bar {
    flex-direction: column;
    gap: 12px;
    padding: 10px 20px;
  }

  .page-title {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .contact-info {
    font-size: 14px;
  }

  .main-content {
    padding: 20px 15px;
  }
}

/* ── Bloques con acento de color (Equipos) ── */
.team-content {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-block {
  background: #f4f6fb;
  border-left: 5px solid #274b87;
  border-radius: 0 12px 12px 0;
  padding: 40px 45px;
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(39, 75, 135, 0.1);
}

.team-block-num {
  position: absolute;
  top: -18px;
  left: 30px;
  background: #274b87;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(39, 75, 135, 0.3);
}

.team-block h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a2a50;
  margin: 0 0 15px 0;
}

.team-block p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin: 0;
}

.team-block--accent2 {
  border-left-color: #d32f2f;
}

.team-block--accent2 .team-block-num {
  background: #d32f2f;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.team-block--accent3 {
  border-left-color: #274b87;
  background: #eef1f8;
}

.team-block--accent3 .team-block-num {
  background: #1a2a50;
  box-shadow: 0 4px 12px rgba(26, 42, 80, 0.3);
}

@media (max-width: 768px) {
  .team-content {
    padding: 50px 15px;
  }

  .team-block {
    padding: 30px 25px;
  }

  .team-block h2 {
    font-size: 19px;
  }
}

/* ════════════════════════════════════════════
   TALLERES — Estilo completamente distinto
   ════════════════════════════════════════════ */

/* Hero Talleres */
.talleres-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.talleres-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: talleresZoom 20s ease-in-out infinite alternate;
}

@keyframes talleresZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.talleres-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 42, 80, 0.92) 0%, rgba(39, 75, 135, 0.7) 50%, rgba(211, 47, 47, 0.4) 100%);
}

.talleres-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 60px;
}

.talleres-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  font-family: 'Fira Sans', sans-serif;
}

.talleres-hero-content h1 {
  font-family: 'Fira Sans', sans-serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 20px 0;
}

.talleres-hero-content h1 span {
  color: #7eb3ff;
}

.talleres-hero-content p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 35px 0;
  max-width: 520px;
}

.talleres-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d32f2f;
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.talleres-hero-btn:hover {
  background: #b71c1c;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(211, 47, 47, 0.5);
}

/* Elementos flotantes dentro del hero */
.talleres-hero-float {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.talleres-float-item {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: default;
  animation: floatHorizontal 4s ease-in-out infinite;
  padding-right: 20px;
}

.talleres-float-item:nth-child(1) { animation-delay: 0s; }
.talleres-float-item:nth-child(2) { animation-delay: 1.3s; }
.talleres-float-item:nth-child(3) { animation-delay: 2.6s; }

@keyframes floatHorizontal {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-12px); }
}

.talleres-float-item i {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #7eb3ff;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: floatIcon 3s ease-in-out infinite;
}

.talleres-float-item:nth-child(1) i { animation-delay: 0s; }
.talleres-float-item:nth-child(2) i { animation-delay: 1s; }
.talleres-float-item:nth-child(3) i { animation-delay: 2s; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.talleres-float-item:hover i {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.talleres-float-item:nth-child(2) i {
  background: rgba(211, 47, 47, 0.2);
  color: #ff8a80;
}

.talleres-float-item:nth-child(2):hover i {
  background: rgba(211, 47, 47, 0.35);
}

.talleres-float-item:nth-child(3) i {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.talleres-float-item:nth-child(3):hover i {
  background: rgba(255, 255, 255, 0.22);
}

.talleres-float-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.talleres-float-item strong {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.talleres-float-item span {
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* Grid Header */
.talleres-grid-section {
  padding: 90px 20px;
  background: #f8f9fc;
}

.talleres-grid-header {
  text-align: center;
  margin-bottom: 60px;
}

.talleres-grid-header h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #1a2a50;
  margin: 0 0 15px 0;
}

.talleres-grid-line {
  width: 80px;
  height: 4px;
  background: #d32f2f;
  border-radius: 2px;
  margin: 0 auto 20px;
}

.talleres-grid-header p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 17px;
  color: #666;
  margin: 0;
}

/* Cards Grid */
.talleres-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.taller-card {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.taller-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 42, 80, 0.25);
}

.taller-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 42, 80, 0.95) 0%, rgba(26, 42, 80, 0.3) 50%, transparent 100%);
  transition: background 0.4s ease;
}

.taller-card:hover .taller-card-overlay {
  background: linear-gradient(to top, rgba(26, 42, 80, 0.98) 0%, rgba(26, 42, 80, 0.5) 60%, rgba(39, 75, 135, 0.3) 100%);
}

.taller-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
}

.taller-card-icon {
  width: 50px;
  height: 50px;
  background: #d32f2f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.taller-card:hover .taller-card-icon {
  transform: scale(1.1);
}

.taller-card h3 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}

.taller-card p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 12px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.taller-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.taller-card-tag {
  display: inline-block;
  background: rgba(211, 47, 47, 0.9);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Fira Sans', sans-serif;
  letter-spacing: 0.3px;
}

/* Responsive Talleres */
@media (max-width: 900px) {
  .talleres-hero {
    height: 50vh;
    min-height: 350px;
  }

  .talleres-hero-content {
    padding: 0 30px;
    max-width: 100%;
  }

  .talleres-hero-float {
    display: none;
  }

  .talleres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .talleres-hero {
    height: 45vh;
    min-height: 320px;
  }

  .talleres-hero-content {
    padding: 0 20px;
  }

  .talleres-hero-content h1 {
    font-size: 36px;
  }

  .talleres-grid {
    grid-template-columns: 1fr;
  }

  .taller-card {
    height: 280px;
  }

  .talleres-grid-header h2 {
    font-size: 28px;
  }

  .talleres-cta-inner h2 {
    font-size: 26px;
  }
}

/* ════════════════════════════════════════════
   WORKSHOP PAGES — Diseño independiente
   ════════════════════════════════════════════ */

/* Animaciones de entrada */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.workshop-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.workshop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  animation: heroFadeIn 0.6s ease-out both;
}

.workshop-hero-overlay--purple {
  background: linear-gradient(to top, rgba(88, 28, 135, 0.9) 0%, rgba(126, 34, 206, 0.4) 50%, transparent 100%);
}

.workshop-hero-overlay--green {
  background: linear-gradient(to top, rgba(21, 128, 61, 0.9) 0%, rgba(34, 197, 94, 0.4) 50%, transparent 100%);
}

.workshop-hero-overlay--cyan {
  background: linear-gradient(to top, rgba(15, 118, 110, 0.9) 0%, rgba(6, 182, 212, 0.4) 50%, transparent 100%);
}

.workshop-hero-overlay--orange {
  background: linear-gradient(to top, rgba(194, 65, 12, 0.9) 0%, rgba(249, 115, 22, 0.4) 50%, transparent 100%);
}

.workshop-hero-overlay--red {
  background: linear-gradient(to top, rgba(153, 27, 27, 0.9) 0%, rgba(220, 38, 38, 0.4) 50%, transparent 100%);
}

.workshop-hero-inner {
  position: relative;
  z-index: 2;
  padding: 30px 30px 30px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.workshop-hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 320px;
}

.workshop-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  font-family: 'Fira Sans', sans-serif;
  animation: heroSlideUp 0.6s ease-out 0.2s both;
  transition: all 0.3s ease;
}

.workshop-hero-tag:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.workshop-hero-inner h1 {
  font-family: 'Fira Sans', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 10px 0;
  animation: heroSlideUp 0.6s ease-out 0.35s both;
  transition: all 0.3s ease;
}

.workshop-hero-inner h1:hover {
  transform: translateX(5px);
  text-shadow: 0 2px 15px rgba(255, 255, 255, 0.2);
}

.workshop-hero-inner h1 span {
  color: #7eb3ff;
}

.workshop-hero-meta {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  animation: heroSlideUp 0.6s ease-out 0.65s both;
}

.workshop-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  color: #fff;
  transition: all 0.3s ease;
}

.workshop-hero-meta-item:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.workshop-hero-meta-item i {
  font-size: 14px;
}

.workshop-hero-prof {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  width: 260px;
  animation: heroSlideRight 0.7s ease-out 0.5s both;
}

.workshop-hero-prof:hover {
  transform: none !important;
}

.workshop-hero-prof-photo {
  width: 250px !important;
  height: 250px !important;
  object-fit: cover !important;
  border: 4px solid #1a2a50 !important;
  border-radius: 16px !important;
  transform: none !important;
  transition: none !important;
  scale: none !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.workshop-hero-prof-text {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 12px 20px;
  width: 250px;
  text-align: center;
}

.workshop-hero-prof:hover .workshop-hero-prof-photo,
.workshop-hero-prof:hover {
  transform: none !important;
  scale: none !important;
}

.workshop-hero-prof-placeholder {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border: 4px solid #1a2a50;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.workshop-hero-prof:hover .workshop-hero-prof-placeholder {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.55);
}

.workshop-hero-prof-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workshop-hero-prof-label {
  font-family: 'Fira Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workshop-hero-prof-name {
  font-family: 'Fira Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
  transition: color 0.3s ease;
}

.workshop-hero-prof:hover .workshop-hero-prof-name {
  color: #7eb3ff;
}

.workshop-hero-prof-icon {
  display: none;
}

.workshop-hero-inner p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 500px;
  animation: heroSlideUp 0.6s ease-out 0.5s both;
  transition: color 0.3s ease;
}

.workshop-hero-inner p:hover {
  color: rgba(255, 255, 255, 1);
}

/* About */
.workshop-about {
  padding: 70px 20px;
  background: #fff;
}

.workshop-about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.workshop-about-text h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a2a50;
  margin: 0 0 15px 0;
}

.workshop-about-text p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.workshop-about-icon {
  width: 100px;
  height: 100px;
  min-width: 100px;
  background: rgba(39, 75, 135, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #274b87;
}

.workshop-about-icon--purple { background: rgba(126, 34, 206, 0.1); color: #7c3aed; }
.workshop-about-icon--green { background: rgba(21, 128, 61, 0.1); color: #16a34a; }
.workshop-about-icon--cyan { background: rgba(15, 118, 110, 0.1); color: #0d9488; }
.workshop-about-icon--orange { background: rgba(194, 65, 12, 0.1); color: #ea580c; }
.workshop-about-icon--red { background: rgba(220, 38, 38, 0.1); color: #dc2626; }

/* Skills */
.workshop-skills {
  padding: 70px 20px;
  background: #f4f6fb;
}

.workshop-skills-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.workshop-skills-inner h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a2a50;
  margin: 0 0 40px 0;
  text-align: center;
}

.workshop-skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.workshop-skill {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e8ecf3;
}

.workshop-skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(39, 75, 135, 0.1);
}

.workshop-skill i {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 75, 135, 0.1);
  border-radius: 14px;
  margin: 0 auto 16px;
  font-size: 22px;
  color: #274b87;
}

.workshop-skill h4 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a2a50;
  margin: 0 0 8px 0;
}

.workshop-skill p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
  margin: 0;
}

/* Details */
.workshop-details {
  padding: 60px 20px;
  background: #1a2a50;
}

.workshop-details-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.workshop-detail {
  text-align: center;
}

.workshop-detail i {
  font-size: 24px;
  color: #7eb3ff;
  margin-bottom: 12px;
}

.workshop-detail h4 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
}

.workshop-detail p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Responsive Workshop */
@media (max-width: 900px) {
  .workshop-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .workshop-hero-left {
    height: auto;
  }

  .workshop-hero-prof {
    align-self: center;
    margin-top: 10px;
  }

  .workshop-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workshop-about-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .workshop-hero {
    min-height: auto;
  }

  .workshop-hero-inner {
    padding: 30px 20px;
  }

  .workshop-hero-inner h1 {
    font-size: 30px;
  }

  .workshop-hero-inner p {
    font-size: 14px;
  }

  .workshop-hero-meta-item {
    font-size: 12px;
    padding: 6px 12px;
  }

  .workshop-hero-prof {
    width: 100%;
    padding: 24px 20px;
  }

  .workshop-hero-prof-photo,
  .workshop-hero-prof-placeholder {
    width: 160px;
    height: 160px;
    font-size: 45px;
  }

  .workshop-hero-prof {
    width: 200px;
  }

  .workshop-skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════
   CALENDARIO — Página pública
   ════════════════════════════════════════════ */

.cal-hero {
  position: relative;
  height: 29vh;
  min-height: 216px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 42, 80, 0.92) 0%, rgba(39, 75, 135, 0.5) 100%);
}

.cal-hero-inner {
  position: relative;
  z-index: 2;
  padding: 40px 60px;
}

.cal-hero-inner h1 {
  font-family: 'Fira Sans', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 10px 0;
}

.cal-hero-inner h1 span {
  color: #7eb3ff;
}

.cal-hero-inner p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Calendar Container */
.cal-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 50px 30px 80px;
  background: #fff;
  margin-top: -30px;
  position: relative;
  z-index: 3;
}

/* Calendar Header */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e4ea;
}

.cal-header h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a2a50;
  margin: 0;
  min-width: 250px;
  text-align: center;
}

.cal-nav {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fb;
  color: #274b87;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid #e2e7f0;
}

.cal-nav:hover {
  background: #274b87;
  color: #fff;
  border-color: #274b87;
}

/* Layout 60/40 */
.cal-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}

.cal-left {
  flex: 0 0 60%;
  max-width: 60%;
  min-width: 0;
}

.cal-right {
  flex: 0 0 38%;
  max-width: 38%;
  min-width: 0;
}

/* Calendar Grid */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 25px;
}

.cal-dayname {
  text-align: center;
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #9aa3b4;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  border: 1px solid #eef1f6;
  cursor: default;
  transition: all 0.2s ease;
  position: relative;
}

.cal-cell:hover {
  background: #e8eefc;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(39, 75, 135, 0.1);
}

.cal-cell--empty {
  background: transparent;
  border: none;
  cursor: default;
}

.cal-cell--empty:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.cal-cell--today {
  background: #274b87;
  border-color: #274b87;
}

.cal-cell--today .cal-day-num {
  color: #fff;
  font-weight: 800;
}

.cal-cell--weekend {
  background: #f0f2f7;
}

.cal-cell--weekend .cal-day-num {
  color: #9aa3b4;
}

.cal-cell--feriado {
  background: #fef2f2;
  border-color: #fecaca;
}

.cal-cell--feriado .cal-day-num {
  color: #dc2626;
  font-weight: 800;
}

.cal-cell--has-event:hover {
  box-shadow: 0 4px 12px rgba(39, 75, 135, 0.15);
}

.cal-day-num {
  font-family: 'Fira Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  z-index: 2;
}

.cal-feriado-bar {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 4px;
  background: #dc2626;
}

.cal-event-bars {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  z-index: 1;
}

.cal-event-bar {
  width: 20px;
  height: 4px;
  border-radius: 2px;
}

/* Legend */
.cal-legend {
  margin-bottom: 20px;
}

.cal-legend h3 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a2a50;
  margin: 0 0 12px 0;
}

.cal-legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  color: #555;
}

.cal-legend-dot {
  width: 10px;
  height: 10px;
}

/* Tooltip */
.cal-tooltip {
  position: fixed;
  background: #1a2a50;
  color: #fff;
  padding: 10px 16px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cal-tooltip.active {
  opacity: 1;
}

/* Sidebar */
.cal-sidebar {
  background: #f8f9fc;
  border: 1px solid #e0e4ea;
  padding: 25px 0;
  position: sticky;
  top: 100px;
}

.cal-sidebar h3 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a2a50;
  margin: 0 0 20px 0;
  padding: 0 25px 18px 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e0e4ea;
}

.cal-sidebar h3 i {
  color: #274b87;
}

.cal-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 520px;
  overflow-y: auto;
}

.cal-sidebar-list::-webkit-scrollbar {
  width: 4px;
}

.cal-sidebar-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
}

.cal-sidebar-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 25px;
  background: #fff;
  transition: background 0.2s ease;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #eef1f6;
}

.cal-sidebar-card:last-child {
  border-bottom: none;
}

.cal-sidebar-card:hover {
  background: #f0f4ff;
}

.cal-sidebar-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.cal-sidebar-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 42px;
  background: #f4f6fb;
  padding: 8px 6px;
}

.cal-sidebar-day {
  font-family: 'Fira Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1a2a50;
  line-height: 1;
}

.cal-sidebar-month {
  font-family: 'Fira Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
}

.cal-sidebar-info {
  flex: 1;
  min-width: 0;
}

.cal-sidebar-cat {
  font-family: 'Fira Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cal-sidebar-info h4 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a2a50;
  margin: 2px 0 4px 0;
  line-height: 1.3;
}

.cal-sidebar-info p {
  font-family: 'Fira Sans', sans-serif;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  margin: 0;
}

.cal-no-events {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  color: #999;
  text-align: center;
  padding: 30px 25px;
  background: #fff;
}

/* Modal */
.cal-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cal-modal.active {
  display: flex;
}

.cal-modal-content {
  background: #fff;
  padding: 35px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cal-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f4f6fb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cal-modal-close:hover {
  background: #dc2626;
  color: #fff;
}

.cal-modal-content h3 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a2a50;
  margin: 0 0 8px 0;
  padding-right: 30px;
}

.cal-modal-date {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  color: #274b87;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.cal-modal-desc {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Calendar */
@media (max-width: 900px) {
  .cal-layout {
    flex-direction: column;
  }

  .cal-left, .cal-right {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .cal-sidebar {
    position: static;
  }

  .cal-sidebar-list {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .cal-hero {
    height: 35vh;
    min-height: 250px;
  }

  .cal-hero-inner {
    padding: 30px 20px;
  }

  .cal-cell {
    border-radius: 0;
  }

  .cal-day-num {
    font-size: 13px;
  }

  .cal-header h2 {
    font-size: 22px;
    min-width: auto;
  }

  .cal-container {
    padding: 30px 15px 60px;
    margin-top: -20px;
  }
}

@media (max-width: 500px) {
  .cal-grid {
    gap: 3px;
  }

  .cal-cell {
    border-radius: 0;
  }

  .cal-event-bar {
    width: 16px;
    height: 3px;
  }

  .cal-dot {
    width: 4px;
    height: 4px;
  }

  .cal-legend-items {
    gap: 12px;
  }
}
