/*=============== GOOGLE LETRAS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --header-height: 3.5rem;
 
  --first-color: hsl(355, 68%, 54%);
  --first-color-lighten: hsl(0, 3%, 14%);

  --title-color1:hsl(240, 3%, 12%);
  --title-color: hsl(0, 0%, 100%);
  --text-color: hsl(220, 12%, 45%);
  --body-color: hsl(0, 0%, 100%);

 
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  
  --font-medium: 500;
  --font-semi-bold: 600;

  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  
}

body{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}
p{
  font-size: 20px;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.logo-img {
    height: 50px; 
    margin-right: 8px; 
    vertical-align: middle; 
  }
/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px hsla(1220, 68%, 12%, 0.1);
  background-color: var(--body-color);
  z-index: var(--z-fixed);
}




/*=============== NAV ===============*/

.nav {
  height: var(--header-height);
}
.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
  
}
.nav__logo i {
  font-size: 1.25rem;
}
.nav__logo:hover {
  color: var(--first-color);
}
.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}
.nav__toggle-menu, .nav__toggle-close {
  font-size: 1.25rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}
.nav__toggle-close {
  opacity: 0;
}
@media screen and (max-width: 1118px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }
}
.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}
.nav__link:hover {
  background-color: var(--first-color-lighten);
}

.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}


.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}
.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}
.dropdown__content, .dropdown__group, .dropdown__list {
  display: grid;
}
.dropdown__container {
  background-color: var(--first-color-lighten);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}
.dropdown__content {
  row-gap: 1.75rem;
}
.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}
.dropdown__group:first-child {
  margin-top: 1.25rem;
}
.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}
.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--first-color);
}
.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.dropdown__list {
  row-gap: 0.25rem;
}
.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s;
}
.dropdown__link:hover {
  color: var(--title-color);
  
}


.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/

@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}

@media screen and (min-width: 1118px) {

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }
  .nav li {
    display: flex;
  }
  .nav__link {
    padding: 0;
  }
  .nav__link:hover {
    background-color: initial;
  }
  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
    
  }
  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 5.5rem;
    background-color: var(--body-color);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }
  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }
  .dropdown__group:first-child, .dropdown__group:last-child {
    margin: 0;
  }
  .dropdown__list {
    row-gap: 0.75rem;
  }
  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
  }
  .dropdown__icon i {
    font-size: 2rem;
  }
  .dropdown__title {
    font-size: var(--normal-font-size);
  }
  .dropdown__link {
    font-size: var(--small-font-size);
  }
  .dropdown__link:hover {
    color: var(--first-color);
  }
  .dropdown__item {
    cursor: pointer;
  }
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }
  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}
@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}


#toggle {
    position: absolute;
    top: -100px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    nav .list {
        flex-wrap: wrap;
        justify-content: center;
    }

    body {
        padding-top: 50px;
    }
}

section {
    padding: 80px 13% 70px;
}




  .header {
    background-color: #7A1F1F;
  }
/*FOOTER */
.footer-cetis155 {
  background-color: #2d2f36;
  color: #e0e0e0;
  padding: 60px 0 30px;
  font-family: "Montserrat", sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
}

.footer-logo span {
  color: #b44343;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 0;
}

.footer-links li {
  opacity: 0;
  transform: translateY(20px);
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff4b4b;
  ;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.social-icons a:hover {
  background-color: rgba(74, 144, 226, 0.2);
  color: #e24a4a;
  transform: translateY(-3px);
}

.copyright {
  font-size: 14px;
  color: #888;
  opacity: 0;
  transform: translateY(20px);
}

















































/* Versión móvil */

  @media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 70px;
    width: 100%;
    max-height: 0; 
    overflow: hidden;
    background-color: #7A1F1F;
    transition: max-height 0.3s ease-in-out;
  }

  .show-menu {
    max-height: 500px; 
    overflow-y: auto;
  }

  

  .dropdown__container {
    background-color: #fdfdfd;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  
  .dropdown-open .dropdown__container {
    height: auto;
  }
  
  .dropdown__content {
    padding: 0 20px;
  }
  
  .dropdown__group {
    padding: 15px 0;
  }
  
  .dropdown__title {
    color: #7A1F1F;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
  }
  
  .dropdown__link {
    color: #333;
    padding: 8px 15px;
    display: block;
  }
}
@media screen and (max-width: 500px) {
  .hero-pro__content {
    position: absolute;
    left: 0;
    top: 200px;
    width: 100%;
    height: auto;
    overflow: visible; 
    padding: 20px; 
    transition: height 0.7s ease;
  }

  .hero-pro__content h1, .hero-pro__content p {
    font-size: 50px; 
    word-wrap: break-word; 
    text-align: center; 
  }
}






 h1 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 25px;
            font-size: 24px;
            padding: 10px;
            border-bottom: 2px solid #7A1F1F;
            display: inline-block;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
       .subject-section {
    width: 100%;
    min-width: 300px; 
    max-width: 800px; 


    align-items: center;
     margin-bottom: 30px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            overflow: hidden;
            
      

}

           
       
        .subject-header {
            background-color: #7A1F1F;
            color: white;
            padding: 12px 15px;
            font-size: 18px;
            font-weight: 600;
          

        }
        .styled-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }
        .styled-table th {
            background-color: #5a1616;
            color: white;
            padding: 12px 15px;
            text-align: left;
            font-weight: 600;
        }
        .styled-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #eaeaea;
            vertical-align: middle;
        }
        .styled-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        .styled-table tr:hover {
            background-color: #f1f1f1;
        }
        .styled-table a {
            display: inline-block;
            background-color: #7A1F1F;
            color: white;
            text-decoration: none;
            padding: 6px 12px;
            border-radius: 4px;
            font-weight: 500;
            transition: all 0.3s;
        }
        .styled-table a:hover {
            background-color: #5a1616;
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        /* Columnas específicas */
        .styled-table th:nth-child(1),
        .styled-table td:nth-child(1) {
            width: 25%;
           text-align: center;
        }
        .styled-table th:nth-child(2),
        .styled-table td:nth-child(2) {
            width: 60%;
            text-align: center;
        }
        .styled-table th:nth-child(3),
        .styled-table td:nth-child(3) {
            width: 15%;
            text-align: center;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .styled-table {
                display: block;
                overflow-x: auto;
            }
            .styled-table th, 
            .styled-table td {
                padding: 8px 10px;
                font-size: 13px;
            }
        }






        




 .floating-windows {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        .main-circle-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #7A1F1F;
            color: white;
            border: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: all 0.3s ease;
        }
        
        .main-circle-btn:hover {
            background: #7A1F1F;
            transform: scale(1.1);
        }
        
        .circle-options {
            position: absolute;
            bottom: 60px;
            right: 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
            pointer-events: none;
        }
        
        .circle-option {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            text-decoration: none;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            transform: scale(0);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .circle-option:hover {
            transform: scale(1.1) !important;
        }
        
        .whatsapp { background: #25D366; }
        .instagram { background: #7A1F1F; }
        .facebook { background: #1877F2; }
        .twitter { background: #1DA1F2; }
        .tiktok { background: #000000; }
        
        /* Animación cuando está abierto */
        .show-circle-options .circle-option {
            pointer-events: auto;
            transform: scale(1);
            opacity: 1;
        }
        
        /* Animaciones individuales con delays */
        .show-circle-options .circle-option:nth-child(1) {
            transition-delay: 0.1s;
        }
        .show-circle-options .circle-option:nth-child(2) {
            transition-delay: 0.2s;
        }
        .show-circle-options .circle-option:nth-child(3) {
            transition-delay: 0.3s;
        }
        .show-circle-options .circle-option:nth-child(4) {
            transition-delay: 0.4s;
        }
        .show-circle-options .circle-option:nth-child(5) {
            transition-delay: 0.5s;
        }