@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --cch-turquoise: #03b8d6;
  --cch-dark: #14213d;
  --cch-gray: #f2f4f7;
  --cch-accent: #ffc400;
  --cch-pink: #d42675;
  --cch-green: #058b70;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--cch-gray);
  color: #222;
}

.cch-front {
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}

.cch-topbar {
  background: var(--cch-turquoise);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
  flex-wrap: wrap;
  gap: 1rem;
}

.cch-topbar__brand {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.cch-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cch-brand img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.cch-brand__title {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
}

.cch-topbar__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cch-utility-list,
.cch-social-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.cch-utility-list a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.cch-social-list img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.cch-main-nav {
  background: #f8f8f8;
  border-bottom: 4px solid #e2e2e2;
}

.cch-main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0.8rem 5vw;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.cch-main-nav a {
  text-decoration: none;
  color: #555;
}

.cch-main-nav a:hover,
.cch-main-nav a:focus {
  color: var(--cch-turquoise);
}

.cch-hero {
  padding: 20px 5vw 40px;
  background: #e1edf4;
}

.slider-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

#cch-front-slider img {
  width: 100%;
  height: auto;
}

.nivo-controlNav a {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: inline-block;
  margin: 0 6px;
  text-indent: -9999px;
}

.nivo-controlNav a.active {
  background: var(--cch-accent);
}

.nivo-directionNav a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.cch-section {
  padding: 60px 5vw;
}

.cch-section:nth-of-type(even) {
  background: #f9fbfd;
}

.cch-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cch-section__heading h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem;
  margin: 0;
  color: var(--cch-dark);
}

.cch-section__intro {
  margin: 0;
  color: #666;
}

.cch-link-more {
  font-weight: 600;
  color: var(--cch-turquoise);
  text-decoration: none;
}

.cch-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--cch-accent);
  color: #222;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.cch-planteles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.cch-plantel {
  background: #fff;
  border-radius: 12px;
  border-bottom: 5px solid var(--cch-turquoise);
  padding: 20px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.cch-plantel img {
  max-height: 90px;
  margin-bottom: 10px;
}

.cch-plantel__links a {
  display: block;
  color: var(--cch-turquoise);
  text-decoration: none;
  font-weight: 600;
  margin: 6px 0;
}

.cch-comunidad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.cch-comunidad-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.cch-comunidad-card img {
  width: 100%;
  display: block;
}

.cch-comunidad-card__body {
  padding: 18px;
}

.cch-comunidad-card__body time {
  font-size: 0.85rem;
  color: #777;
  display: block;
  margin-bottom: 6px;
}

.cch-comunidad-card__body a {
  text-decoration: none;
  color: var(--cch-dark);
  font-weight: 700;
}

.cch-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.cch-link-list__group {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.cch-link-list__group h3 {
  font-family: 'Quicksand', sans-serif;
  margin-top: 0;
}

.cch-link-list__group ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.cch-link-list__group a {
  color: #444;
  text-decoration: none;
  font-weight: 600;
}

.cch-link-list__group a:hover {
  color: var(--cch-turquoise);
}

.cch-gaceta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
  background: #023047;
  color: #fff;
  border-radius: 16px;
  padding: 30px;
}

.cch-gaceta__cover img {
  border-radius: 12px;
  width: 100%;
  display: block;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cch-medios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  align-items: center;
}

.cch-medio {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.cch-medio img {
  max-height: 60px;
  width: auto;
}

.cch-interest-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.cch-interest-links a {
  background: var(--cch-green);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.cch-footer {
  background: var(--cch-dark);
  color: #fff;
  text-align: center;
  padding: 25px 5vw;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .cch-main-nav ul {
    justify-content: flex-start;
  }

  .cch-utility-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .cch-brand img {
    height: 52px;
  }
}

.cch-medios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.cch-medios-grid a {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: block;
}

.cch-medios-grid img {
  max-width: 120px;
  max-height: 70px;
}

.cch-gaceta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.cch-gaceta__cover img {
  width: 260px;
  border-radius: 18px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.cch-gaceta__cta {
  flex: 1;
}

.cch-interest-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  text-decoration: none;
  margin-right: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cch-hero__slide {
    flex-basis: 90%;
  }
  .cch-gaceta {
    flex-direction: column;
  }
}
