@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* --- Variables de Colores --- */
:root {
  --deepBlack: #0d1221;
  --prussianBlue: #1d2d44;
  --payneGrey: #3e5c76;
  --blueSilverLake: #748CAB;
  --eggShell: #f0ebd8;
  --deepSkyBlue: #008CBA;
  --darkGray: #333333;
  --headerBackground: #0E2954;
  --menuLinkColor: #B4C0D4;
  --heroGradientStart: #001f3f;
  --heroGradientEnd: #003366;
  --heroSubtitleColor: #ADD8E6;
  --highlightYellow: #FFD700;
  --subtituloColor: #E0E0E0;
  --sectionBackground: #1a3a60;
  --mainTextColor: #f0f0f0;
  --secondaryTextColor: #ADD8E6;
  --tertiaryTextColor: #cccccc;
  --imageBorderColor: #008CBA;
  --opinionCardBackground: #0E223D;
  --footerBackground: #0E223D;
  --buttonPrimary: #007bff;
  --buttonPrimaryHover: #0056b3;
  --bubbleBackground: #1d2d44;
  --bubbleBorderHover: #008CBA;
}

/* --- Reseteo y Estilos Globales --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  border: none;
  outline: none;
  transition: .2s linear;
  color: var(--eggShell);
  font-size: 1rem;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--deepBlack);
}

/* --- Header Styles --- */
header {
  background-color: var(--headerBackground);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
  height: 100px;
}

.logo-izquierdo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 60px;
}

.logo-izquierdo img {
  height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-mobile {
  display: none;
}

.logo-desktop {
  display: block;
}

.logo-capitt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-capitt img {
  height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.inicio {
  font-size: 0.7rem;
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 60px;
}

.menu-opciones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.menu-opciones li {
  margin-left: 0;
  position: relative;
}

.menu-opciones li a {
  color: var(--menuLinkColor);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0px;
  display: block;
  transition: color 0.3s ease;
}

.menu-opciones li a:hover {
  color: var(--eggShell);
}

.menu-opciones li a i {
  margin-left: 5px;
  font-size: 0.8rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--headerBackground);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 220px;
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.submenu li {
  margin: 0;
}

.submenu li a {
  color: var(--menuLinkColor);
  padding: 8px 20px;
  display: block;
  white-space: nowrap;
  font-size: 1rem;
}

.submenu li a:hover {
  background-color: var(--prussianBlue);
  color: var(--eggShell)
}

/* Estilos para el ícono de hamburguesa */
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--menuLinkColor);
}

.has-submenu:hover .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.has-submenu:hover>a i {
  transform: rotate(180deg);
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--menuLinkColor);
}

.fullscreen-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-menu li {
  margin: 25px 0;
}

.fullscreen-menu a {
  color: var(--eggShell);
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fullscreen-menu a:hover {
  color: var(--highlightYellow);
}

.menu-close-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: var(--eggShell) !important;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 99999;
}

.menu-close-icon:hover {
  color: var(--deepSkyBlue) !important;
}

.hero {
  background: linear-gradient(135deg, var(--heroGradientStart) 0%, var(--heroGradientEnd) 100%);
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.hero .contenedor {
  position: relative;
  z-index: 1;
}

.hero .titulo_principal {
  font-size: 2rem;
  font-weight: 700;
  color: var(--highlightYellow);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .texto,
.hero .subtitulo_1 {
  font-size: 1.3rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero .linea {
  width: 120px;
  height: 2px;
  background: var(--eggShell);
  margin: 18px auto 20px;
}

.seccion-citas {
  background-color: var(--sectionBackground);
  padding: 50px 20px 70px;
  min-height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.citas-card {
  background-color: var(--prussianBlue);
  border-radius: 12px;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background-color 0.4s ease-out;
  padding: 40px 44px;
  width: 100%;
  border: 1px solid var(--prussianBlue);
  max-width: 820px;
  transition: all 0.3s ease;
}

.citas-card:hover {
  transform: translateY(-10px);
  border-color: var(--bubbleBorderHover);
}

.citas-card h2 {
  font-size: 1.5rem;
  color: var(--eggShell);
  font-weight: 700;
  margin-bottom: 6px;
}

.citas-card .subtitulo-form {
  color: var(--eggShell);
  margin-bottom: 28px;
  line-height: 1.55;
}

.citas-card .subtitulo-form strong {
  color: var(--highlightYellow);
}

.divisor {
  border: none;
  border-top: 1px solid var(--payneGrey);
  margin: 20px 0 24px;
  border: none;
  border-top: 1px solid var(--payneGrey);
  margin: 20px 0 24px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--eggShell);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group label .req {
  color: var(--highlightYellow);
  margin-left: 2px;
}

.input-institucional {
  width: 100%;
  padding: 11px 14px;
  background-color: var(--deepBlack);
  border: 1px solid var(--payneGrey);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--eggShell);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.input-institucional::placeholder {
  color: var(--blueSilverLake);
  opacity: 0.7;
}

.input-institucional:focus {
  border-color: var(--deepSkyBlue);
  box-shadow: 0 0 0 3px rgba(0, 140, 186, 0.18);
  outline: none;
}

textarea.input-institucional {
  resize: vertical;
  min-height: 100px;
  font-family: 'Roboto', sans-serif;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--blueSilverLake);
  margin-top: 5px;
  display: block;
}

.calendar-toolbar-ext {
  margin-bottom: 4px;
}
.calendar-toolbar-ext .fc-header-toolbar {
  padding: 10px 14px;
  margin: 0;
}

.calendar-wrapper {
  background-color: var(--deepBlack);
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--payneGrey);
  border-top: none;
  margin-bottom: 10px;
}

.calendar-wrapper #calendar,
.calendar-wrapper .fc {
  width: 100%;
}

.fc {
  color: var(--eggShell);
}

.fc .fc-toolbar-title,
.calendar-toolbar-ext .fc-toolbar-title {
  color: var(--eggShell);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: capitalize;
}

.fc .fc-button-primary,
.calendar-toolbar-ext .fc-button-primary {
  background-color: var(--deepSkyBlue) !important;
  border-color: var(--deepSkyBlue) !important;
  color: var(--eggShell) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 1rem !important;
  text-transform: capitalize !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease !important;
  opacity: 1 !important;
  margin-left: 1rem;
}

.fc .fc-button-primary:hover,
.calendar-toolbar-ext .fc-button-primary:hover {
  background-color: var(--buttonPrimaryHover) !important;
  border-color: var(--buttonPrimaryHover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.fc .fc-button-primary:disabled,
.calendar-toolbar-ext .fc-button-primary:disabled {
  background-color: var(--payneGrey) !important;
  border-color: var(--payneGrey) !important;
  opacity: 0.6 !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active,
.calendar-toolbar-ext .fc-button-primary:not(:disabled).fc-button-active,
.calendar-toolbar-ext .fc-button-primary:not(:disabled):active {
  background-color: var(--buttonPrimaryHover) !important;
  border-color: var(--buttonPrimaryHover) !important;
}

.fc .fc-icon,
.calendar-toolbar-ext .fc-icon {
  color: var(--eggShell) !important;
}

.fc .fc-col-header-cell {
  background-color: var(--deepSkyBlue);
  padding: 8px 0;
}

.fc .fc-col-header-cell-cushion {
  color: var(--eggShell);
  text-decoration: none !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.fc .fc-daygrid-day-number {
  color: var(--blueSilverLake);
  font-weight: 700;
  padding: 8px;
}

.fc .fc-day-today {
  background-color: rgba(0, 140, 186, 0.15) !important;
}

.fc .fc-daygrid-day:hover {
  background-color: rgba(62, 92, 118, 0.4);
  cursor: pointer;
}

.fc-non-selectable-day {
  background-color: rgba(13, 18, 33, 0.5) !important;
  color: var(--payneGrey) !important;
  cursor: not-allowed !important;
  opacity: 0.5;
}

.fc-day-past .fc-daygrid-day-number {
  color: var(--payneGrey);
}

#selection-display {
  font-size: 0.88rem;
  color: var(--deepSkyBlue);
  font-weight: 700;
  margin-top: 10px;
  min-height: 1.4em;
}

#time-selector-area {
  display: none;
  padding: 14px;
  background-color: var(--deepBlack);
  border-radius: 8px;
  border: 1px solid var(--payneGrey);
}

#time-selector-area strong {
  font-size: 0.9rem;
  color: var(--eggShell);
  display: block;
}

.time-slot-btn {
  margin: 5px;
  padding: 9px 18px;
  background-color: var(--deepSkyBlue);
  color: var(--eggShell);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.2s, transform 0.15s;
}

.time-slot-btn:hover {
  background-color: #006fa3;
  transform: translateY(-1px);
}

.time-slot-disabled {
  margin: 5px;
  padding: 9px 18px;
  background-color: var(--payneGrey);
  color: var(--blueSilverLake);
  border: none;
  border-radius: 5px;
  cursor: not-allowed;
  font-size: 0.9rem;
  opacity: 0.6;
}

#btn-volver-calendario {
  margin-bottom: 14px;
  padding: 6px 14px;
  background-color: var(--payneGrey);
  color: var(--eggShell);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#btn-volver-calendario:hover {
  background-color: var(--blueSilverLake);
}

.sin-horas {
  color: #e57373;
  font-size: 0.88rem;
  margin-top: 8px;
}

#response-message {
  display: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.92rem;
  margin: 18px 0;
  font-weight: 500;
  line-height: 1.5;
}

#response-message.msg-success {
  background-color: rgba(40, 167, 69, 0.18);
  color: #6fffe9;
  border: 1px solid rgba(40, 167, 69, 0.4);
}

#response-message.msg-error {
  background-color: rgba(220, 53, 69, 0.18);
  color: #ff8a80;
  border: 1px solid rgba(220, 53, 69, 0.4);
}

#response-message.msg-neutral {
  background-color: rgba(116, 140, 171, 0.18);
  color: var(--blueSilverLake);
  border: 1px solid var(--payneGrey);
}

/* ── Botón de envío institucional ── */
.btn-cita-submit {
  width: 100%;
  padding: 14px 20px;
  background-color: var(--deepSkyBlue);
  color: var(--eggShell);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.25s, transform 0.15s;
}

.btn-cita-submit:hover:not(:disabled) {
  background-color: #006fa3;
  transform: translateY(-1px);
}

.btn-cita-submit:disabled {
  background-color: var(--payneGrey);
  cursor: not-allowed;
  opacity: 0.7;
}

.nota-horario {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: rgba(0, 140, 186, 0.1);
  border-left: 3px solid var(--deepSkyBlue);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--blueSilverLake);
  line-height: 1.55;
}

.info {
  color: var(--eggShell);
}

.info strong,
.info em {
  color: var(--highlightYellow);
}

.contenedor_footer {
  background-color: var(--footerBackground);
  color: var(--eggShell);
  padding: 30px 20px;
  text-align: center;
}

/* Las reglas de font-size han sido movidas a las media queries */
.contenedor_footer .titulo_footer {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--eggShell);
}

.contenedor_footer .info_contacto {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--tertiaryTextColor);
}

.contenedor_footer .logo_footer {
  margin-bottom: 20px;
}

.contenedor_footer .logo_footer img {
  max-width: 80px;
  height: auto;
}

.contenedor_footer .linea_footer {
  width: 80%;
  height: 1px;
  background-color: var(--deepSkyBlue);
  margin: 20px auto;
}

.contenedor_footer .copyright {
  font-size: 0.8rem;
  color: var(--deepSkyBlue);
}

/* Días no disponibles (que no son martes ni jueves o están llenos) */
.fc-non-selectable-day {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #999 !important;
  cursor: not-allowed !important;
}

@media(min-width: 1025px) {
  header {
    padding: 5px 2% !important;
    /* Optimización de espacio lateral */
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
    /* Reducción para acomodar zoom */
  }

  .logo-desktop {
    display: block !important;
  }

  .logo-mobile {
    display: none !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: 200px !important;
  }

  .menu-opciones {
    gap: 15px !important;
    /* Reducción de gap entre elementos */
  }

  .menu-opciones li a {
    color: var(--menuLinkColor);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 5px 0px;
    display: block;
    transition: color 0.3s ease;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.4rem !important;
    line-height: 1.3;
  }

  .subtitulo {
    font-size: 1.2rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
  }

  .seccion-citas {
    padding: 30px 20px 50px;
    min-height: calc(100vh - 100px);
  }

  .citas-card {
    padding: 30px 34px;
  }

  .citas-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .citas-card .subtitulo-form {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .input-institucional {
    padding: 10px 12px;
    font-size: 1rem;
  }

  .field-hint {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }

  .toolbar-ext .fc-toolbar-title {
    font-size: 1rem;
  }

  #selection-display {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .calendar-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calendar-wrapper .fc {
    min-width: 600px;
  }

  .btn-cita-submit {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
  }

  .nota-horario {
    margin-top: 1.5rem;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

/* --- Soporte preventivo para Zoom (1150px) --- */
@media (max-width: 1150px) {
  nav .menu-opciones {
    display: none !important;
  }

  .menu-icon {
    display: block !important;
  }

  /* Asegurar que el menú responsive funcione desde aquí */
  .fullscreen-menu {
    display: none;
    /* Se activa por JS */
  }
}

@media(max-width: 1024px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: 500px !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }

  .subtitulo {
    font-size: 1rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
  }

  .hero br {
    display: none;
  }
  
    .seccion-citas {
    padding: 30px 20px 50px;
    min-height: calc(100vh - 100px);
  }

  .citas-card {
    padding: 30px 34px;
  }

  .citas-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .citas-card .subtitulo-form {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .input-institucional {
    padding: 10px 12px;
    font-size: 1rem;
  }

  .field-hint {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }

  .toolbar-ext .fc-toolbar-title {
    font-size: 1rem;
  }

  #selection-display {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .calendar-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calendar-wrapper .fc {
    min-width: 600px;
  }

  .btn-cita-submit {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
  }

  .nota-horario {
    margin-top: 1.5rem;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

@media(max-width: 768px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 20px 15px !important;
    min-height: 200px !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }

  .subtitulo {
    font-size: 1rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
    text-align: justify;
  }

  .seccion-citas {
    padding: 30px 20px 50px;
    min-height: calc(100vh - 100px);
  }

  .citas-card {
    padding: 30px 34px;
  }

  .citas-card h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .citas-card .subtitulo-form {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .input-institucional {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .field-hint {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }

  .toolbar-ext .fc-toolbar-title {
    font-size: 1rem;
  }

  #selection-display {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  .calendar-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calendar-wrapper .fc {
    min-width: 600px;
  }

  .btn-cita-submit {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
  }

  .nota-horario {
    margin-top: 1.5rem;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

@media(max-width: 480px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 20px 15px !important;
    min-height: 200px !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }

  .subtitulo {
    font-size: 1rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
    text-align: justify;
  }

  .seccion-citas {
    padding: 30px 20px 50px;
    min-height: calc(100vh - 100px);
  }

  .citas-card {
    padding: 30px 34px;
  }

  .citas-card h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .citas-card .subtitulo-form {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .input-institucional {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .field-hint {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }

  .toolbar-ext .fc-toolbar-title {
    font-size: 1rem;
  }

  #selection-display {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  .calendar-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calendar-wrapper .fc {
    min-width: 600px;
  }

  .btn-cita-submit {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
  }

  .nota-horario {
    margin-top: 1.5rem;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}